From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14EE5C00140 for ; Sun, 31 Jul 2022 10:06:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236214AbiGaKGB (ORCPT ); Sun, 31 Jul 2022 06:06:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231267AbiGaKGA (ORCPT ); Sun, 31 Jul 2022 06:06:00 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15683E22 for ; Sun, 31 Jul 2022 03:06:00 -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 AD711B80CFC for ; Sun, 31 Jul 2022 10:05:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C9772C433D7; Sun, 31 Jul 2022 10:05:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1659261957; bh=5X/kFdz1ajJDdYSL0TZtAxXV/qIt8Bg1dEdEJMGxiHU=; h=From:To:Cc:Subject:Date:From; b=BZDn1GA7RdtRBmJRcG6C9XoVvAw53Eil/GEZYiKuy/73n0T8hKl7htXkEpYlBUodx FUrvzQHitmwhfTT8vVnpBl+eXdHsbv1Af3Haxc4wG7iW2r8LwMalDJnjZJjMozeo6d I8lL3qZtQmnRxdLRezGopMY8hd1nCs6aQKY6zdLE= From: Greg Kroah-Hartman 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 Subject: [PATCH] ARM: crypto: comment out gcc warning that breaks clang builds Date: Sun, 31 Jul 2022 12:05:51 +0200 Message-Id: <20220731100551.3679874-1-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1342; i=gregkh@linuxfoundation.org; h=from:subject; bh=GDmHULVXmGRSRFgxSfoXWIrZswFE+F4PPg/u1UGrJPw=; b=owGbwMvMwCRo6H6F97bub03G02pJDEnPgv9O9uu+yr6JY4HAxeCiN73HIp6XSJTlzimcr1myNotx ouz1jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIHg/DXHn32ofK65a32VWLTFD8u4 OjaIvWLYa5MnIqM+sb39pqi+XYTbh+WTdt2p8pAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: stable@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 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(-) diff --git a/arch/arm/lib/xor-neon.c b/arch/arm/lib/xor-neon.c index b99dd8e1c93f..7ba6cf826162 100644 --- 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" -- 2.37.1