Re: [tip:timers/vdso 12/14] net/rds/ib_cm.c:96:35: sparse: sparse: incorrect type in argument 1 (different modifiers)
From: Peter Zijlstra
Date: Fri Jan 16 2026 - 03:28:17 EST
On Thu, Jan 15, 2026 at 03:03:52PM -0800, Linus Torvalds wrote:
> On Thu, 15 Jan 2026 at 13:31, Peter Zijlstra <peterz@xxxxxxxxxxxxx> 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...
Absolutely. I'll try and make it happen if tglx doesn't.