Thread (1 message) 1 message, 1 author, 2023-07-18
DORMANTno replies

[PATCH] platforms: powermac: insert space before the open parenthesis '('

From: <hidden>
Date: 2023-07-18 09:49:52
Also in: lkml

Fixes checkpatch errors:

/platforms/powermac/low_i2c.c:55:ERROR: space required before the open 
parenthesis '('
/platforms/powermac/low_i2c.c:63:ERROR: space required before the open 
parenthesis '('

Signed-off-by: Yu Han <redacted>
---
  arch/powerpc/platforms/powermac/low_i2c.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/platforms/powermac/low_i2c.c 
b/arch/powerpc/platforms/powermac/low_i2c.c
index 40f3aa432fba..25cc6eec962f 100644
--- a/arch/powerpc/platforms/powermac/low_i2c.c
+++ b/arch/powerpc/platforms/powermac/low_i2c.c
@@ -52,7 +52,7 @@
  #ifdef DEBUG
  #define DBG(x...) do {\
          printk(KERN_DEBUG "low_i2c:" x);    \
-    } while(0)
+    } while (0)
  #else
  #define DBG(x...)
  #endif
@@ -60,7 +60,7 @@
  #ifdef DEBUG_LOW
  #define DBG_LOW(x...) do {\
          printk(KERN_DEBUG "low_i2c:" x);    \
-    } while(0)
+    } while (0)
  #else
  #define DBG_LOW(x...)
  #endif
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help