Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp1940988imn; Mon, 1 Aug 2022 05:51:04 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tUdtMFVCXeZKld6pFpcZ2QV5/tfYkQAQysHHWDMauZp3pytaLKJ3YGabvLBd07S534Me25 X-Received: by 2002:a17:907:3e07:b0:72e:e1e2:1415 with SMTP id hp7-20020a1709073e0700b0072ee1e21415mr12440894ejc.596.1659358264361; Mon, 01 Aug 2022 05:51:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659358264; cv=none; d=google.com; s=arc-20160816; b=fLsoBFBbWhbVDNqTKaKQY52r+qeQB9UHYkeoiLJ61GSHqFsPgLjgev37g5Uyivdyfx 6gHrlI6EQ8tMnyZJxWrMOizzqXOgtFsXeTaVNFJ4JekeJegcZOukpP6vs+lYONRnjesb o37nzZ5TpnvCXQjZElclm93V5ZmxBsbUBPLmgMjlx657pAYgqMDF/8NC0feG+deV/OE8 eJk11RZLy/GJ0JaDGnH3pRN8qrIHlRyk9u3SJidhMKebXSagW29DVBRbAy++TgBgcghl 5Bh1zPbpXhNN0R8dRTtilTAzK4YU0GEPI2JVewcP0gnmRkQQ1JwUMXBLksVxmjA3srbZ 2HyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=6L9iAgWiNaXsW/Gz3JfPYMn3RCu5RqstHGwKmrpw6MY=; b=l4EU+e6LcHzSq92/ixG0t5n0e5vYLzbGqkQRXHVlUVp2OpllNzkbyhPO8lhOdE0Wks MDm3qjpp+KuDj9sm1hQq5eRsQlnledLUOCc6Yt0CSioTJG5zU4uoxxJtid9vRyAnJEI6 siFo/urH1k/jKNypZUMJB9RtS23asygMpKAMxsFLVxNRWeJNGVshVdlzXlsilTlcvWDy 2tm/5XgLCDey7ljBKMOmw1UXpAv5laHoLiD24a09uUulHL4AVs2sAaqoE9gdBlvSLuUT nvzG1qL6V9dIuwamJYZ1lw++JJLq/gAjwHziN0OJpMZ1KOW2eq/9ktqzfEKCJZOTlUdO 4LpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="hh1/XWPN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f23-20020a170906495700b00730994796afsi412105ejt.638.2022.08.01.05.50.38; Mon, 01 Aug 2022 05:51:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="hh1/XWPN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232442AbiHAL4d (ORCPT + 99 others); Mon, 1 Aug 2022 07:56:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232542AbiHALzm (ORCPT ); Mon, 1 Aug 2022 07:55:42 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EB7B46D91; Mon, 1 Aug 2022 04:51:20 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 55FFEB81171; Mon, 1 Aug 2022 11:51:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6038C433D6; Mon, 1 Aug 2022 11:51:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1659354677; bh=ovaRUObMAvZXzLI3pFsi8aRPVpgULcDH1zTnBrKal/Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hh1/XWPNP4WzjpupoijT4NrKSa2Dxy/60p1BnoY5qIIXGIHz6eemYuw4c7IVtp+ne Zh5dmWb719IkZDdJ36QlmWiGdDLWXs6bemfpJQ7Ucmhe2yP26AKq24EM+c4c0A9wOT AbHF9g3oY13L7oOR9eBIArErWxqrrqSrQ0LmTOFs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Greg Kroah-Hartman , "Jason A. Donenfeld" , "Justin M. Forbes" , Ard Biesheuvel , Arnd Bergmann , Nicolas Pitre , Nathan Chancellor , Nick Desaulniers Subject: [PATCH 5.10 47/65] ARM: crypto: comment out gcc warning that breaks clang builds Date: Mon, 1 Aug 2022 13:47:04 +0200 Message-Id: <20220801114135.689220683@linuxfoundation.org> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220801114133.641770326@linuxfoundation.org> References: <20220801114133.641770326@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 Acked-by: 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 @@ -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"