Patch "ARM: crypto: comment out gcc warning that breaks clang builds" has been added to the 4.14-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ARM: crypto: comment out gcc warning that breaks clang builds

to the 4.14-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     arm-crypto-comment-out-gcc-warning-that-breaks-clang-builds.patch
and it can be found in the queue-4.14 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From gregkh@xxxxxxxxxxxxxxxxxxx  Sun Jul 31 12:13:26 2022
From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 31 Jul 2022 12:05:51 +0200
Subject: ARM: crypto: comment out gcc warning that breaks clang builds
To: stable@xxxxxxxxxxxxxxx
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>, "Jason A. Donenfeld" <Jason@xxxxxxxxx>, "Justin M. Forbes" <jforbes@xxxxxxxxxxxxxxxxx>, Ard Biesheuvel <ardb@xxxxxxxxxx>, Arnd Bergmann <arnd@xxxxxxxxxx>, Nicolas Pitre <nico@xxxxxxxxxx>, Nathan Chancellor <nathan@xxxxxxxxxx>, Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
Message-ID: <20220731100551.3679874-1-gregkh@xxxxxxxxxxxxxxxxxxx>

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>
---
 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"


Patches currently in stable-queue which might be from gregkh@xxxxxxxxxxxxxxxxxxx are

queue-4.14/bluetooth-l2cap-fix-use-after-free-caused-by-l2cap_chan_put.patch
queue-4.14/scsi-ufs-host-hold-reference-returned-by-of_parse_phandle.patch
queue-4.14/s390-archrandom-prevent-cpacf-trng-invocations-in-interrupt-context.patch
queue-4.14/ntfs-fix-use-after-free-in-ntfs_ucsncmp.patch
queue-4.14/arm-crypto-comment-out-gcc-warning-that-breaks-clang-builds.patch
queue-4.14/net-ping6-fix-memleak-in-ipv6_renew_options.patch



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux