[<prev] [next>] [day] [month] [year] [list]
Message-ID: <a372cb5c4bf5a94d6591629ba38ee060@208suo.com>
Date: Fri, 21 Jul 2023 08:21:21 +0800
From: zhangyongle001@...suo.com
To: dinguyen@...nel.org
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] 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 <zhangyongle001@...suo.com>
---
arch/nios2/kernel/kgdb.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/nios2/kernel/kgdb.c b/arch/nios2/kernel/kgdb.c
index d0963fcb11b7..0b5ac63e8e0b 100644
--- a/arch/nios2/kernel/kgdb.c
+++ b/arch/nios2/kernel/kgdb.c
@@ -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) },
--
2.40.1
Powered by blists - more mailing lists