mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "KaiLong Wang" <wangkailong@jari.cn>
To: arnd@arndb.de
Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] div64: Clean up errors in div64.h
Date: Thu, 28 Sep 2023 11:03:55 +0800 (GMT+08:00)	[thread overview]
Message-ID: <109c2e25.8a9.18ad9be34be.Coremail.wangkailong@jari.cn> (raw)

Fix the following errors reported by checkpatch:

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

Signed-off-by: KaiLong Wang <wangkailong@jari.cn>
---
 include/asm-generic/div64.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/asm-generic/div64.h b/include/asm-generic/div64.h
index 13f5aa68a455..ec75b7998d06 100644
--- a/include/asm-generic/div64.h
+++ b/include/asm-generic/div64.h
@@ -42,7 +42,7 @@
  * NOTE: macro parameter @n is evaluated multiple times,
  * beware of side effects!
  */
-# define do_div(n,base) ({					\
+# define do_div(n, base) ({					\
 	uint32_t __base = (base);				\
 	uint32_t __rem;						\
 	__rem = ((uint64_t)(n)) % __base;			\
@@ -216,7 +216,7 @@ extern uint32_t __div64_32(uint64_t *dividend, uint32_t divisor);
 /* The unnecessary pointer compare is there
  * to check for type safety (n must be 64bit)
  */
-# define do_div(n,base) ({				\
+# define do_div(n, base) ({				\
 	uint32_t __base = (base);			\
 	uint32_t __rem;					\
 	(void)(((typeof((n)) *)0) == ((uint64_t *)0));	\
-- 
2.17.1

                 reply	other threads:[~2023-09-28  3:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=109c2e25.8a9.18ad9be34be.Coremail.wangkailong@jari.cn \
    --to=wangkailong@jari.cn \
    --cc=arnd@arndb.de \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®