lkml.org 
[lkml]   [2022]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.19 25/32] ARM: crypto: comment out gcc warning that breaks clang builds
    Date
    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>
    Acked-by: Arnd Bergmann <arnd@arndb.de>
    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
    @@ -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"

    \
     
     \ /
      Last update: 2022-08-09 20:06    [W:3.281 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site