2023-07-17 08:32:42

by hanyu001

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

Fix below checkpatch error:

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

Signed-off-by: ztt <[email protected]>
---
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


2023-07-17 09:25:42

by Conor Dooley

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

Hey,

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 '('
>
> Signed-off-by: ztt <[email protected]>

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


Attachments:
(No filename) (900.00 B)
signature.asc (235.00 B)
Download all attachments