mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] nios2/kernel: RROR: that open brace { should be on the previous line
@ 2023-07-21  0:21 zhangyongle001
  0 siblings, 0 replies; only message in thread
From: zhangyongle001 @ 2023-07-21  0:21 UTC (permalink / raw)
  To: dinguyen; +Cc: linux-kernel

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

Signed-off-by: zhangyongle <zhangyongle001@208suo.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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-21  0:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-21  0:21 [PATCH] nios2/kernel: RROR: that open brace { should be on the previous line zhangyongle001

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®