Skip to contentSkip to conversation

m68k: q40: Fix nine occurrences of the checkpatch.pl error:

PATCH New [email protected] 1 participant 1 message Jul 21, 2023 1 message not in the archive m68k architecture

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 m68k: q40: Fix nine occurrences of the checkpatch.pl error:

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

---
 arch/m68k/q40/q40ints.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/m68k/q40/q40ints.c +4 -4
index fdd6e48f4fe3..8843144e8c28 100644
@@ -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 : */