mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] jiffies: Clean up errors in jiffies.h
@ 2023-10-12  9:56 chenguohua
  0 siblings, 0 replies; only message in thread
From: chenguohua @ 2023-10-12  9:56 UTC (permalink / raw)
  To: rafael.j.wysocki; +Cc: linux-kernel

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@cdjrlc.com>
---
 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

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

only message in thread, other threads:[~2023-10-12  9:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-12  9:56 [PATCH] jiffies: Clean up errors in jiffies.h chenguohua

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®