On Sun, Jul 31, 2022 at 12:05 PM Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> wrote: > > From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> > > The gcc build warning prevents all clang-built kernels from working > properly, so comment it out to fix the build. > > This is a -stable kernel only patch for now, it will be resolved > differently in mainline releases in the future. > > Cc: "Jason A. Donenfeld" <Jason@xxxxxxxxx> > Cc: "Justin M. Forbes" <jforbes@xxxxxxxxxxxxxxxxx> > Cc: Ard Biesheuvel <ardb@xxxxxxxxxx> > Cc: Arnd Bergmann <arnd@xxxxxxxxxx> > Cc: Nicolas Pitre <nico@xxxxxxxxxx> > Cc: Nathan Chancellor <nathan@xxxxxxxxxx> > Cc: Nick Desaulniers <ndesaulniers@xxxxxxxxxx> > Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Acked-by: Arnd Bergmann <arnd@xxxxxxxx> I always resisted this from going into mainline without actually making the code work as intended on clang, but now that mainline kernels get it right and we have decided not to backport the new version, this is the best we can do for LTS backports. Arnd