The patch titled Subject: closures: use seq_putc() in debug_show() has been added to the -mm mm-nonmm-unstable branch. Its filename is closures-use-seq_putc-in-debug_show.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/closures-use-seq_putc-in-debug_show.patch This patch will later appear in the mm-nonmm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> Subject: closures: use seq_putc() in debug_show() Date: Sun, 14 Jul 2024 19:15:09 +0200 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@xxxxxx Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> Cc: Kent Overstreet <kent.overstreet@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- lib/closure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/lib/closure.c~closures-use-seq_putc-in-debug_show +++ a/lib/closure.c @@ -278,7 +278,7 @@ static int debug_show(struct seq_file *f seq_printf(f, " W %pS\n", (void *) cl->waiting_on); - seq_puts(f, "\n"); + seq_putc(f, '\n'); } spin_unlock_irq(&closure_list_lock); _ Patches currently in -mm which might be from elfring@xxxxxxxxxxxxxxxxxxxxx are dyndbg-use-seq_putc-in-ddebug_proc_show.patch closures-use-seq_putc-in-debug_show.patch