[PATCH] drivers: macintosh: add spaces required around that ':' and '?'

hanyu001 at 208suo.com hanyu001 at 208suo.com
Mon Jul 17 18:33:40 AEST 2023


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)

Signed-off-by: maqimei <2433033762 at qq.com>
---
  drivers/macintosh/macio-adb.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/macintosh/macio-adb.c 
b/drivers/macintosh/macio-adb.c
index 55a9f8c..4de4883 100644
--- a/drivers/macintosh/macio-adb.c
+++ b/drivers/macintosh/macio-adb.c
@@ -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;
  }


More information about the Linuxppc-dev mailing list