[PATCH] powerpc: boot: insert space before the open parenthesis '('

hanyu001 at 208suo.com hanyu001 at 208suo.com
Tue Jul 18 17:55:54 AEST 2023


Fixes checkpatch error:

./arch/powerpc/boot/main.c:273: ERROR: space required before the open 
parenthesis '('

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

diff --git a/arch/powerpc/boot/main.c b/arch/powerpc/boot/main.c
index 64a3d6586321..c8ebd552d1e8 100644
--- a/arch/powerpc/boot/main.c
+++ b/arch/powerpc/boot/main.c
@@ -270,7 +270,7 @@ void start(void)

      kentry = (kernel_entry_t) vmlinux.addr;
      if (ft_addr) {
-        if(platform_ops.kentry)
+        if (platform_ops.kentry)
              platform_ops.kentry(ft_addr, vmlinux.addr);
          else
              kentry(ft_addr, 0, NULL);


More information about the Linuxppc-dev mailing list