Messages in this thread | | | Subject | Re: [PATCH] bnad: fix work_queue type mismatch | From | patchwork-bot+netdevbpf@kernel ... | Date | Wed, 14 Feb 2024 12:50:25 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (main) by David S. Miller <davem@davemloft.net>:
On Tue, 13 Feb 2024 11:07:50 +0100 you wrote: > From: Arnd Bergmann <arnd@arndb.de> > > 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
| |