[PATCH] jiffies: Clean up errors in jiffies.h

From: chenguohua
Date: Thu Oct 12 2023 - 05:59:57 EST


Fix the following errors reported by checkpatch:

ERROR: space required after that ',' (ctx:VxV)
ERROR: space required before the open parenthesis '('

Signed-off-by: JiangHui Xu <xujianghui@xxxxxxxxxx>
---
include/linux/jiffies.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/jiffies.h b/include/linux/jiffies.h
index e0ae2a43e0eb..6d16a794f1ba 100644
--- a/include/linux/jiffies.h
+++ b/include/linux/jiffies.h
@@ -53,7 +53,7 @@
* - (NOM / DEN) fits in (32 - LSH) bits.
* - (NOM % DEN) fits in (32 - LSH) bits.
*/
-#define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) \
+#define SH_DIV(NOM, DEN, LSH) ((((NOM) / (DEN)) << (LSH)) \
+ ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))

/* LATCH is used in the interval timer and ftape setup. */
--
2.17.1