drbd: Use seq_putc() once more in drbd_syncer_progress()
Roland Kammerer
AppliedQuoted 24 lines · On Mon, May 01, 2017 at 08:18:20PM +0200, [email protected] wrote:
From: SF Markus Elfring <[email protected]>
Subject: [PATCH] drbd: Useseq_putc()once more indrbd_syncer_progress()
Date: Mon, 1 May 2017 20:12:58 +0200
User-Agent: Mozilla/5.0 (X11; Linuxx86_64; rv:52.0) Gecko/20100101
Thunderbird/52.0.1From: Markus Elfring <[email protected]>
Date: Mon, 1 May 2017 20:05:08 +0200A 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 +0
-0
drivers/block/drbd/drbd_proc.c static void drbd_syncer_progress(struct drbd_device *device, struct seq_file *se · line 133
Quoted 8 lines
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 )
Thanks, applied internally, will be upstream eventually.
Regards, rck