From: Greg Kroah-Hartman Date: Sun, 31 Jul 2022 10:15:37 +0000 (+0200) Subject: 4.19-stable patches X-Git-Tag: v5.4.209~30 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=584a112b492560196ff7a66f945010dd8b2fedad;p=thirdparty%2Fkernel%2Fstable-queue.git 4.19-stable patches added patches: arm-crypto-comment-out-gcc-warning-that-breaks-clang-builds.patch --- diff --git a/queue-4.19/arm-crypto-comment-out-gcc-warning-that-breaks-clang-builds.patch b/queue-4.19/arm-crypto-comment-out-gcc-warning-that-breaks-clang-builds.patch new file mode 100644 index 00000000000..c0f0b415ce0 --- /dev/null +++ b/queue-4.19/arm-crypto-comment-out-gcc-warning-that-breaks-clang-builds.patch @@ -0,0 +1,41 @@ +From gregkh@linuxfoundation.org Sun Jul 31 12:13:26 2022 +From: Greg Kroah-Hartman +Date: Sun, 31 Jul 2022 12:05:51 +0200 +Subject: ARM: crypto: comment out gcc warning that breaks clang builds +To: stable@vger.kernel.org +Cc: Greg Kroah-Hartman , "Jason A. Donenfeld" , "Justin M. Forbes" , Ard Biesheuvel , Arnd Bergmann , Nicolas Pitre , Nathan Chancellor , Nick Desaulniers +Message-ID: <20220731100551.3679874-1-gregkh@linuxfoundation.org> + +From: Greg Kroah-Hartman + +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" +Cc: "Justin M. Forbes" +Cc: Ard Biesheuvel +Cc: Arnd Bergmann +Cc: Nicolas Pitre +Cc: Nathan Chancellor +Cc: Nick Desaulniers +Signed-off-by: Greg Kroah-Hartman +--- + arch/arm/lib/xor-neon.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +--- a/arch/arm/lib/xor-neon.c ++++ b/arch/arm/lib/xor-neon.c +@@ -29,8 +29,9 @@ MODULE_LICENSE("GPL"); + * While older versions of GCC do not generate incorrect code, they fail to + * recognize the parallel nature of these functions, and emit plain ARM code, + * which is known to be slower than the optimized ARM code in asm-arm/xor.h. ++ * ++ * #warning This code requires at least version 4.6 of GCC + */ +-#warning This code requires at least version 4.6 of GCC + #endif + + #pragma GCC diagnostic ignored "-Wunused-variable" diff --git a/queue-4.19/series b/queue-4.19/series index d098e4c553e..029a0c8123a 100644 --- a/queue-4.19/series +++ b/queue-4.19/series @@ -22,3 +22,4 @@ i40e-fix-interface-init-with-msi-interrupts-no-msi-x.patch sctp-fix-sleep-in-atomic-context-bug-in-timer-handle.patch netfilter-nf_queue-do-not-allow-packet-truncation-be.patch perf-symbol-correct-address-for-bss-symbols.patch +arm-crypto-comment-out-gcc-warning-that-breaks-clang-builds.patch