Skip to contentSkip to conversation

drivers: macintosh: add spaces required around that ':' and '?'

PATCH New [email protected] 1 participant 1 message Jul 17, 2023 1 message not in the archive Linux for power macintosh

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 drivers: macintosh: add spaces required around that ':' and '?'

This patch adds spaces required around that ':' and '?'.

./drivers/macintosh/macio-adb.c:143: ERROR: spaces required around that '?' (ctx:VxW) ./drivers/macintosh/macio-adb.c:143: ERROR: spaces required around that ':' (ctx:VxW)

---
 drivers/macintosh/macio-adb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/macintosh/macio-adb.c +1 -1
index 55a9f8c..4de4883 100644
@@ -140,7 +140,7 @@ static int macio_adb_autopoll(int devs)
     spin_lock_irqsave(&macio_lock, flags);
     out_8(&adb->active_hi.r, devs >> 8);
     out_8(&adb->active_lo.r, devs);
-    out_8(&adb->autopoll.r, devs? APE: 0);
+    out_8(&adb->autopoll.r, devs ? APE : 0);
     spin_unlock_irqrestore(&macio_lock, flags);
     return 0;
 }