Messages in this thread | | | Subject | Re: [PATCH] net: smc911x: Fix min() use in debug code | From | patchwork-bot+netdevbpf@kernel ... | Date | Wed, 18 May 2022 13:20:11 +0000 |
| |
Hello:
This patch was applied to netdev/net-next.git (master) by David S. Miller <davem@davemloft.net>:
On Wed, 18 May 2022 11:04:19 +0200 you wrote: > If ENABLE_SMC_DEBUG_PKTS=1: > > drivers/net/ethernet/smsc/smc911x.c: In function ‘smc911x_hardware_send_pkt’: > include/linux/minmax.h:20:28: error: comparison of distinct pointer types lacks a cast [-Werror] > 20 | (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) > | ^~ > drivers/net/ethernet/smsc/smc911x.c:483:17: note: in expansion of macro ‘min’ > 483 | PRINT_PKT(buf, min(len, 64)); > > [...]
Here is the summary with links: - net: smc911x: Fix min() use in debug code https://git.kernel.org/netdev/net-next/c/a3641ca416a3
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |