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 <1549089...@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;