]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ionic: Convert comma to semicolon
authorChen Ni <nichen@iscas.ac.cn>
Wed, 4 Sep 2024 08:17:28 +0000 (16:17 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 7 Sep 2024 01:06:27 +0000 (18:06 -0700)
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>
Reviewed-by: Shannon Nelson <shannon.nelson@amd.com>
Link: https://patch.msgid.link/20240904081728.1353260-1-nichen@iscas.ac.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c

index 1ee2f285cb42cddcb09d6dfcad164422b8300e1f..52811487767740a3128e45c4db0daaa365e73c0c 100644 (file)
@@ -312,8 +312,8 @@ static int ionic_lif_filter_add(struct ionic_lif *lif,
        int err = 0;
 
        ctx.cmd.rx_filter_add = *ac;
-       ctx.cmd.rx_filter_add.opcode = IONIC_CMD_RX_FILTER_ADD,
-       ctx.cmd.rx_filter_add.lif_index = cpu_to_le16(lif->index),
+       ctx.cmd.rx_filter_add.opcode = IONIC_CMD_RX_FILTER_ADD;
+       ctx.cmd.rx_filter_add.lif_index = cpu_to_le16(lif->index);
 
        spin_lock_bh(&lif->rx_filters.lock);
        f = ionic_rx_filter_find(lif, &ctx.cmd.rx_filter_add);