net: ipvlan: remove __get_unaligned_cpu32 from ipvlan driver
Subsystems (2)
PATCH 1/1 net: ipvlan: remove __get_unaligned_cpu32 from ipvlan driver
The __get_unaligned_cpu32 function is deprecated. So, replace it with the more generic get_unaligned and just cast the input parameter.
Signed-off-by Julian Vetter <[email protected]>
--- drivers/net/ipvlan/ipvlan_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ipvlan/ipvlan_core.c +1 -1
@@ -219,7 +219,7 @@ void *ipvlan_get_L3_hdr(struct ipvl_port *port, struct sk_buff *skb, int *type)unsigned int ipvlan_mac_hash (const unsigned char *addr) { -u32 hash =jhash_1word (__get_unaligned_cpu32 (addr+2 ), +u32 hash =jhash_1word (get_unaligned ((u32 *)(addr +2 )), ipvlan_jhash_secret);return hash &IPVLAN_MAC_FILTER_MASK ;
Signature · 1 line
2.34.1
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 7 lines · On Tue, 8 Apr 2025 11:19:46 +0200 you wrote:
The
__get_unaligned_cpu32function is deprecated. So, replace it with the more genericget_unalignedand just cast the input parameter.Signed-off-by Julian Vetter <[email protected]>--- drivers/net/ipvlan/ipvlan_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- net: ipvlan: remove __get_unaligned_cpu32 from ipvlan driver
https://git.kernel.org/netdev/net-next/c/1635eecdd298
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html