Re: [PATCH] net: lan966x: Fix return type of lan966x_port_xmit
Date: Mon Oct 03 2022 - 19:50:29 EST
This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
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
Here is the summary with links:
- net: lan966x: Fix return type of lan966x_port_xmit
You are awesome, thank you!
Deet-doot-dot, I am a bot.