mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
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: 998f70d180
("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>
This commit is contained in:
parent
be23147462
commit
f82718251e
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue