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]
Message-Id: <163698601152.19991.13935763255754161880.git-patchwork-notify@kernel.org>
Date:   Mon, 15 Nov 2021 14:20:11 +0000
From:   patchwork-bot+netdevbpf@...nel.org
To:     Guo Zhengkui <guozhengkui@...o.com>
Cc:     davem@...emloft.net, kuba@...nel.org, moyufeng@...wei.com,
        huangguangbin2@...wei.com, sean.anderson@...o.com,
        huangdaode@...wei.com, arnd@...db.de, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org, kernel@...o.com,
        colomar.6.4.3@...il.com
Subject: Re: [PATCH] hinic: use ARRAY_SIZE instead of ARRAY_LEN

Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@...emloft.net>:

On Mon, 15 Nov 2021 13:00:10 +0800 you wrote:
> ARRAY_SIZE defined in <linux/kernel.h> is safer than self-defined
> macros to get size of an array such as ARRAY_LEN used here. Because
> ARRAY_SIZE uses __must_be_array(arr) to ensure arr is really an array.
> 
> Reported-by: Alejandro Colomar <colomar.6.4.3@...il.com>
> Signed-off-by: Guo Zhengkui <guozhengkui@...o.com>
> 
> [...]

Here is the summary with links:
  - hinic: use ARRAY_SIZE instead of ARRAY_LEN
    https://git.kernel.org/netdev/net-next/c/9ed941178ce9

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