Re: [PATCH] bonding (gcc13): synchronize bond_{a,t}lb_xmit() types
From: patchwork-bot+netdevbpf
Date: Wed Nov 02 2022 - 23:50:38 EST
Hello:
This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 31 Oct 2022 12:44:09 +0100 you wrote:
> Both bond_alb_xmit() and bond_tlb_xmit() produce a valid warning with
> gcc-13:
> drivers/net/bonding/bond_alb.c:1409:13: error: conflicting types for 'bond_tlb_xmit' due to enum/integer mismatch; have 'netdev_tx_t(struct sk_buff *, struct net_device *)' ...
> include/net/bond_alb.h:160:5: note: previous declaration of 'bond_tlb_xmit' with type 'int(struct sk_buff *, struct net_device *)'
>
> drivers/net/bonding/bond_alb.c:1523:13: error: conflicting types for 'bond_alb_xmit' due to enum/integer mismatch; have 'netdev_tx_t(struct sk_buff *, struct net_device *)' ...
> include/net/bond_alb.h:159:5: note: previous declaration of 'bond_alb_xmit' with type 'int(struct sk_buff *, struct net_device *)'
>
> [...]
Here is the summary with links:
- bonding (gcc13): synchronize bond_{a,t}lb_xmit() types
https://git.kernel.org/netdev/net-next/c/777fa87c7682
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html