Skip to content

Commit efc7ce0

Browse files
standby24x7davem330
authored andcommitted
net: bnx2x: Fix typo in bnx2x driver
Correct spelling typo in bnx2x driver Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 00acda6 commit efc7ce0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1702,7 +1702,7 @@ static int bnx2x_set_eee(struct net_device *dev, struct ethtool_eee *edata)
17021702
SHMEM_EEE_ADV_STATUS_SHIFT);
17031703
if ((advertised != (eee_cfg & SHMEM_EEE_ADV_STATUS_MASK))) {
17041704
DP(BNX2X_MSG_ETHTOOL,
1705-
"Direct manipulation of EEE advertisment is not supported\n");
1705+
"Direct manipulation of EEE advertisement is not supported\n");
17061706
return -EINVAL;
17071707
}
17081708

drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9941,7 +9941,7 @@ static int bnx2x_848x3_config_init(struct bnx2x_phy *phy,
99419941
else
99429942
rc = bnx2x_8483x_disable_eee(phy, params, vars);
99439943
if (rc) {
9944-
DP(NETIF_MSG_LINK, "Failed to set EEE advertisment\n");
9944+
DP(NETIF_MSG_LINK, "Failed to set EEE advertisement\n");
99459945
return rc;
99469946
}
99479947
} else {
@@ -12987,7 +12987,7 @@ static u8 bnx2x_analyze_link_error(struct link_params *params,
1298712987
DP(NETIF_MSG_LINK, "Analyze TX Fault\n");
1298812988
break;
1298912989
default:
12990-
DP(NETIF_MSG_LINK, "Analyze UNKOWN\n");
12990+
DP(NETIF_MSG_LINK, "Analyze UNKNOWN\n");
1299112991
}
1299212992
DP(NETIF_MSG_LINK, "Link changed:[%x %x]->%x\n", vars->link_up,
1299312993
old_status, status);

0 commit comments

Comments
 (0)