[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165288001174.1590.3038393436342538398.git-patchwork-notify@kernel.org>
Date: Wed, 18 May 2022 13:20:11 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Geert Uytterhoeven <geert+renesas@...der.be>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, guozhengkui@...o.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: smc911x: Fix min() use in debug code
Hello:
This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@...emloft.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
Powered by blists - more mailing lists