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

hanyu001 at 208suo.com hanyu001 at 208suo.com
Mon Jul 17 18:38:51 AEST 2023


Fixes checkpatch error:

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

Signed-off-by: ztt <1549089851 at qq.com>
---
  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 */


More information about the Linuxppc-dev mailing list