[PATCH] riscv: kernel: insert space before the open parenthesis '('

hanyu001 at 208suo.com hanyu001 at 208suo.com
Mon Jul 17 01:06:11 PDT 2023


Fix below checkpatch error:

/riscv/kernel/smp.c:93:ERROR: space required before the open parenthesis 
'('

Signed-off-by: ztt <1549089851 at qq.com>
---
  arch/riscv/kernel/smp.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/riscv/kernel/smp.c b/arch/riscv/kernel/smp.c
index 23e533766a49..1454f2415b7f 100644
--- a/arch/riscv/kernel/smp.c
+++ b/arch/riscv/kernel/smp.c
@@ -90,7 +90,7 @@ static inline void ipi_cpu_crash_stop(unsigned int 
cpu, struct pt_regs *regs)
          cpu_ops[cpu]->cpu_stop();
  #endif

-    for(;;)
+    for (;;)
          wait_for_interrupt();
  }
  #else



More information about the linux-riscv mailing list