From patchwork Tue Feb 28 21:12:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 733871 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vXsDn3fF9z9s7v for ; Wed, 1 Mar 2017 08:30:17 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1cipLY-0003fU-NZ; Tue, 28 Feb 2017 21:30:12 +0000 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1cipLX-0003fP-QF for tpmdd-devel@lists.sourceforge.net; Tue, 28 Feb 2017 21:30:11 +0000 X-ACL-Warn: Received: from mout.kundenserver.de ([212.227.17.24]) by sog-mx-3.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1cipLW-0001A6-HN for tpmdd-devel@lists.sourceforge.net; Tue, 28 Feb 2017 21:30:11 +0000 Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue103 [212.227.15.145]) with ESMTPA (Nemesis) id 0Meu09-1cxu1W2yQj-00OTYF; Tue, 28 Feb 2017 22:13:35 +0100 From: Arnd Bergmann To: Peter Huewe , Marcel Selhorst , Jarkko Sakkinen Date: Tue, 28 Feb 2017 22:12:55 +0100 Message-Id: <20170228211326.3667625-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:r5gDiaGrZSg2g5j5J8l3Tu4MSMZEqHot/zDi3iInv44asDfx0pW FmkZ2d8WQB8Hp903yamQG/C//13bLdE2VhXi1e/RyfkVgg4tJduW018DjC6FZmjMjJCEb2s Sw+1tfKYZKavsW0stDo8MCPmdB+CCpJhd6rb7s8uwNk0H3XEbh7AKe670mvDihFf0AmbHHP IbKk88c+lIY70PEUMtsdQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:+wxKsdK1j64=:ZoXg8uY+6xEUhgntum/OKD 0t6OnN66M1SXEi0vUr733Ni+WcbGjRd1wrfjYA7el+qDk/xXaHW3uSQ6DGFJF6aPxZg7RZNXR ymtHm+Z7tLoeoryZ5cwb8l1eRv4diP635jPCXBuzldKhxhr41EVWrDp2wuBem/ty1r1VxQCBu ey5+EwSiDt9QVez/XpczvTkiaDEgrcfwwjVY/bVhKzQedxufhO1w8xSw8AGi8PPDO91Cmckn4 /i+IOHtSTYGswyzmPyY+sXbbi0jFQiEZMGvFyKbpRdZS5Pe43cgUgzTFru4ySLAgdVgyC17Ub 9Zsa00//PGX3GbgKnk9C+hY4mSzThmLinoCEG2nuxFHkQjAbgQ6dE0jBmAxEoir+7t67aWxrE zGNzjpwSpTkxA7/+DoO89lfvLLB9YZXlzZPpWAr20zghXnKem0HktyktFAF9b8bg2ny+hS87w jk3W2vLGvSR65C+yr0dVscsXJ0xJseXo1YKmiCyG4SKCiQaVrnhQZlmohwN+OdPNV67BeNzkb vE97VvA27op8ztNYOUhmFT2wssaBh9Ai6+wVUCzb7nDM+rsAUg1XaPbM1N6xRB2TnVUo3QGfh VBC3riyI1uIXypAVv8V7qdN0Q1tKaa7Q9wvOFSqiQKP2pFOwI+PnczLnfZTYqyV/hAF86CP7F t/Z9SqCoTtiIgfLL+tX9YUgLtIzcP85PsGIkXVDtCe6ulrTrafXSPOJHS3uoB5DdV96c= X-Spam-Score: 0.1 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.17.24 listed in list.dnswl.org] 0.1 AWL AWL: Adjusted score from AWL reputation of From: address X-Headers-End: 1cipLW-0001A6-HN Cc: Christophe Ricard , Arnd Bergmann , linux-kernel@vger.kernel.org, tpmdd-devel@lists.sourceforge.net Subject: [tpmdd-devel] [PATCH] tpm: select CONFIG_CRYPTO X-BeenThere: tpmdd-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Tpm Device Driver maintainance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: tpmdd-devel-bounces@lists.sourceforge.net We get a newly introduced harmless warning when CONFIG_CRYPTO is disabled: warning: (TCG_TPM && TRUSTED_KEYS && IMA) selects CRYPTO_HASH_INFO which has unmet direct dependencies (CRYPTO) This adds another select to avoid the warning, consistent with other users of the crypto code. Fixes: c1f92b4b04ad ("tpm: enhance TPM 2.0 PCR extend to support multiple banks") Signed-off-by: Arnd Bergmann Reviewed-by: Jarkko Sakkinen --- drivers/char/tpm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/char/tpm/Kconfig b/drivers/char/tpm/Kconfig index af985cca413c..d520ac51c11c 100644 --- a/drivers/char/tpm/Kconfig +++ b/drivers/char/tpm/Kconfig @@ -6,6 +6,7 @@ menuconfig TCG_TPM tristate "TPM Hardware Support" depends on HAS_IOMEM select SECURITYFS + select CRYPTO select CRYPTO_HASH_INFO ---help--- If you have a TPM security chip in your system, which