Re: [tip:timers/vdso 12/14] net/rds/ib_cm.c:96:35: sparse: sparse: incorrect type in argument 1 (different modifiers)

Linus Torvalds <[email protected]> Thu, 15 Jan 2026 15:03:52 -0800
Newsgroups org.kernel.vger.linux-sparse,dev.linux.lists.oe-kbuild-all,org.kernel.vger.linux-kernel
Message-ID <CAHk-=wgXxY4NTZW8rcrXqx3h=j+t2445VWccbpywXYdoL_V0qA@mail.gmail.com>
On Thu, 15 Jan 2026 at 13:31, Peter Zijlstra <[email protected]> wrote:
>
> GCC-14 :-/ The GCC-8.4 one was the function return value trick.

Right you are. And yeah, us moving on to gcc-14 as a minimum version
is not imminent.

Still, while we can't force it, lots of distros are on gcc-15, so
while we'd have the _Generic() macro as a fallback for older versions,
at least most developers would hopefully get the nice clean modern
__typeof_unqual__ thing...

           Linus