[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1deebcc233b93769ff1c85c74a432199@208suo.com>
Date: Mon, 17 Jul 2023 16:33:40 +0800
From: hanyu001@...suo.com
To: benh@...nel.crashing.org, mpe@...erman.id.au, baihaowen@...zu.com,
studentxswpy@....com
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: [PATCH] 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)
Signed-off-by: maqimei <2433033762@...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;
}
Powered by blists - more mailing lists