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: add missing spaces around '='
Date: Thu, 20 Jul 2023 11:38:47 +0800 [thread overview]
Message-ID: <006368d8cf146a4e41d860b615d4b3ec@208suo.com> (raw)
In-Reply-To: <20230720033737.2092-1-xujianghui@cdjrlc.com>
add missing spaces to clear checkpatch errors.
ERROR: spaces required around that '=' (ctx:VxV)
Signed-off-by: Ran Sun <sunran001@208suo.com>
---
arch/m68k/q40/q40ints.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/m68k/q40/q40ints.c b/arch/m68k/q40/q40ints.c
index 127d7ecdbd49..fdd6e48f4fe3 100644
--- a/arch/m68k/q40/q40ints.c
+++ b/arch/m68k/q40/q40ints.c
@@ -132,10 +132,10 @@ static irqreturn_t q40_timer_int(int irq, void
*dev_id)
{
ql_ticks = ql_ticks ? 0 : 1;
if (sound_ticks) {
- unsigned char sval=(sound_ticks & 1) ? 128-SVOL : 128+SVOL;
+ unsigned char sval = (sound_ticks & 1) ? 128-SVOL : 128+SVOL;
sound_ticks--;
- *DAC_LEFT=sval;
- *DAC_RIGHT=sval;
+ *DAC_LEFT = sval;
+ *DAC_RIGHT = sval;
}
if (!ql_ticks) {
@@ -171,7 +171,7 @@ void q40_sched_init (void)
struct IRQ_TABLE{ unsigned mask; int irq ;};
#if 0
-static struct IRQ_TABLE iirqs[]={
+static struct IRQ_TABLE iirqs[] = {
{Q40_IRQ_FRAME_MASK,Q40_IRQ_FRAME},
{Q40_IRQ_KEYB_MASK,Q40_IRQ_KEYBOARD},
{0,0}};
@@ -189,7 +189,7 @@ static struct IRQ_TABLE eirqs[] = {
};
/* complain only this many times about spurious ints : */
-static int ccleirq=60; /* ISA dev IRQs*/
+static int ccleirq = 60; /* ISA dev IRQs*/
/*static int cclirq=60;*/ /* internal */
/* FIXME: add shared ints,mask,unmask,probing.... */
next parent reply other threads:[~2023-07-20 3:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20230720033737.2092-1-xujianghui@cdjrlc.com>
2023-07-20 3:38 ` sunran001 [this message]
2023-07-24 9:06 ` [PATCH] m68k: q40: add missing spaces around '=' Geert Uytterhoeven
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=006368d8cf146a4e41d860b615d4b3ec@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