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: <875e01e4fae77a5ba0d8f733c9479466@208suo.com>
Date:   Wed, 19 Jul 2023 17:25:34 +0800
From:   hanyu001@...suo.com
To:     richard.henderson@...aro.org, ink@...assic.park.msu.ru,
        mattst88@...il.com
Cc:     linux-alpha@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] alpha: asm:  add require space after that ',' and around ':'

Fix below checkpatch errors:

./arch/alpha/include/asm/smp.h:19: ERROR: spaces required around that 
':' (ctx:ExV)
./arch/alpha/include/asm/smp.h:54: ERROR: space required after that ',' 
(ctx:VxV)
./arch/alpha/include/asm/smp.h:54: ERROR: space required after that ',' 
(ctx:VxV)
./arch/alpha/include/asm/smp.h:54: ERROR: space required after that ',' 
(ctx:VxV)

Signed-off-by: Yu Han <hanyu001@...suo.com>
---
  arch/alpha/include/asm/smp.h | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/alpha/include/asm/smp.h b/arch/alpha/include/asm/smp.h
index 2264ae72673b..c034bd8d9b16 100644
--- a/arch/alpha/include/asm/smp.h
+++ b/arch/alpha/include/asm/smp.h
@@ -16,7 +16,7 @@ __hard_smp_processor_id(void)
      __asm__ __volatile__(
          "call_pal %1 #whami"
          : "=r"(__r0)
-        :"i" (PAL_whami)
+        : "i" (PAL_whami)
          : "$1", "$22", "$23", "$24", "$25");
      return __r0;
  }
@@ -51,7 +51,7 @@ extern void arch_send_call_function_ipi_mask(const 
struct cpumask *mask);
  #else /* CONFIG_SMP */

  #define hard_smp_processor_id()        0
-#define smp_call_function_on_cpu(func,info,wait,cpu)    ({ 0; })
+#define smp_call_function_on_cpu(func, info, wait, cpu)    ({ 0; })

  #endif /* CONFIG_SMP */

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ