[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2d238f3ebbd359d18eae523925d0c8bf@208suo.com>
Date: Thu, 20 Jul 2023 15:22:01 +0800
From: hanyu001@...suo.com
To: mpe@...erman.id.au, npiggin@...il.com, windhl@....com,
robh@...nel.org
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: [PATCH] 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
Signed-off-by: Yu Han <hanyu001@...suo.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)
Powered by blists - more mailing lists