Skip to contentSkip to conversation

powerpc: xmon: Remove space after '(' and before ')'

PATCH New [email protected] 1 participant 1 message Jul 17, 2023 1 message not in the archive PowerPC

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 powerpc: xmon: Remove space after '(' and before ')'

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 '('

---
 arch/powerpc/xmon/xmon.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/xmon/xmon.c +2 -2
index 013b63eb4cd9..c10d9ff02af1 100644
@@ -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;