Fwd: [PATCH] m68k: q40: Add space around '='
From: hanyu001
Date: Thu Jul 13 2023 - 02:14:03 EST
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@xxxxxx>
---
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) {