* [PATCH] compat: add missing spaces after ';'
[not found] <20230720020219.766-1-xujianghui@cdjrlc.com>
@ 2023-07-20 2:08 ` sunran001
0 siblings, 0 replies; only message in thread
From: sunran001 @ 2023-07-20 2:08 UTC (permalink / raw)
To: bp, arnd, ebiederm, brgerst, sohil.mehta; +Cc: linux-kernel
Remove spaces to clear checkpatch errors.
ERROR: space required after that ';' (ctx:VxV)
Signed-off-by: Ran Sun <sunran001@208suo.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__));\
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-20 2:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20230720020219.766-1-xujianghui@cdjrlc.com>
2023-07-20 2:08 ` [PATCH] compat: add missing spaces after ';' sunran001
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome