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] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 14 Apr 2020 17:00:06 -0700
From:   Andrew Morton <akpm@...ux-foundation.org>
To:     George Burgess IV <gbiv@...gle.com>
Cc:     ndesaulniers@...gle.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tools/build: tweak unused value workaround

On Tue, 14 Apr 2020 12:56:38 -0700 George Burgess IV <gbiv@...gle.com> wrote:

> Clang has -Wself-assign enabled by default under -Wall, which always
> gets -Werror'ed on this file, causing sync-compare-and-swap to be
> disabled by default. The generally-accepted way to spell "this value is
> intentionally unused," is casting it to `void`. This is accepted by both
> GCC and Clang with -Wall enabled: https://godbolt.org/z/qqZ9r3
> 

What does "disabled by default" mean?  Presumably it should now be
enabled, but I don't think this disabling happens in the mainline
kernel tree?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ