Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: airoha: fix typo in function name

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>
Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/tencent_E4FD5D6BC0131E617D848896F5F9FCED6E0A@qq.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Zhengping Zhang and committed by
Jakub Kicinski
aebf15e8 b70190d7

+3 -3
+1 -1
drivers/net/ethernet/airoha/airoha_eth.c
··· 76 76 struct airoha_eth *eth = port->qdma->eth; 77 77 u32 val, reg; 78 78 79 - reg = airhoa_is_lan_gdm_port(port) ? REG_FE_LAN_MAC_H 79 + reg = airoha_is_lan_gdm_port(port) ? REG_FE_LAN_MAC_H 80 80 : REG_FE_WAN_MAC_H; 81 81 val = (addr[0] << 16) | (addr[1] << 8) | addr[2]; 82 82 airoha_fe_wr(eth, reg, val);
+1 -1
drivers/net/ethernet/airoha/airoha_eth.h
··· 626 626 #define airoha_qdma_clear(qdma, offset, val) \ 627 627 airoha_rmw((qdma)->regs, (offset), (val), 0) 628 628 629 - static inline bool airhoa_is_lan_gdm_port(struct airoha_gdm_port *port) 629 + static inline bool airoha_is_lan_gdm_port(struct airoha_gdm_port *port) 630 630 { 631 631 /* GDM1 port on EN7581 SoC is connected to the lan dsa switch. 632 632 * GDM{2,3,4} can be used as wan port connected to an external
+1 -1
drivers/net/ethernet/airoha/airoha_ppe.c
··· 321 321 /* For downlink traffic consume SRAM memory for hw 322 322 * forwarding descriptors queue. 323 323 */ 324 - if (airhoa_is_lan_gdm_port(port)) 324 + if (airoha_is_lan_gdm_port(port)) 325 325 val |= AIROHA_FOE_IB2_FAST_PATH; 326 326 if (dsa_port >= 0) 327 327 val |= FIELD_PREP(AIROHA_FOE_IB2_NBQ,