linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] platforms: powermac: insert space before the open parenthesis '('
       [not found] <tencent_3EB579E7E40217D5639568E3324407B49E08@qq.com>
@ 2023-07-18  9:37 ` hanyu001
  0 siblings, 0 replies; 2+ messages in thread
From: hanyu001 @ 2023-07-18  9:37 UTC (permalink / raw)
  To: benh, mpe, npiggin, christophe.leroy, robh, axboe, chenlifu
  Cc: linuxppc-dev, linux-kernel

Fixes checkpatch error:

/powerpc/platforms/powermac/setup.c:222:ERROR: space required before the 
open parenthesis '('

Signed-off-by: Yu Han <hanyu001@208suo.com>
---
  arch/powerpc/platforms/powermac/setup.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/platforms/powermac/setup.c 
b/arch/powerpc/platforms/powermac/setup.c
index 0c41f4b005bc..a89f3022f3a8 100644
--- a/arch/powerpc/platforms/powermac/setup.c
+++ b/arch/powerpc/platforms/powermac/setup.c
@@ -219,7 +219,7 @@ static void __init ohare_init(void)
                  sysctrl_regs[4] |= 0x04000020;
              else
                  sysctrl_regs[4] |= 0x04000000;
-            if(has_l2cache)
+            if (has_l2cache)
                  printk(KERN_INFO "Level 2 cache enabled\n");
          }
      }

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] platforms: powermac: insert space before the open parenthesis '('
       [not found] <tencent_EA51887C68AF6A7DCE5504EAAB3F2AB5C609@qq.com>
@ 2023-07-18  9:48 ` hanyu001
  0 siblings, 0 replies; 2+ messages in thread
From: hanyu001 @ 2023-07-18  9:48 UTC (permalink / raw)
  To: benh, mpe, npiggin, christophe.leroy, windhl; +Cc: linuxppc-dev, linux-kernel

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 <hanyu001@208suo.com>
---
  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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-18  9:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <tencent_3EB579E7E40217D5639568E3324407B49E08@qq.com>
2023-07-18  9:37 ` [PATCH] platforms: powermac: insert space before the open parenthesis '(' hanyu001
     [not found] <tencent_EA51887C68AF6A7DCE5504EAAB3F2AB5C609@qq.com>
2023-07-18  9:48 ` hanyu001

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).