Skip to contentSkip to conversation

nios2/kernel: RROR: that open brace { should be on the previous line

PATCH New [email protected] 1 participant 1 message Jul 21, 2023 NIOS2 architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nios2/kernel: RROR: that open brace { should be on the previous line

Fix the following checkpatch error:
ERROR: that open brace { should be on the previous line

---
 arch/nios2/kernel/kgdb.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/nios2/kernel/kgdb.c +1 -2
index d0963fcb11b7..0b5ac63e8e0b 100644
@@ -15,8 +15,7 @@
 
 static int wait_for_remote_debugger;
 
-struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] =
-{
+struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = {
 	{ "zero", GDB_SIZEOF_REG, -1 },
 	{ "at", GDB_SIZEOF_REG, offsetof(struct pt_regs, r1) },
 	{ "r2", GDB_SIZEOF_REG, offsetof(struct pt_regs, r2) },
Signature · 1 line
2.40.1