lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ