mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: zhangyongle001@208suo.com
To: dinguyen@kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] nios2/kernel: RROR: that open brace { should be on the previous line
Date: Fri, 21 Jul 2023 08:21:21 +0800	[thread overview]
Message-ID: <a372cb5c4bf5a94d6591629ba38ee060@208suo.com> (raw)

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


                 reply	other threads:[~2023-07-21  0:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a372cb5c4bf5a94d6591629ba38ee060@208suo.com \
    --to=zhangyongle001@208suo.com \
    --cc=dinguyen@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®