On Sun, Jul 31, 2022 at 12:05 PM Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
From: Greg Kroah-Hartman gregkh@linuxfoundation.org
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@zx2c4.com Cc: "Justin M. Forbes" jforbes@fedoraproject.org Cc: Ard Biesheuvel ardb@kernel.org Cc: Arnd Bergmann arnd@kernel.org Cc: Nicolas Pitre nico@linaro.org Cc: Nathan Chancellor nathan@kernel.org Cc: Nick Desaulniers ndesaulniers@google.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
Acked-by: Arnd Bergmann arnd@arndb.de
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