Skip to contentSkip to conversation

riscv: kernel: insert space before the open parenthesis '('

PATCH In review [email protected] 2 participants 2 messages Jul 17, 2023 1 message not in the archive RISC-V

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 riscv: kernel: insert space before the open parenthesis '('

Fix below checkpatch error:

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

---
 arch/riscv/kernel/smp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/kernel/smp.c +1 -1
index 23e533766a49..1454f2415b7f 100644
@@ -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

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv

#2 lore raw

Hey,

Quoted 5 lines · On Mon, Jul 17, 2023 at 04:06:11PM +0800, [email protected] wrote:

Fix below checkpatch error:

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

See:
https://lore.kernel.org/all/20230717-gummy-frisbee-2f7dbe9f9512@wendy/

Also, DKIM is failing for the 208suo address :/

Thanks,
Conor.

Quoted 18 lines
---
 arch/riscv/kernel/smp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/kernel/smp.c +1 -1
index 23e533766a49..1454f2415b7f 100644
@@ -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