2023-07-17 09:12:37

by hanyu001

[permalink] [raw]
Subject: [PATCH] powerpc: xmon: insert space before the open parenthesis '('

Fixes checkpatch error:

./arch/powerpc/xmon/xmon.c:1052: ERROR: space required before the open
parenthesis '('

Signed-off-by: ztt <[email protected]>
---
arch/powerpc/xmon/xmon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c
index 70c4c59a1a8f..6a1a2f0b9084 100644
--- a/arch/powerpc/xmon/xmon.c
+++ b/arch/powerpc/xmon/xmon.c
@@ -1049,7 +1049,7 @@ cmds(struct pt_regs *excp)

xmon_show_stack(excp->gpr[1], excp->link, excp->nip);

- for(;;) {
+ for (;;) {
#ifdef CONFIG_SMP
printf("%x:", smp_processor_id());
#endif /* CONFIG_SMP */