Skip to contentSkip to conversation

drbd: Use seq_putc() once more in drbd_syncer_progress()

PATCH New SF Markus Elfring 1 participant 1 message May 1, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/block/drbd/drbd_proc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/drbd/drbd_proc.c +1 -1
index 8378142f7a55..fc0f627567fd 100644
@@ -127,7 +127,7 @@ static void drbd_syncer_progress(struct drbd_device *device, struct seq_file *se
 		seq_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