* [PATCH] embedded6xx: holly: use seq_puts instead of seq_printf
[not found] <tencent_E0E757021CD56C9510E3C044A6B421B59E08@qq.com>
@ 2023-07-20 7:22 ` hanyu001
0 siblings, 0 replies; only message in thread
From: hanyu001 @ 2023-07-20 7:22 UTC (permalink / raw)
To: mpe, npiggin, windhl, robh; +Cc: linuxppc-dev, linux-kernel
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
Signed-off-by: Yu Han <hanyu001@208suo.com>
---
arch/powerpc/platforms/embedded6xx/holly.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/platforms/embedded6xx/holly.c
b/arch/powerpc/platforms/embedded6xx/holly.c
index 02ff260ae1ee..11820d0d22c4 100644
--- a/arch/powerpc/platforms/embedded6xx/holly.c
+++ b/arch/powerpc/platforms/embedded6xx/holly.c
@@ -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)
^ permalink raw reply related [flat|nested] only message in thread