From: hanyu001@208suo.com
To: mpe@ellerman.id.au, npiggin@gmail.com,
christophe.leroy@csgroup.eu, maninder1.s@samsung.com,
nathanl@linux.ibm.com, gustavoars@kernel.org
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: [PATCH] powerpc: xmon: Remove space after '(' and before ')'
Date: Mon, 17 Jul 2023 17:22:39 +0800 [thread overview]
Message-ID: <f9ba0bd1bc611c999fdd68b53b0d913d@208suo.com> (raw)
In-Reply-To: <tencent_C47ED53495F8E338441AB48CB53AE7AF0208@qq.com>
The patch fixes the following errors detected by checkpatch:
./arch/powerpc/xmon/xmon.c:2426: ERROR: space prohibited after that open
parenthesis '('
./arch/powerpc/xmon/xmon.c:2426: ERROR: space prohibited before that
close parenthesis ')'
./arch/powerpc/xmon/xmon.c:2426: ERROR: space required before the open
parenthesis '('
Signed-off-by: ztt <1549089851@qq.com>
---
arch/powerpc/xmon/xmon.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c
index 013b63eb4cd9..c10d9ff02af1 100644
--- a/arch/powerpc/xmon/xmon.c
+++ b/arch/powerpc/xmon/xmon.c
@@ -1057,7 +1057,7 @@ cmds(struct pt_regs *excp)
flush_input();
termch = 0;
cmd = skipbl();
- if(cmd == '\n' ) {
+ if (cmd == '\n') {
if (last_cmd == NULL)
continue;
take_input(last_cmd);
@@ -2423,7 +2423,7 @@ memex(void)
}
last_cmd = "m\n";
while ((cmd = skipbl()) != '\n') {
- switch( cmd ){
+ switch (cmd) {
case 'b': size = 1; break;
case 'w': size = 2; break;
case 'l': size = 4; break;
parent reply other threads:[~2023-07-17 9:22 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <tencent_C47ED53495F8E338441AB48CB53AE7AF0208@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=f9ba0bd1bc611c999fdd68b53b0d913d@208suo.com \
--to=hanyu001@208suo.com \
--cc=christophe.leroy@csgroup.eu \
--cc=gustavoars@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=maninder1.s@samsung.com \
--cc=mpe@ellerman.id.au \
--cc=nathanl@linux.ibm.com \
--cc=npiggin@gmail.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
all inboxes | Powered by JetHome®