Re: [PATCH v2] net: sparx5: Fix return type of sparx5_port_xmit_impl
Date: Mon Oct 03 2022 - 05:51:26 EST
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:
On Thu, 29 Sep 2022 11:19:47 -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 sparx5_port_xmit_impl should be changed from int to
Here is the summary with links:
- [v2] net: sparx5: Fix return type of sparx5_port_xmit_impl
You are awesome, thank you!
Deet-doot-dot, I am a bot.