mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drivers: macintosh: add spaces required around that ':' and '?'
       [not found] <tencent_A7289285160569DAEE7418CF0B205D2C520A@qq.com>
@ 2023-07-17  8:33 ` hanyu001
  0 siblings, 0 replies; only message in thread
From: hanyu001 @ 2023-07-17  8:33 UTC (permalink / raw)
  To: benh, mpe, baihaowen, studentxswpy; +Cc: linuxppc-dev, linux-kernel

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@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;
  }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-17  8:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <tencent_A7289285160569DAEE7418CF0B205D2C520A@qq.com>
2023-07-17  8:33 ` [PATCH] drivers: macintosh: add spaces required around that ':' and '?' hanyu001

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®