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]
Date:   Thu, 20 Jul 2023 10:08:37 +0800
From:   sunran001@...suo.com
To:     bp@...e.de, arnd@...db.de, ebiederm@...ssion.com,
        brgerst@...il.com, sohil.mehta@...el.com
Cc:     linux-kernel@...r.kernel.org
Subject: [PATCH] compat: add missing spaces after ';'

Remove spaces to clear checkpatch errors.

ERROR: space required after that ';' (ctx:VxV)

Signed-off-by: Ran Sun <sunran001@...suo.com>
---
  include/linux/compat.h | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/compat.h b/include/linux/compat.h
index 1cfa4f0f490a..2f6a62afe984 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -39,7 +39,7 @@
  #endif

  #ifndef __SC_DELOUSE
-#define __SC_DELOUSE(t,v) ((__force t)(unsigned long)(v))
+#define __SC_DELOUSE(t, v) ((__force t)(unsigned long)(v))
  #endif

  #ifndef COMPAT_SYSCALL_DEFINE0
@@ -72,7 +72,7 @@
  	__diag_push();								\
  	__diag_ignore(GCC, 8, "-Wattribute-alias",				\
  		      "Type aliasing is used to sanitize syscall arguments");\
-	asmlinkage long compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__))	\
+	asmlinkage long compat_sys##name(__MAP(x, __SC_DECL, __VA_ARGS__))	\
  		__attribute__((alias(__stringify(__se_compat_sys##name))));	\
  	ALLOW_ERROR_INJECTION(compat_sys##name, ERRNO);				\
  	static inline long 
__do_compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__));\

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ