diff mbox series

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

Message ID b90d162c4fb8062355634fb53b05173d@208suo.com (mailing list archive)
State Handled Elsewhere
Headers show
Series riscv: kernel: insert space before the open parenthesis '(' | expand

Checks

Context Check Description
conchuod/tree_selection fail Failed to apply to next/pending-fixes, riscv/for-next or riscv/master

Commit Message

hanyu001@208suo.com July 17, 2023, 8:06 a.m. UTC
Fix below checkpatch error:

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

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

  #else

Comments

Conor Dooley July 17, 2023, 8:14 a.m. UTC | #1
Hey,

On Mon, Jul 17, 2023 at 04:06:11PM +0800, hanyu001@208suo.com wrote:
> Fix below checkpatch error:
> 
> /riscv/kernel/smp.c:93:ERROR: space required before the open parenthesis '('
> 
> Signed-off-by: ztt <1549089851@qq.com>

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

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

Thanks,
Conor.

> ---
>  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
diff mbox series

Patch

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();
  }