2023-09-28 03:08:09

by KaiLong Wang

[permalink] [raw]
Subject: [PATCH] div64: Clean up errors in div64.h

Fix the following errors reported by checkpatch:

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

Signed-off-by: KaiLong Wang <[email protected]>
---
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