Re: [PATCH] bnad: fix work_queue type mismatch

From: patchwork-bot+netdevbpf
Date: Wed Feb 14 2024 - 07:52:31 EST


Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Tue, 13 Feb 2024 11:07:50 +0100 you wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> clang-16 warns about a function pointer cast:
>
> drivers/net/ethernet/brocade/bna/bnad.c:1995:4: error: cast from 'void (*)(struct delayed_work *)' to 'work_func_t' (aka 'void (*)(struct work_struct *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]
> 1995 | (work_func_t)bnad_tx_cleanup);
> drivers/net/ethernet/brocade/bna/bnad.c:2252:4: error: cast from 'void (*)(void *)' to 'work_func_t' (aka 'void (*)(struct work_struct *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]
> 2252 | (work_func_t)(bnad_rx_cleanup));
>
> [...]

Here is the summary with links:
- bnad: fix work_queue type mismatch
https://git.kernel.org/netdev/net/c/5d07e432cb38

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