nios2/kernel: RROR: that open brace { should be on the previous line
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
Signed-off-by zhangyongle <[email protected]>
--- arch/nios2/kernel/kgdb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
arch/nios2/kernel/kgdb.c +1 -2
@@ -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