Skip to content

Commit

Permalink
net: mana: Fix spelling mistake "enforecement" -> "enforcement"
Browse files Browse the repository at this point in the history
There is a spelling mistake in struct field hc_tx_err_sqpdid_enforecement.
Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Shradha Gupta <shradhagupta@linux.microsoft.com>
Link: https://lore.kernel.org/r/20231128095304.515492-1-colin.i.king@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Colin Ian King authored and Jakub Kicinski committed Nov 30, 2023
1 parent 4b86d7c commit f422544
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/microsoft/mana/mana_en.c
Original file line number Diff line number Diff line change
Expand Up @@ -2446,7 +2446,7 @@ void mana_query_gf_stats(struct mana_port_context *apc)
apc->eth_stats.hc_tx_err_eth_type_enforcement =
resp.tx_err_ethtype_enforcement;
apc->eth_stats.hc_tx_err_sa_enforcement = resp.tx_err_SA_enforcement;
apc->eth_stats.hc_tx_err_sqpdid_enforecement =
apc->eth_stats.hc_tx_err_sqpdid_enforcement =
resp.tx_err_SQPDID_enforcement;
apc->eth_stats.hc_tx_err_cqpdid_enforcement =
resp.tx_err_CQPDID_enforcement;
Expand Down
4 changes: 2 additions & 2 deletions drivers/net/ethernet/microsoft/mana/mana_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ static const struct {
offsetof(struct mana_ethtool_stats, hc_tx_err_eth_type_enforcement)},
{"hc_tx_err_sa_enforcement", offsetof(struct mana_ethtool_stats,
hc_tx_err_sa_enforcement)},
{"hc_tx_err_sqpdid_enforecement",
offsetof(struct mana_ethtool_stats, hc_tx_err_sqpdid_enforecement)},
{"hc_tx_err_sqpdid_enforcement",
offsetof(struct mana_ethtool_stats, hc_tx_err_sqpdid_enforcement)},
{"hc_tx_err_cqpdid_enforcement",
offsetof(struct mana_ethtool_stats, hc_tx_err_cqpdid_enforcement)},
{"hc_tx_err_mtu_violation", offsetof(struct mana_ethtool_stats,
Expand Down
2 changes: 1 addition & 1 deletion include/net/mana/mana.h
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ struct mana_ethtool_stats {
u64 hc_tx_err_vlan_enforcement;
u64 hc_tx_err_eth_type_enforcement;
u64 hc_tx_err_sa_enforcement;
u64 hc_tx_err_sqpdid_enforecement;
u64 hc_tx_err_sqpdid_enforcement;
u64 hc_tx_err_cqpdid_enforcement;
u64 hc_tx_err_mtu_violation;
u64 hc_tx_err_inval_oob;
Expand Down

0 comments on commit f422544

Please sign in to comment.