mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: sunran001@208suo.com
To: bp@suse.de, arnd@arndb.de, ebiederm@xmission.com,
	brgerst@gmail.com, sohil.mehta@intel.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] compat: add missing spaces after ';'
Date: Thu, 20 Jul 2023 10:08:37 +0800	[thread overview]
Message-ID: <164ef920bb0c98137824a729eb9ff13b@208suo.com> (raw)
In-Reply-To: <20230720020219.766-1-xujianghui@cdjrlc.com>

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__));\

           reply	other threads:[~2023-07-20  2:08 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20230720020219.766-1-xujianghui@cdjrlc.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=164ef920bb0c98137824a729eb9ff13b@208suo.com \
    --to=sunran001@208suo.com \
    --cc=arnd@arndb.de \
    --cc=bp@suse.de \
    --cc=brgerst@gmail.com \
    --cc=ebiederm@xmission.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sohil.mehta@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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