Commit efc7ce03 authored by Masanari Iida's avatar Masanari Iida Committed by David S. Miller

net: bnx2x: Fix typo in bnx2x driver

Correct spelling typo in bnx2x driver
Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 00acda68
...@@ -1702,7 +1702,7 @@ static int bnx2x_set_eee(struct net_device *dev, struct ethtool_eee *edata) ...@@ -1702,7 +1702,7 @@ static int bnx2x_set_eee(struct net_device *dev, struct ethtool_eee *edata)
SHMEM_EEE_ADV_STATUS_SHIFT); SHMEM_EEE_ADV_STATUS_SHIFT);
if ((advertised != (eee_cfg & SHMEM_EEE_ADV_STATUS_MASK))) { if ((advertised != (eee_cfg & SHMEM_EEE_ADV_STATUS_MASK))) {
DP(BNX2X_MSG_ETHTOOL, DP(BNX2X_MSG_ETHTOOL,
"Direct manipulation of EEE advertisment is not supported\n"); "Direct manipulation of EEE advertisement is not supported\n");
return -EINVAL; return -EINVAL;
} }
......
...@@ -9941,7 +9941,7 @@ static int bnx2x_848x3_config_init(struct bnx2x_phy *phy, ...@@ -9941,7 +9941,7 @@ static int bnx2x_848x3_config_init(struct bnx2x_phy *phy,
else else
rc = bnx2x_8483x_disable_eee(phy, params, vars); rc = bnx2x_8483x_disable_eee(phy, params, vars);
if (rc) { if (rc) {
DP(NETIF_MSG_LINK, "Failed to set EEE advertisment\n"); DP(NETIF_MSG_LINK, "Failed to set EEE advertisement\n");
return rc; return rc;
} }
} else { } else {
...@@ -12987,7 +12987,7 @@ static u8 bnx2x_analyze_link_error(struct link_params *params, ...@@ -12987,7 +12987,7 @@ static u8 bnx2x_analyze_link_error(struct link_params *params,
DP(NETIF_MSG_LINK, "Analyze TX Fault\n"); DP(NETIF_MSG_LINK, "Analyze TX Fault\n");
break; break;
default: default:
DP(NETIF_MSG_LINK, "Analyze UNKOWN\n"); DP(NETIF_MSG_LINK, "Analyze UNKNOWN\n");
} }
DP(NETIF_MSG_LINK, "Link changed:[%x %x]->%x\n", vars->link_up, DP(NETIF_MSG_LINK, "Link changed:[%x %x]->%x\n", vars->link_up,
old_status, status); old_status, status);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment