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

hanyu001@208suo.com posted 1 patch 2 years, 6 months ago
arch/riscv/kernel/smp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] riscv: kernel: insert space before the open parenthesis '('
Posted by hanyu001@208suo.com 2 years, 6 months ago
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(-)

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
Re: [PATCH] riscv: kernel: insert space before the open parenthesis '('
Posted by Conor Dooley 2 years, 6 months ago
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