Thread (2 messages) flat view 2 messages, 2 authors, 2022-09-03

Re: [RESEND PATCH] net: sunplus: Fix return type for implementation of ndo_start_xmit

From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-09-03 04:30:35

Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski [off-list ref]:

On Fri, 2 Sep 2022 16:15:50 +0800 you wrote:
Since Linux now supports CFI, it will be a good idea to fix mismatched
return type for implementation of hooks. Otherwise this might get
cought out by CFI and cause a panic.

spl2sw_ethernet_start_xmit() would return either NETDEV_TX_BUSY or
NETDEV_TX_OK, so change the return type to netdev_tx_t directly.

[...]
Here is the summary with links:
  - [RESEND] net: sunplus: Fix return type for implementation of ndo_start_xmit
    https://git.kernel.org/netdev/net-next/c/7b620e156097

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help