Re: [PATCH net-next 1/2] net/xgene: fix Wvoid-pointer-to-enum-cast warning

From: patchwork-bot+netdevbpf
Date: Fri Aug 11 2023 - 05:00:36 EST


Hello:

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

On Thu, 10 Aug 2023 12:39:22 +0200 you wrote:
> 'enet_id' is an enum, thus cast of pointer on 64-bit compile test with
> W=1 causes:
>
> xgene_enet_main.c:2044:20: error: cast to smaller integer type 'enum xgene_enet_id' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- [net-next,1/2] net/xgene: fix Wvoid-pointer-to-enum-cast warning
https://git.kernel.org/netdev/net-next/c/c5b0c34fae1e
- [net-next,2/2] net/marvell: fix Wvoid-pointer-to-enum-cast warning
https://git.kernel.org/netdev/net-next/c/e5cd429e7928

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