Skip to contentSkip to conversation

compat: add missing spaces after ';'

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

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 compat: add missing spaces after ';'

Remove spaces to clear checkpatch errors.

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

---
 include/linux/compat.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/compat.h +2 -2
index 1cfa4f0f490a..2f6a62afe984 100644
@@ -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__));\