Skip to contentSkip to conversation

dyndbg-use-seq_putc-in-ddebug_proc_show.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Sep 2, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: dyndbg: use seq_putc() in ddebug_proc_show()
has been removed from the -mm tree. Its filename was
dyndbg-use-seq_putc-in-ddebug_proc_show.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Markus Elfring <[email protected]>
Subject: dyndbg: use seq_putc() in ddebug_proc_show()
Date: Sun, 14 Jul 2024 19:33:07 +0200

Single characters should be put into a sequence. Thus use the corresponding function "seq_putc".

This issue was transformed by using the Coccinelle software.

---

 lib/dynamic_debug.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
lib/dynamic_debug.c renamed from lib/dynamic_debug.c~dyndbg-use-seq_putc-in-ddebug_proc_show +2 -2
@@ -1147,7 +1147,7 @@ static int ddebug_proc_show(struct seq_f
 		   iter->table->mod_name, dp->function,
 		   ddebug_describe_flags(dp->flags, &flags));
 	seq_escape_str(m, dp->format, ESCAPE_SPACE, "\t\r\n\"");
-	seq_puts(m, "\"");
+	seq_putc(m, '"');
 
 	if (dp->class_id != _DPRINTK_CLASS_DFLT) {
 		class = ddebug_class_name(iter, dp);
@@ -1156,7 +1156,7 @@ static int ddebug_proc_show(struct seq_f
 		else
 			seq_printf(m, " class unknown, _id:%d", dp->class_id);
 	}
-	seq_puts(m, "\n");
+	seq_putc(m, '\n');
 
 	return 0;
 }

_

Patches currently in -mm which might be from [email protected] are