Re: [PATCH] net: lan966x: Fix return type of lan966x_port_xmit

patchwork-bot+netdevbpf
2022-10-03T23:50:29Z

Hello:

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

On Thu, 29 Sep 2022 11:27:03 -0700 you wrote:
> The ndo_start_xmit field in net_device_ops is expected to be of type
> netdev_tx_t (*ndo_start_xmit)(struct sk_buff *skb, struct net_device *dev).
>
> The mismatched return type breaks forward edge kCFI since the underlying
> function definition does not match the function hook definition.
>
> The return type of lan966x_port_xmit should be changed from int to
> netdev_tx_t.
>
> [...]

Here is the summary with links:
- net: lan966x: Fix return type of lan966x_port_xmit
https://git.kernel.org/netdev/net-next/c/450a580fc4b5

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.