mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: hanyu001@208suo.com
To: benh@kernel.crashing.org, mpe@ellerman.id.au,
	baihaowen@meizu.com, studentxswpy@163.com
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: [PATCH] drivers: macintosh: add spaces required around that ':' and '?'
Date: Mon, 17 Jul 2023 16:33:40 +0800	[thread overview]
Message-ID: <1deebcc233b93769ff1c85c74a432199@208suo.com> (raw)
In-Reply-To: <tencent_A7289285160569DAEE7418CF0B205D2C520A@qq.com>

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

           reply	other threads:[~2023-07-17  8:33 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <tencent_A7289285160569DAEE7418CF0B205D2C520A@qq.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1deebcc233b93769ff1c85c74a432199@208suo.com \
    --to=hanyu001@208suo.com \
    --cc=baihaowen@meizu.com \
    --cc=benh@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=studentxswpy@163.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®