Re: [tip:timers/vdso 12/14] net/rds/ib_cm.c:96:35: sparse: sparse: incorrect type in argument 1 (different modifiers)
From: Linus Torvalds
Date: Thu Jan 15 2026 - 18:04:12 EST
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...
Linus