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 PPE_IP_PROTO_CHK register definitions

Fix typo in PPE_IP_PROTO_CHK_IPV4_MASK and PPE_IP_PROTO_CHK_IPV6_MASK
register mask definitions. This is not a real problem since this
register is not actually used in the current codebase.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Lorenzo Bianconi and committed by
Jakub Kicinski
e156dd6b bf7154ff

+2 -2
+2 -2
drivers/net/ethernet/airoha/airoha_regs.h
··· 237 237 #define PPE_FLOW_CFG_IP4_TCP_FRAG_MASK BIT(6) 238 238 239 239 #define REG_PPE_IP_PROTO_CHK(_n) (((_n) ? PPE2_BASE : PPE1_BASE) + 0x208) 240 - #define PPE_IP_PROTO_CHK_IPV4_MASK GENMASK(15, 0) 241 - #define PPE_IP_PROTO_CHK_IPV6_MASK GENMASK(31, 16) 240 + #define PPE_IP_PROTO_CHK_IPV4_MASK GENMASK(31, 16) 241 + #define PPE_IP_PROTO_CHK_IPV6_MASK GENMASK(15, 0) 242 242 243 243 #define REG_PPE_TB_CFG(_n) (((_n) ? PPE2_BASE : PPE1_BASE) + 0x21c) 244 244 #define PPE_SRAM_TB_NUM_ENTRY_MASK GENMASK(26, 24)