Skip to content

Commit f827182

Browse files
Chen Nilag-linaro
authored andcommitted
mfd: qnap-mcu: Convert commas to semicolons in qnap_mcu_exec()
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. Fixes: 998f70d ("mfd: Add base driver for qnap-mcu devices") Signed-off-by: Chen Ni <nichen@iscas.ac.cn> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Link: https://lore.kernel.org/r/20250310031145.650950-1-nichen@iscas.ac.cn Signed-off-by: Lee Jones <lee@kernel.org>
1 parent be23147 commit f827182

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/mfd/qnap-mcu.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ int qnap_mcu_exec(struct qnap_mcu *mcu,
158158

159159
mutex_lock(&mcu->bus_lock);
160160

161-
reply->data = rx,
162-
reply->length = length,
163-
reply->received = 0,
161+
reply->data = rx;
162+
reply->length = length;
163+
reply->received = 0;
164164
reinit_completion(&reply->done);
165165

166166
qnap_mcu_write(mcu, cmd_data, cmd_data_size);

0 commit comments

Comments
 (0)