diff mbox series

[next] net: mana: Fix spelling mistake "enforecement" -> "enforcement"

Message ID 20231128095304.515492-1-colin.i.king@gmail.com (mailing list archive)
State Accepted
Commit f422544118cbdfc3bba7b7c5189e18147acb9047
Delegated to: Netdev Maintainers
Headers show
Series [next] net: mana: Fix spelling mistake "enforecement" -> "enforcement" | expand

Checks

Context Check Description
netdev/series_format warning Single patches do not need cover letters; Target tree name not specified in the subject
netdev/codegen success Generated files up to date
netdev/tree_selection success Guessed tree name to be net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 1115 this patch: 1115
netdev/cc_maintainers success CCed 14 of 14 maintainers
netdev/build_clang success Errors and warnings before: 1142 this patch: 1142
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 1142 this patch: 1142
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 26 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Colin Ian King Nov. 28, 2023, 9:53 a.m. UTC
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>
---
 drivers/net/ethernet/microsoft/mana/mana_en.c      | 2 +-
 drivers/net/ethernet/microsoft/mana/mana_ethtool.c | 4 ++--
 include/net/mana/mana.h                            | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

Comments

Shradha Gupta Nov. 28, 2023, 2:16 p.m. UTC | #1
On Tue, Nov 28, 2023 at 09:53:04AM +0000, Colin Ian King wrote:
> 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>
> ---
>  drivers/net/ethernet/microsoft/mana/mana_en.c      | 2 +-
>  drivers/net/ethernet/microsoft/mana/mana_ethtool.c | 4 ++--
>  include/net/mana/mana.h                            | 2 +-
>  3 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/net/ethernet/microsoft/mana/mana_en.c b/drivers/net/ethernet/microsoft/mana/mana_en.c
> index 6b857188b9da..bc65cc83b662 100644
> --- a/drivers/net/ethernet/microsoft/mana/mana_en.c
> +++ b/drivers/net/ethernet/microsoft/mana/mana_en.c
> @@ -2445,7 +2445,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;
> diff --git a/drivers/net/ethernet/microsoft/mana/mana_ethtool.c b/drivers/net/ethernet/microsoft/mana/mana_ethtool.c
> index 7077d647d99a..777e65b8223d 100644
> --- a/drivers/net/ethernet/microsoft/mana/mana_ethtool.c
> +++ b/drivers/net/ethernet/microsoft/mana/mana_ethtool.c
> @@ -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,
> diff --git a/include/net/mana/mana.h b/include/net/mana/mana.h
> index 5567f5bc8eb6..76147feb0d10 100644
> --- a/include/net/mana/mana.h
> +++ b/include/net/mana/mana.h
> @@ -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;
> -- 
> 2.39.2
Signed-off-by: Shradha Gupta <shradhagupta@linux.microsoft.com>
patchwork-bot+netdevbpf@kernel.org Nov. 30, 2023, 4:20 a.m. UTC | #2
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 28 Nov 2023 09:53:04 +0000 you wrote:
> 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>
> ---
>  drivers/net/ethernet/microsoft/mana/mana_en.c      | 2 +-
>  drivers/net/ethernet/microsoft/mana/mana_ethtool.c | 4 ++--
>  include/net/mana/mana.h                            | 2 +-
>  3 files changed, 4 insertions(+), 4 deletions(-)

Here is the summary with links:
  - [next] net: mana: Fix spelling mistake "enforecement" -> "enforcement"
    https://git.kernel.org/netdev/net-next/c/f422544118cb

You are awesome, thank you!
diff mbox series

Patch

diff --git a/drivers/net/ethernet/microsoft/mana/mana_en.c b/drivers/net/ethernet/microsoft/mana/mana_en.c
index 6b857188b9da..bc65cc83b662 100644
--- a/drivers/net/ethernet/microsoft/mana/mana_en.c
+++ b/drivers/net/ethernet/microsoft/mana/mana_en.c
@@ -2445,7 +2445,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;
diff --git a/drivers/net/ethernet/microsoft/mana/mana_ethtool.c b/drivers/net/ethernet/microsoft/mana/mana_ethtool.c
index 7077d647d99a..777e65b8223d 100644
--- a/drivers/net/ethernet/microsoft/mana/mana_ethtool.c
+++ b/drivers/net/ethernet/microsoft/mana/mana_ethtool.c
@@ -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,
diff --git a/include/net/mana/mana.h b/include/net/mana/mana.h
index 5567f5bc8eb6..76147feb0d10 100644
--- a/include/net/mana/mana.h
+++ b/include/net/mana/mana.h
@@ -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;