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:   Mon, 27 Sep 2021 13:10:07 +0000
From:   patchwork-bot+netdevbpf@...nel.org
To:     Arnd Bergmann <arnd@...nel.org>
Cc:     davem@...emloft.net, kuba@...nel.org, arnd@...db.de,
        nathan@...nel.org, ndesaulniers@...gle.com, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org, llvm@...ts.linux.dev
Subject: Re: [PATCH] cxgb: avoid open-coded offsetof()

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Mon, 27 Sep 2021 14:16:04 +0200 you wrote:
> From: Arnd Bergmann <arnd@...db.de>
> 
> clang-14 does not like the custom offsetof() macro in vsc7326:
> 
> drivers/net/ethernet/chelsio/cxgb/vsc7326.c:597:3: error: performing pointer subtraction with a null pointer has undefined behavior [-Werror,-Wnull-pointer-subtraction]
>                 HW_STAT(RxUnicast, RxUnicastFramesOK),
>                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/net/ethernet/chelsio/cxgb/vsc7326.c:594:56: note: expanded from macro 'HW_STAT'
>         { reg, (&((struct cmac_statistics *)NULL)->stat_name) - (u64 *)NULL }
> 
> [...]

Here is the summary with links:
  - cxgb: avoid open-coded offsetof()
    https://git.kernel.org/netdev/net-next/c/ef5d6356e2ac

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