Skip to contentSkip to conversation

embedded6xx: holly: use seq_puts instead of seq_printf

PATCH New [email protected] 1 participant 1 message Jul 20, 2023 1 message not in the archive PowerPC

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 embedded6xx: holly: use seq_puts instead of seq_printf

Fix checkpatch WARNINGS:

/platforms/embedded6xx/holly.c:199: WARNING: Prefer seq_puts to seq_printf /platforms/embedded6xx/holly.c:200: WARNING: Prefer seq_puts to seq_printf

---
 arch/powerpc/platforms/embedded6xx/holly.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/platforms/embedded6xx/holly.c +2 -2
index 02ff260ae1ee..11820d0d22c4 100644
@@ -196,8 +196,8 @@ static void __init holly_init_IRQ(void)
 
 static void holly_show_cpuinfo(struct seq_file *m)
 {
-    seq_printf(m, "vendor\t\t: IBM\n");
-    seq_printf(m, "machine\t\t: PPC750 GX/CL\n");
+    seq_puts(m, "vendor\t\t: IBM\n");
+    seq_puts(m, "machine\t\t: PPC750 GX/CL\n");
 }
 
 static void __noreturn holly_restart(char *cmd)