mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: sunran001@208suo.com
To: geert@linux-m68k.org
Cc: linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org
Subject: [PATCH] m68k: q40: Fix nine occurrences of the checkpatch.pl error:
Date: Fri, 21 Jul 2023 07:53:19 +0000	[thread overview]
Message-ID: <d58630843012d3323b0576bab81a21a7@208suo.com> (raw)
In-Reply-To: <20230721075132.5512-1-xujianghui@cdjrlc.com>

Fix three occurrences of the checkpatch.pl error:
ERROR: space required after that ',' (ctx:VxV)
ERROR: space prohibited after that open parenthesis '('

Signed-off-by: Ran Sun <sunran001@208suo.com>
---
  arch/m68k/q40/q40ints.c | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/m68k/q40/q40ints.c b/arch/m68k/q40/q40ints.c
index fdd6e48f4fe3..8843144e8c28 100644
--- a/arch/m68k/q40/q40ints.c
+++ b/arch/m68k/q40/q40ints.c
@@ -159,7 +159,7 @@ void q40_sched_init (void)
  		panic("Couldn't register timer int");

  	master_outb(-1, FRAME_CLEAR_REG);
-	master_outb( 1, FRAME_RATE_REG);
+	master_outb(1, FRAME_RATE_REG);
  }


@@ -169,12 +169,12 @@ void q40_sched_init (void)
   *
  */

-struct IRQ_TABLE{ unsigned mask; int irq ;};
+struct IRQ_TABLE{ unsigned mask; int irq ; };
  #if 0
  static struct IRQ_TABLE iirqs[] = {
    {Q40_IRQ_FRAME_MASK,Q40_IRQ_FRAME},
    {Q40_IRQ_KEYB_MASK,Q40_IRQ_KEYBOARD},
-  {0,0}};
+  {0, 0}};
  #endif
  static struct IRQ_TABLE eirqs[] = {
    { .mask = Q40_IRQ3_MASK,	.irq = 3 },	/* ser 1 */
@@ -185,7 +185,7 @@ static struct IRQ_TABLE eirqs[] = {
    { .mask = Q40_IRQ7_MASK,	.irq = 7 },	/* par */
    { .mask = Q40_IRQ5_MASK,	.irq = 5 },
    { .mask = Q40_IRQ10_MASK,	.irq = 10 },
-  {0,0}
+  {0, 0}
  };

  /* complain only this many times about spurious ints : */

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

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20230721075132.5512-1-xujianghui@cdjrlc.com>]

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=d58630843012d3323b0576bab81a21a7@208suo.com \
    --to=sunran001@208suo.com \
    --cc=geert@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-m68k@lists.linux-m68k.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®