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

hanyu001 at 208suo.com hanyu001 at 208suo.com
Tue Jul 18 19:37:35 AEST 2023


Fixes checkpatch error:

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

Signed-off-by: Yu Han <hanyu001 at 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");
          }
      }


More information about the Linuxppc-dev mailing list