| 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
| ||
|
Message-Id: <20190326.114225.1356666185241732947.davem@davemloft.net>
Date: Tue, 26 Mar 2019 11:42:25 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: vishal@...lsio.com, clang-built-linux@...glegroups.com,
ndesaulniers@...gle.com, natechancellor@...il.com,
ganeshgr@...lsio.com, leedom@...lsio.com,
rahul.lakkireddy@...lsio.com, arjun@...lsio.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] chelsio: use BUG() instead of BUG_ON(1)
From: Arnd Bergmann <arnd@...db.de>
Date: Mon, 25 Mar 2019 13:49:16 +0100
> clang warns about possible bugs in a dead code branch after
> BUG_ON(1) when CONFIG_PROFILE_ALL_BRANCHES is enabled:
...
> Use BUG() here to create simpler code that clang understands
> correctly.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Applied.
Powered by blists - more mailing lists