lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <f9ba0bd1bc611c999fdd68b53b0d913d@208suo.com>
Date:   Mon, 17 Jul 2023 17:22:39 +0800
From:   hanyu001@...suo.com
To:     mpe@...erman.id.au, npiggin@...il.com, christophe.leroy@...roup.eu,
        maninder1.s@...sung.com, nathanl@...ux.ibm.com,
        gustavoars@...nel.org
Cc:     linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: [PATCH] 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 '('

Signed-off-by: ztt <1549089851@...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;

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ