[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-stable-commits
Subject:    Patch "ARM: crypto: comment out gcc warning that breaks clang builds" has been added to the 5.4-stab
From:       <gregkh () linuxfoundation ! org>
Date:       2022-07-31 10:15:42
Message-ID: 165926254240230 () kroah ! com
[Download RAW message or body]


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 5.4-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-5.4 subdirectory.

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


From gregkh@linuxfoundation.org  Sun Jul 31 12:13:26 2022
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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 <gregkh@linuxfoundation.org>, "Jason A. Donenfeld" \
<Jason@zx2c4.com>, "Justin M. Forbes" <jforbes@fedoraproject.org>, Ard Biesheuvel \
<ardb@kernel.org>, Arnd Bergmann <arnd@kernel.org>, Nicolas Pitre <nico@linaro.org>, \
                Nathan Chancellor <nathan@kernel.org>, Nick Desaulniers \
                <ndesaulniers@google.com>
Message-ID: <20220731100551.3679874-1-gregkh@linuxfoundation.org>

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>
---
 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
@@ -26,8 +26,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@linuxfoundation.org are

queue-5.4/bluetooth-l2cap-fix-use-after-free-caused-by-l2cap_chan_put.patch
queue-5.4/scsi-ufs-host-hold-reference-returned-by-of_parse_phandle.patch
queue-5.4/tcp-fix-a-data-race-around-sysctl_tcp_app_win.patch
queue-5.4/ipv6-addrconf-fix-a-null-ptr-deref-bug-for-ip6_ptr.patch
queue-5.4/s390-archrandom-prevent-cpacf-trng-invocations-in-interrupt-context.patch
queue-5.4/tcp-fix-a-data-race-around-sysctl_tcp_limit_output_bytes.patch
queue-5.4/ntfs-fix-use-after-free-in-ntfs_ucsncmp.patch
queue-5.4/tcp-fix-a-data-race-around-sysctl_tcp_nometrics_save.patch
queue-5.4/tcp-fix-a-data-race-around-sysctl_tcp_adv_win_scale.patch
queue-5.4/tcp-fix-a-data-race-around-sysctl_tcp_frto.patch
queue-5.4/tcp-fix-data-races-around-sysctl_tcp_dsack.patch
queue-5.4/arm-crypto-comment-out-gcc-warning-that-breaks-clang-builds.patch
queue-5.4/tcp-fix-a-data-race-around-sysctl_tcp_challenge_ack_limit.patch
queue-5.4/ice-do-not-setup-vlan-for-loopback-vsi.patch
queue-5.4/net-ping6-fix-memleak-in-ipv6_renew_options.patch
queue-5.4/ice-check-dd-eof-bits-on-rx-descriptor-rather-than-eop-rs.patch


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic