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]
Message-ID: <20260113002800.GM3634291@ZenIV>
Date: Tue, 13 Jan 2026 00:28:00 +0000
From: Al Viro <viro@...iv.linux.org.uk>
To: David Laight <david.laight.linux@...il.com>
Cc: Peter Zijlstra <peterz@...radead.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Eric Dumazet <edumazet@...gle.com>, oe-kbuild-all@...ts.linux.dev,
	linux-kernel@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>,
	Maciej Żenczykowski <maze@...gle.com>,
	Will Deacon <will@...nel.org>,
	"Paul E. McKenney" <paulmck@...nel.org>
Subject: Re: include/net/sock.h:2100:16: sparse: sparse: cast to non-scalar

On Mon, Jan 12, 2026 at 10:39:23PM +0000, David Laight wrote:

> Using __auto_type y = (1 ? 0 : 0+x) gives a non-const 'y' even with gcc 10.

... which does not work at all for the example that has started
that thread:

typedef struct {
        uid_t val;
} kuid_t;

Arithmetics is not an option for existing uses.  , and ?: would be OK, but
they are even worse than return type - at least that got fixed in 8.4.

As for the -Wignored-qualifiers...  Sure, that's included into -Wextra, along
with many other insanities - -Wunused-parameter, for example.  Grep for
-Wextra and you'll see...

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ