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: Thu Jan 15 2026 - 16:31:02 EST
On Thu, Jan 15, 2026 at 01:19:14PM -0800, Linus Torvalds wrote:
> Eventually we can just force that everywhere, but as Al pointed out in
> another thread, we're not quite there yet (ie we'd need clang-19.0.1
> and gcc-8.4 to be able to just switch entirely over to
> __typeof_unqual__).
GCC-14 :-/ The GCC-8.4 one was the function return value trick.