From: hanyu001@208suo.com
To: mpe@ellerman.id.au, npiggin@gmail.com, windhl@126.com, robh@kernel.org
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: [PATCH] embedded6xx: holly: use seq_puts instead of seq_printf
Date: Thu, 20 Jul 2023 15:22:01 +0800 [thread overview]
Message-ID: <2d238f3ebbd359d18eae523925d0c8bf@208suo.com> (raw)
In-Reply-To: <tencent_E0E757021CD56C9510E3C044A6B421B59E08@qq.com>
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)
parent reply other threads:[~2023-07-20 7:23 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <tencent_E0E757021CD56C9510E3C044A6B421B59E08@qq.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2d238f3ebbd359d18eae523925d0c8bf@208suo.com \
--to=hanyu001@208suo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=npiggin@gmail.com \
--cc=robh@kernel.org \
--cc=windhl@126.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).