* [PATCH] riscv: kernel: insert space before the open parenthesis '(' [not found] <tencent_7D5EADDF79970079F568A5C4F801910DED06@qq.com> @ 2023-07-17 8:06 ` hanyu001 2023-07-17 8:14 ` Conor Dooley 0 siblings, 1 reply; 2+ messages in thread From: hanyu001 @ 2023-07-17 8:06 UTC (permalink / raw) To: paul.walmsley, palmer, aou, atishp, maz, apatel, guoren, sunilvl, ben-linux, vschneid Cc: linux-riscv, linux-kernel 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 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv ^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] riscv: kernel: insert space before the open parenthesis '(' 2023-07-17 8:06 ` [PATCH] riscv: kernel: insert space before the open parenthesis '(' hanyu001 @ 2023-07-17 8:14 ` Conor Dooley 0 siblings, 0 replies; 2+ messages in thread From: Conor Dooley @ 2023-07-17 8:14 UTC (permalink / raw) To: hanyu001 Cc: apatel, vschneid, aou, maz, atishp, linux-kernel, palmer, ben-linux, paul.walmsley, guoren, linux-riscv [-- Attachment #1.1: Type: text/plain, Size: 900 bytes --] 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 [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 228 bytes --] [-- Attachment #2: Type: text/plain, Size: 161 bytes --] _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-17 8:15 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <tencent_7D5EADDF79970079F568A5C4F801910DED06@qq.com> 2023-07-17 8:06 ` [PATCH] riscv: kernel: insert space before the open parenthesis '(' hanyu001 2023-07-17 8:14 ` Conor Dooley
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).