mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] div64: Clean up errors in div64.h
@ 2023-09-28  3:03 KaiLong Wang
  0 siblings, 0 replies; only message in thread
From: KaiLong Wang @ 2023-09-28  3:03 UTC (permalink / raw)
  To: arnd; +Cc: linux-arch, linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-09-28  3:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-28  3:03 [PATCH] div64: Clean up errors in div64.h KaiLong Wang

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®