Re: [PATCH] net: ethernet: litex: Fix return type of liteeth_start_xmit

From: patchwork-bot+netdevbpf
Date: Mon Sep 19 2022 - 21:41:10 EST


Hello:

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

On Mon, 12 Sep 2022 12:53:07 -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 liteeth_start_xmit should be changed from int to
> netdev_tx_t.
>
> [...]

Here is the summary with links:
- net: ethernet: litex: Fix return type of liteeth_start_xmit
https://git.kernel.org/netdev/net-next/c/40662333dd7c

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html