The patch titled Subject: fs/proc/consoles.c: use seq_putc() in show_console_dev() has been added to the -mm tree. Its filename is fs-proc-use-seq_putc-in-show_console_dev.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/fs-proc-use-seq_putc-in-show_console_dev.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/fs-proc-use-seq_putc-in-show_console_dev.patch 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/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> Subject: fs/proc/consoles.c: use seq_putc() in show_console_dev() Date: Sat, 13 Jan 2018 17:17:59 +0100 A single character (line break) should be put into a sequence. Thus use the corresponding function "seq_putc". This issue was detected by using the Coccinelle software. Link: http://lkml.kernel.org/r/04fb69fe-d820-9141-820f-07e9a48f4635@xxxxxxxxxxxxxxxxxxxxx Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/proc/consoles.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN fs/proc/consoles.c~fs-proc-use-seq_putc-in-show_console_dev fs/proc/consoles.c --- a/fs/proc/consoles.c~fs-proc-use-seq_putc-in-show_console_dev +++ a/fs/proc/consoles.c @@ -55,8 +55,7 @@ static int show_console_dev(struct seq_f if (dev) seq_printf(m, " %4d:%d", MAJOR(dev), MINOR(dev)); - seq_printf(m, "\n"); - + seq_putc(m, '\n'); return 0; } _ Patches currently in -mm which might be from elfring@xxxxxxxxxxxxxxxxxxxxx are fs-proc-use-seq_putc-in-show_console_dev.patch rapidio-delete-an-error-message-for-a-failed-memory-allocation-in-rio_init_mports.patch rapidio-adjust-12-checks-for-null-pointers.patch rapidio-adjust-five-function-calls-together-with-a-variable-assignment.patch rapidio-improve-a-size-determination-in-five-functions.patch rapidio-delete-an-unnecessary-variable-initialisation-in-three-functions.patch rapidio-return-an-error-code-only-as-a-constant-in-two-functions.patch rapidio-move-12-export_symbol_gpl-calls-to-function-implementations.patch rapidio-tsi721_dma-delete-an-error-message-for-a-failed-memory-allocation-in-tsi721_alloc_chan_resources.patch rapidio-tsi721_dma-delete-an-unnecessary-variable-initialisation-in-tsi721_alloc_chan_resources.patch rapidio-tsi721_dma-adjust-six-checks-for-null-pointers.patch score-setup-combine-two-seq_printf-calls-into-one-call-in-show_cpuinfo.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html