mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 23:24:50 +00:00
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>
This commit is contained in:
parent
00acda68b5
commit
efc7ce0334
2 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||||
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,
|
||||||
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);
|
||||||
|
|
Loading…
Reference in a new issue