drbd: Use seq_putc() once more in drbd_syncer_progress()
Subsystems (3)
PATCH 1/1 drbd: Use seq_putc() once more in drbd_syncer_progress()
From: Markus Elfring <[email protected]>
Date: Mon, 1 May 2017 20:05:08 +0200
A single dot should be put into a sequence.
Thus use the corresponding function "seq_putc".
This issue was detected by using the Coccinelle software.
Signed-off-by Markus Elfring <[email protected]>
--- drivers/block/drbd/drbd_proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/drbd/drbd_proc.c +1 -1
@@ -127,7 +127,7 @@ static void drbd_syncer_progress(struct drbd_device *device, struct seq_file *seseq_putc (seq,'=' );seq_putc (seq,'>' );for (i =0 ; i < y; i++) -seq_printf (seq,"." ); +seq_putc (seq,'.' );seq_puts (seq,"] " );if (state.conn =C_VERIFY_S || state.conn =C_VERIFY_T )
Signature · 1 line
2.12.2