From: Chen Ni <nichen@iscas.ac.cn>
To: heiko@sntech.de, lee@kernel.org
Cc: linux-kernel@vger.kernel.org, Chen Ni <nichen@iscas.ac.cn>
Subject: [PATCH] mfd: Convert comma to semicolon
Date: Mon, 10 Mar 2025 11:11:45 +0800 [thread overview]
Message-ID: <20250310031145.650950-1-nichen@iscas.ac.cn> (raw)
Replace comma between expressions with semicolons.
Using a ',' in place of a ';' can have unintended side effects.
Although that is not the case here, it is seems best to use ';'
unless ',' is intended.
Found by inspection.
No functional change intended.
Compile tested only.
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
drivers/mfd/qnap-mcu.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mfd/qnap-mcu.c b/drivers/mfd/qnap-mcu.c
index 4be39d8b2905..89a8a1913d42 100644
--- a/drivers/mfd/qnap-mcu.c
+++ b/drivers/mfd/qnap-mcu.c
@@ -158,9 +158,9 @@ int qnap_mcu_exec(struct qnap_mcu *mcu,
mutex_lock(&mcu->bus_lock);
- reply->data = rx,
- reply->length = length,
- reply->received = 0,
+ reply->data = rx;
+ reply->length = length;
+ reply->received = 0;
reinit_completion(&reply->done);
qnap_mcu_write(mcu, cmd_data, cmd_data_size);
--
2.25.1
next reply other threads:[~2025-03-10 3:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-10 3:11 Chen Ni [this message]
2025-03-10 8:37 ` Heiko Stübner
2025-03-14 10:55 ` (subset) " Lee Jones
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=20250310031145.650950-1-nichen@iscas.ac.cn \
--to=nichen@iscas.ac.cn \
--cc=heiko@sntech.de \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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®