[PATCH] compat: add missing spaces after ';'

sunran001@208suo.com posted 1 patch 2 years, 6 months ago
include/linux/compat.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] compat: add missing spaces after ';'
Posted by sunran001@208suo.com 2 years, 6 months ago
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__));\