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

From: Conor Dooley
Date: Mon Jul 17 2023 - 04:14:51 EST


Hey,

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

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

Attachment: signature.asc
Description: PGP signature