From: Greg Kroah-Hartman Date: Sun, 31 Jul 2022 10:15:31 +0000 (+0200) Subject: 4.14-stable patches X-Git-Tag: v5.4.209~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=129d0f3b243c04de94d8e6ae1fcc182a4551f48b;p=thirdparty%2Fkernel%2Fstable-queue.git 4.14-stable patches added patches: arm-crypto-comment-out-gcc-warning-that-breaks-clang-builds.patch --- diff --git a/queue-4.14/arm-crypto-comment-out-gcc-warning-that-breaks-clang-builds.patch b/queue-4.14/arm-crypto-comment-out-gcc-warning-that-breaks-clang-builds.patch new file mode 100644 index 00000000000..c0f0b415ce0 --- /dev/null +++ b/queue-4.14/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.14/series b/queue-4.14/series index 285523ddc15..2bfb44e6ebf 100644 --- a/queue-4.14/series +++ b/queue-4.14/series @@ -5,3 +5,4 @@ scsi-ufs-host-hold-reference-returned-by-of_parse_phandle.patch net-ping6-fix-memleak-in-ipv6_renew_options.patch net-sungem_phy-add-of_node_put-for-reference-returne.patch netfilter-nf_queue-do-not-allow-packet-truncation-be.patch +arm-crypto-comment-out-gcc-warning-that-breaks-clang-builds.patch