Skip to contentSkip to conversation

div64: Clean up errors in div64.h

PATCH New KaiLong Wang 1 participant 1 message Sep 28, 2023 Generic include/asm header files

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 div64: Clean up errors in div64.h

Fix the following errors reported by checkpatch:

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

---
 include/asm-generic/div64.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/asm-generic/div64.h +2 -2
index 13f5aa68a455..ec75b7998d06 100644
@@ -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));	\
Signature · 1 line
2.17.1