[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <b29994cca39551c7c3827a733e7c1246@208suo.com>
Date: Thu, 13 Jul 2023 14:13:51 +0800
From: hanyu001@...suo.com
To: geert@...ux-m68k.org
Cc: linux-m68k@...ts.linux-m68k.org, linux-kernel@...r.kernel.org
Subject: Fwd: [PATCH] m68k: q40: Add space around '='
This patch fixes the checkpatch.pl error:
./arch/m68k/q40/q40ints.c:135: ERROR: spaces required around that '='
(ctx:VxV)
./arch/m68k/q40/q40ints.c:137: ERROR: spaces required around that '='
(ctx:VxV)
./arch/m68k/q40/q40ints.c:138: ERROR: spaces required around that '='
(ctx:VxV)
Signed-off-by: maqimei <2433033762@...com>
---
arch/m68k/q40/q40ints.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/m68k/q40/q40ints.c b/arch/m68k/q40/q40ints.c
index 127d7ec..bede94a 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) {
Powered by blists - more mailing lists