diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2024-07-14 19:15:09 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-09-01 20:43:29 -0700 |
commit | fbe617af697c336db7630762158127eaa5a1d223 (patch) | |
tree | acd6610625c4506cd85fbbdb9a08aa8851554d66 /lib/closure.c | |
parent | 7b76689a021d19a016310bd5da35450641b67966 (diff) | |
download | linux-stable-fbe617af697c336db7630762158127eaa5a1d223.tar.gz linux-stable-fbe617af697c336db7630762158127eaa5a1d223.tar.bz2 linux-stable-fbe617af697c336db7630762158127eaa5a1d223.zip |
closures: use seq_putc() in debug_show()
A single line break should be put into a sequence. Thus use the
corresponding function "seq_putc".
This issue was transformed by using the Coccinelle software.
Link: https://lkml.kernel.org/r/e7faa2c4-9590-44b4-8669-69ef810277b1@web.de
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/closure.c')
-rw-r--r-- | lib/closure.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/closure.c b/lib/closure.c index 116afae2eed9..2bfe7d2a0048 100644 --- a/lib/closure.c +++ b/lib/closure.c @@ -278,7 +278,7 @@ static int debug_show(struct seq_file *f, void *data) seq_printf(f, " W %pS\n", (void *) cl->waiting_on); - seq_puts(f, "\n"); + seq_putc(f, '\n'); } spin_unlock_irq(&closure_list_lock); |