Messages in this thread |  | | Subject | Re: [PATCH net] net: fs_enet: Fix warning due to wrong type | | From | patchwork-bot+netdevbpf@kernel ... | | Date | Sat, 10 Aug 2024 05:20:34 +0000 |
| |
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>:
On Thu, 8 Aug 2024 09:16:48 +0200 you wrote: > Building fs_enet on powerpc e500 leads to following warning: > > CC drivers/net/ethernet/freescale/fs_enet/mac-scc.o > In file included from ./include/linux/build_bug.h:5, > from ./include/linux/container_of.h:5, > from ./include/linux/list.h:5, > from ./include/linux/module.h:12, > from drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: > drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': > ./include/linux/err.h:28:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 28 | #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) > | ^ > ./include/linux/compiler.h:77:45: note: in definition of macro 'unlikely' > 77 | # define unlikely(x) __builtin_expect(!!(x), 0) > | ^ > drivers/net/ethernet/freescale/fs_enet/mac-scc.c:138:13: note: in expansion of macro 'IS_ERR_VALUE' > 138 | if (IS_ERR_VALUE(fep->ring_mem_addr)) > | ^~~~~~~~~~~~ > > [...]
Here is the summary with links: - [net] net: fs_enet: Fix warning due to wrong type https://git.kernel.org/netdev/net-next/c/c146f3d19114
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
|  |