public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [RESEND PATCH net-next] net: airoha: fix typo in function name
@ 2026-02-26  2:37 Zhengping Zhang
  2026-02-26  7:38 ` Lorenzo Bianconi
  2026-02-27  3:30 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Zhengping Zhang @ 2026-02-26  2:37 UTC (permalink / raw)
  To: lorenzo
  Cc: andrew+netdev, davem, edumazet, kuba, pabeni, linux-arm-kernel,
	linux-mediatek, netdev, linux-kernel, matthias.bgg,
	angelogioacchino.delregno, zhengping.zhang, upstream,
	Zhengping Zhang, Simon Horman

Corrected the typo in the function name from
 `airhoa_is_lan_gdm_port` to `airoha_is_lan_gdm_port`. This change ensures
 consistency in the API naming convention.

Signed-off-by: Zhengping Zhang <aquapinn@qq.com>
Reviewed-by: Simon Horman <horms@kernel.org>
---
 drivers/net/ethernet/airoha/airoha_eth.c | 2 +-
 drivers/net/ethernet/airoha/airoha_eth.h | 2 +-
 drivers/net/ethernet/airoha/airoha_ppe.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/ethernet/airoha/airoha_eth.c b/drivers/net/ethernet/airoha/airoha_eth.c
index 62bcbbbe2a95..3779f93b47bc 100644
--- a/drivers/net/ethernet/airoha/airoha_eth.c
+++ b/drivers/net/ethernet/airoha/airoha_eth.c
@@ -76,7 +76,7 @@ static void airoha_set_macaddr(struct airoha_gdm_port *port, const u8 *addr)
 	struct airoha_eth *eth = port->qdma->eth;
 	u32 val, reg;
 
-	reg = airhoa_is_lan_gdm_port(port) ? REG_FE_LAN_MAC_H
+	reg = airoha_is_lan_gdm_port(port) ? REG_FE_LAN_MAC_H
 					   : REG_FE_WAN_MAC_H;
 	val = (addr[0] << 16) | (addr[1] << 8) | addr[2];
 	airoha_fe_wr(eth, reg, val);
diff --git a/drivers/net/ethernet/airoha/airoha_eth.h b/drivers/net/ethernet/airoha/airoha_eth.h
index 20e602d61e61..59ed7569f7c3 100644
--- a/drivers/net/ethernet/airoha/airoha_eth.h
+++ b/drivers/net/ethernet/airoha/airoha_eth.h
@@ -626,7 +626,7 @@ u32 airoha_rmw(void __iomem *base, u32 offset, u32 mask, u32 val);
 #define airoha_qdma_clear(qdma, offset, val)			\
 	airoha_rmw((qdma)->regs, (offset), (val), 0)
 
-static inline bool airhoa_is_lan_gdm_port(struct airoha_gdm_port *port)
+static inline bool airoha_is_lan_gdm_port(struct airoha_gdm_port *port)
 {
 	/* GDM1 port on EN7581 SoC is connected to the lan dsa switch.
 	 * GDM{2,3,4} can be used as wan port connected to an external
diff --git a/drivers/net/ethernet/airoha/airoha_ppe.c b/drivers/net/ethernet/airoha/airoha_ppe.c
index 2221bafaf7c9..9e07b4653af1 100644
--- a/drivers/net/ethernet/airoha/airoha_ppe.c
+++ b/drivers/net/ethernet/airoha/airoha_ppe.c
@@ -321,7 +321,7 @@ static int airoha_ppe_foe_entry_prepare(struct airoha_eth *eth,
 			/* For downlink traffic consume SRAM memory for hw
 			 * forwarding descriptors queue.
 			 */
-			if (airhoa_is_lan_gdm_port(port))
+			if (airoha_is_lan_gdm_port(port))
 				val |= AIROHA_FOE_IB2_FAST_PATH;
 			if (dsa_port >= 0)
 				val |= FIELD_PREP(AIROHA_FOE_IB2_NBQ,
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [RESEND PATCH net-next] net: airoha: fix typo in function name
  2026-02-26  2:37 [RESEND PATCH net-next] net: airoha: fix typo in function name Zhengping Zhang
@ 2026-02-26  7:38 ` Lorenzo Bianconi
  2026-02-27  3:30 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Lorenzo Bianconi @ 2026-02-26  7:38 UTC (permalink / raw)
  To: Zhengping Zhang
  Cc: andrew+netdev, davem, edumazet, kuba, pabeni, linux-arm-kernel,
	linux-mediatek, netdev, linux-kernel, matthias.bgg,
	angelogioacchino.delregno, zhengping.zhang, upstream,
	Simon Horman

[-- Attachment #1: Type: text/plain, Size: 2590 bytes --]

> Corrected the typo in the function name from
>  `airhoa_is_lan_gdm_port` to `airoha_is_lan_gdm_port`. This change ensures
>  consistency in the API naming convention.

Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>

> 
> Signed-off-by: Zhengping Zhang <aquapinn@qq.com>
> Reviewed-by: Simon Horman <horms@kernel.org>
> ---
>  drivers/net/ethernet/airoha/airoha_eth.c | 2 +-
>  drivers/net/ethernet/airoha/airoha_eth.h | 2 +-
>  drivers/net/ethernet/airoha/airoha_ppe.c | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/net/ethernet/airoha/airoha_eth.c b/drivers/net/ethernet/airoha/airoha_eth.c
> index 62bcbbbe2a95..3779f93b47bc 100644
> --- a/drivers/net/ethernet/airoha/airoha_eth.c
> +++ b/drivers/net/ethernet/airoha/airoha_eth.c
> @@ -76,7 +76,7 @@ static void airoha_set_macaddr(struct airoha_gdm_port *port, const u8 *addr)
>  	struct airoha_eth *eth = port->qdma->eth;
>  	u32 val, reg;
>  
> -	reg = airhoa_is_lan_gdm_port(port) ? REG_FE_LAN_MAC_H
> +	reg = airoha_is_lan_gdm_port(port) ? REG_FE_LAN_MAC_H
>  					   : REG_FE_WAN_MAC_H;
>  	val = (addr[0] << 16) | (addr[1] << 8) | addr[2];
>  	airoha_fe_wr(eth, reg, val);
> diff --git a/drivers/net/ethernet/airoha/airoha_eth.h b/drivers/net/ethernet/airoha/airoha_eth.h
> index 20e602d61e61..59ed7569f7c3 100644
> --- a/drivers/net/ethernet/airoha/airoha_eth.h
> +++ b/drivers/net/ethernet/airoha/airoha_eth.h
> @@ -626,7 +626,7 @@ u32 airoha_rmw(void __iomem *base, u32 offset, u32 mask, u32 val);
>  #define airoha_qdma_clear(qdma, offset, val)			\
>  	airoha_rmw((qdma)->regs, (offset), (val), 0)
>  
> -static inline bool airhoa_is_lan_gdm_port(struct airoha_gdm_port *port)
> +static inline bool airoha_is_lan_gdm_port(struct airoha_gdm_port *port)
>  {
>  	/* GDM1 port on EN7581 SoC is connected to the lan dsa switch.
>  	 * GDM{2,3,4} can be used as wan port connected to an external
> diff --git a/drivers/net/ethernet/airoha/airoha_ppe.c b/drivers/net/ethernet/airoha/airoha_ppe.c
> index 2221bafaf7c9..9e07b4653af1 100644
> --- a/drivers/net/ethernet/airoha/airoha_ppe.c
> +++ b/drivers/net/ethernet/airoha/airoha_ppe.c
> @@ -321,7 +321,7 @@ static int airoha_ppe_foe_entry_prepare(struct airoha_eth *eth,
>  			/* For downlink traffic consume SRAM memory for hw
>  			 * forwarding descriptors queue.
>  			 */
> -			if (airhoa_is_lan_gdm_port(port))
> +			if (airoha_is_lan_gdm_port(port))
>  				val |= AIROHA_FOE_IB2_FAST_PATH;
>  			if (dsa_port >= 0)
>  				val |= FIELD_PREP(AIROHA_FOE_IB2_NBQ,
> -- 
> 2.43.0
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RESEND PATCH net-next] net: airoha: fix typo in function name
  2026-02-26  2:37 [RESEND PATCH net-next] net: airoha: fix typo in function name Zhengping Zhang
  2026-02-26  7:38 ` Lorenzo Bianconi
@ 2026-02-27  3:30 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-02-27  3:30 UTC (permalink / raw)
  To: Zhengping Zhang
  Cc: lorenzo, andrew+netdev, davem, edumazet, kuba, pabeni,
	linux-arm-kernel, linux-mediatek, netdev, linux-kernel,
	matthias.bgg, angelogioacchino.delregno, zhengping.zhang,
	upstream, horms

Hello:

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

On Thu, 26 Feb 2026 10:37:08 +0800 you wrote:
> Corrected the typo in the function name from
>  `airhoa_is_lan_gdm_port` to `airoha_is_lan_gdm_port`. This change ensures
>  consistency in the API naming convention.
> 
> Signed-off-by: Zhengping Zhang <aquapinn@qq.com>
> Reviewed-by: Simon Horman <horms@kernel.org>
> 
> [...]

Here is the summary with links:
  - [RESEND,net-next] net: airoha: fix typo in function name
    https://git.kernel.org/netdev/net-next/c/aebf15e8eb09

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-02-27  3:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-26  2:37 [RESEND PATCH net-next] net: airoha: fix typo in function name Zhengping Zhang
2026-02-26  7:38 ` Lorenzo Bianconi
2026-02-27  3:30 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox