Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1719583 > unrolled thread
| Started by | Philipp Reisner <philipp.reisner@linbit.com> |
|---|---|
| First post | 2017-08-24 23:30 +0200 |
| Last post | 2017-08-24 23:30 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 11/17] drbd: A single dot should be put into a sequence. Philipp Reisner <philipp.reisner@linbit.com> - 2017-08-24 23:30 +0200
| From | Philipp Reisner <philipp.reisner@linbit.com> |
|---|---|
| Date | 2017-08-24 23:30 +0200 |
| Subject | [PATCH 11/17] drbd: A single dot should be put into a sequence. |
| Message-ID | <ui7Rn-3tg-9@gated-at.bofh.it> |
From: Markus Elfring <elfring@users.sourceforge.net> Thus use the corresponding function "seq_putc". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Roland Kammerer <roland.kammerer@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com> diff --git a/drivers/block/drbd/drbd_proc.c b/drivers/block/drbd/drbd_proc.c index 8378142..fc0f627 100644 --- a/drivers/block/drbd/drbd_proc.c +++ b/drivers/block/drbd/drbd_proc.c @@ -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) -- 2.7.4
Back to top | Article view | linux.kernel
csiph-web