From patchwork Mon May 28 15:47:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10433493 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 03914602CB for ; Mon, 28 May 2018 15:48:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E9BD82889A for ; Mon, 28 May 2018 15:48:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DE81A288AE; Mon, 28 May 2018 15:48:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6BE492889A for ; Mon, 28 May 2018 15:48:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1034800AbeE1Psb (ORCPT ); Mon, 28 May 2018 11:48:31 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:50353 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030737AbeE1Ps1 (ORCPT ); Mon, 28 May 2018 11:48:27 -0400 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.145]) with ESMTPA (Nemesis) id 0MNL1F-1fPpTe0UJ7-0070Ex; Mon, 28 May 2018 17:48:11 +0200 From: Arnd Bergmann To: Herbert Xu , "David S. Miller" Cc: Arnd Bergmann , Ondrej Mosnacek , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] crypto: morus - Hide Kconfig option for glue code Date: Mon, 28 May 2018 17:47:45 +0200 Message-Id: <20180528154806.2621106-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K1:TvFRafqsmQixTaQges1esfoXih1GkM4pgZ2SYKNuCewobS8UaXq KiMHwAcWDyA6SjZlXfADEBsIv2/2TBomBn3AANiLZvBm72G+pgnavxkgI6R0J+of8sO8h4b 70Y/MZUIPi73dwhZUvPXBDTOFvu8E7R7J6vMAfsaxx64/fLpAHhppO1rhovDOZOsF5sShnP sHw4xA6rQK47xY0PyMndw== X-UI-Out-Filterresults: notjunk:1; V01:K0:UTbW7pFYclg=:EdTJmcBCmnoyqt959HxQaL mPdwH2zuaqjeRtFf+tQwwlEw1ntIoFtBGO/eMUsMoxJEl2oIztMltwGq1SaVS+KbSplzYk4IU OqBqPTUCq6758s+0124TjJo7EZfjItY/32ZnRzjs5YE9ZdRWzYIKd6WSojtNDpJC6LmJUJ6BF lHXVsJ5Mi/ZTxZcuFtOdIMIzy4utBCio/+ibMD1ro/OnL+qni9E/mi8FVyaWW4VE44ybQCV1+ M4L/enP7zndZruNQW1eN4z73hO6oxFzYC4W+jnP7oi53Iv1gHSiOpj0q3LZh4YvQXHzURU3Bf 9vw41CjQzdhGfpTKmtIjaKG7F/LuLzKXkTlAbMm2tK5qKxprLmsQNwEPIYw6/rrXx3OcF9CpG aUDwCBGGRjautQDMb+5GO7sUpr3+izN6Odk6ipn7al1jwwlV/e07H46bAUFTrgOTJ4XN2GkUf rRenboD7n+qrcAgPVKHOvki7QT1uwQyXDIebvbbEUwkEzp66xR6H+/qpE2bcH6MltjhPeHJPQ Dq5oTosY9iFKiNS9A3aqXxL4wwvJa265hFdlTvLhn0KcOwuAZFiBC6H0Kd0hJqIUrGFVJ0QdH uYdWzvZm6mU4DJu47vNAR/BLcdIuHnkBz4yT41Q3gCUQkIsCM0aM9C2BirhNuIpnjR3diCQ2b 2Gf2iqMbPOdv209BXxQz7EEo2MLaw+fcQOo4VTrYEsKm5H4W2V2T0g9/Eg7eE1uLiOYY= Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Enabling the glue drivers for morus640 and/or morus1280 leads to a build failure on all non-x86 architectures: crypto/morus1280_glue.c:24:10: fatal error: asm/fpu/api.h: No such file or directory scripts/Makefile.build:311: recipe for target 'crypto/morus1280_glue.o' failed crypto/morus640_glue.c:24:10: fatal error: asm/fpu/api.h: No such file or directory scripts/Makefile.build:311: recipe for target 'crypto/morus640_glue.o' failed There really is no reason to enable these unless we also have a real driver using the glue, so the Kconfig option can be hidden and remain selected by the x86 specific SIMD drivers or any others getting added in the future. Fixes: 56e8e57fc3a7 ("crypto: morus - Add common SIMD glue code for MORUS") Signed-off-by: Arnd Bergmann --- crypto/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/Kconfig b/crypto/Kconfig index 75f5efde9aa3..e11c59d26ac5 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -341,7 +341,7 @@ config CRYPTO_MORUS640 Support for the MORUS-640 dedicated AEAD algorithm. config CRYPTO_MORUS640_GLUE - tristate "MORUS-640 AEAD algorithm (glue for SIMD optimizations)" + tristate select CRYPTO_AEAD select CRYPTO_CRYPTD help @@ -363,7 +363,7 @@ config CRYPTO_MORUS1280 Support for the MORUS-1280 dedicated AEAD algorithm. config CRYPTO_MORUS1280_GLUE - tristate "MORUS-1280 AEAD algorithm (glue for SIMD optimizations)" + tristate select CRYPTO_AEAD select CRYPTO_CRYPTD help