mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-04 21:42:31 -04:00
myri10ge: replace comma with semicolons
Commit fd24173439 ("myri10ge: avoid uninitialized variable use")
added commas instead of semicolons
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20260212055028.3248491-1-nichen@iscas.ac.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
@@ -688,9 +688,9 @@ static int myri10ge_get_firmware_capabilities(struct myri10ge_priv *mgp)
|
||||
|
||||
/* probe for IPv6 TSO support */
|
||||
mgp->features = NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_TSO;
|
||||
cmd.data0 = 0,
|
||||
cmd.data1 = 0,
|
||||
cmd.data2 = 0,
|
||||
cmd.data0 = 0;
|
||||
cmd.data1 = 0;
|
||||
cmd.data2 = 0;
|
||||
status = myri10ge_send_cmd(mgp, MXGEFW_CMD_GET_MAX_TSO6_HDR_SIZE,
|
||||
&cmd, 0);
|
||||
if (status == 0) {
|
||||
@@ -821,9 +821,9 @@ static int myri10ge_change_pause(struct myri10ge_priv *mgp, int pause)
|
||||
int status, ctl;
|
||||
|
||||
ctl = pause ? MXGEFW_ENABLE_FLOW_CONTROL : MXGEFW_DISABLE_FLOW_CONTROL;
|
||||
cmd.data0 = 0,
|
||||
cmd.data1 = 0,
|
||||
cmd.data2 = 0,
|
||||
cmd.data0 = 0;
|
||||
cmd.data1 = 0;
|
||||
cmd.data2 = 0;
|
||||
status = myri10ge_send_cmd(mgp, ctl, &cmd, 0);
|
||||
|
||||
if (status) {
|
||||
|
||||
Reference in New Issue
Block a user