[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <6a7de5f72aac9c6e71a5b484e7beb6b1@208suo.com>
Date: Thu, 20 Jul 2023 14:40:27 +0800
From: hanyu001@...suo.com
To: James.Bottomley@...senPartnership.com, deller@....de
Cc: linux-parisc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] parisc: kernel: Add require space after that ','
Fix checkpatch warnings:
./arch/parisc/kernel/unaligned.c:475: ERROR: space required after that
',' (ctx:VxV)
./arch/parisc/kernel/unaligned.c:484: ERROR: space required after that
',' (ctx:VxV)
./arch/parisc/kernel/unaligned.c:492: ERROR: space required after that
',' (ctx:VxV)
./arch/parisc/kernel/unaligned.c:497: ERROR: space required after that
',' (ctx:VxV)
./arch/parisc/kernel/unaligned.c:505: ERROR: space required after that
',' (ctx:VxV)
./arch/parisc/kernel/unaligned.c:505: ERROR: space required after that
',' (ctx:VxV)
./arch/parisc/kernel/unaligned.c:510: ERROR: space required after that
',' (ctx:VxV)
./arch/parisc/kernel/unaligned.c:510: ERROR: space required after that
',' (ctx:VxV)
./arch/parisc/kernel/unaligned.c:517: ERROR: space required after that
',' (ctx:VxV)
./arch/parisc/kernel/unaligned.c:517: ERROR: space required after that
',' (ctx:VxV)
./arch/parisc/kernel/unaligned.c:522: ERROR: space required after that
',' (ctx:VxV)
./arch/parisc/kernel/unaligned.c:522: ERROR: space required after that
',' (ctx:VxV)
Signed-off-by: Yu Han <hanyu001@...suo.com>
---
arch/parisc/kernel/unaligned.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/parisc/kernel/unaligned.c
b/arch/parisc/kernel/unaligned.c
index 752d0d0..3d346f2 100644
--- a/arch/parisc/kernel/unaligned.c
+++ b/arch/parisc/kernel/unaligned.c
@@ -472,7 +472,7 @@ void handle_unaligned(struct pt_regs *regs)
case OPCODE_LDWA_I:
case OPCODE_LDW_S:
case OPCODE_LDWA_S:
- ret = emulate_ldw(regs, R3(regs->iir),0);
+ ret = emulate_ldw(regs, R3(regs->iir), 0);
break;
case OPCODE_STH:
@@ -481,7 +481,7 @@ void handle_unaligned(struct pt_regs *regs)
case OPCODE_STW:
case OPCODE_STWA:
- ret = emulate_stw(regs, R2(regs->iir),0);
+ ret = emulate_stw(regs, R2(regs->iir), 0);
break;
#ifdef CONFIG_64BIT
@@ -489,12 +489,12 @@ void handle_unaligned(struct pt_regs *regs)
case OPCODE_LDDA_I:
case OPCODE_LDD_S:
case OPCODE_LDDA_S:
- ret = emulate_ldd(regs, R3(regs->iir),0);
+ ret = emulate_ldd(regs, R3(regs->iir), 0);
break;
case OPCODE_STD:
case OPCODE_STDA:
- ret = emulate_std(regs, R2(regs->iir),0);
+ ret = emulate_std(regs, R2(regs->iir), 0);
break;
#endif
@@ -502,24 +502,24 @@ void handle_unaligned(struct pt_regs *regs)
case OPCODE_FLDWS:
case OPCODE_FLDWXR:
case OPCODE_FLDWSR:
- ret = emulate_ldw(regs,FR3(regs->iir),1);
+ ret = emulate_ldw(regs, FR3(regs->iir), 1);
break;
case OPCODE_FLDDX:
case OPCODE_FLDDS:
- ret = emulate_ldd(regs,R3(regs->iir),1);
+ ret = emulate_ldd(regs, R3(regs->iir), 1);
break;
case OPCODE_FSTWX:
case OPCODE_FSTWS:
case OPCODE_FSTWXR:
case OPCODE_FSTWSR:
- ret = emulate_stw(regs,FR3(regs->iir),1);
+ ret = emulate_stw(regs, FR3(regs->iir), 1);
break;
case OPCODE_FSTDX:
case OPCODE_FSTDS:
- ret = emulate_std(regs,R3(regs->iir),1);
+ ret = emulate_std(regs, R3(regs->iir), 1);
break;
case OPCODE_LDCD_I:
Powered by blists - more mailing lists