Skip to contentSkip to conversation

fs-proc-use-seq_putc-in-show_console_dev.patch removed from -mm tree

merged [email protected] 1 participant 1 message Feb 7, 2018

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: fs/proc/consoles.c: use seq_putc() in show_console_dev()
has been removed from the -mm tree. Its filename was
fs-proc-use-seq_putc-in-show_console_dev.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Markus Elfring <[email protected]>
Subject: fs/proc/consoles.c: use seq_putc() in show_console_dev()

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.

---

 fs/proc/consoles.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
fs/proc/consoles.c renamed from fs/proc/consoles.c~fs-proc-use-seq_putc-in-show_console_dev +0 -1
diff -puN fs/proc/consoles.c~fs-proc-use-seq_putc-in-show_console_dev 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");