summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Cooper <jason@lakedaemon.net>2014-04-25 20:45:09 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-19 23:56:58 +0400
commit6559e221a187f657b710eb7c8f56bc0870ec1186 (patch)
treee09db5fb94a1c8e215ef0db0e700b5cf25952f14
parent50667c67dbefea289460dc3e2b4ebc307fd88000 (diff)
downloadlinux-6559e221a187f657b710eb7c8f56bc0870ec1186.tar.xz
staging: crypto: skein: depend upon CRYPTO
Fengguang's randconfig kernel build tester discovered the following warnings: warning: (CRYPTO_THREEFISH) selects CRYPTO_ALGAPI which has unmet direct dependencies (CRYPTO) warning: (DM_VERITY && CRYPTO_SKEIN) selects CRYPTO_HASH which has unmet direct dependencies (CRYPTO) Fix this in the Kconfig by depending on CRYPTO. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net> Reviewed-by: Marek Vasut <marex@denx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/skein/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/skein/Kconfig b/drivers/staging/skein/Kconfig
index 8f5a72a90ced..b9172bfcdc1b 100644
--- a/drivers/staging/skein/Kconfig
+++ b/drivers/staging/skein/Kconfig
@@ -1,6 +1,6 @@
config CRYPTO_SKEIN
bool "Skein digest algorithm"
- depends on (X86 || UML_X86) && 64BIT
+ depends on (X86 || UML_X86) && 64BIT && CRYPTO
select CRYPTO_THREEFISH
select CRYPTO_HASH
help
@@ -17,7 +17,7 @@ config CRYPTO_SKEIN
config CRYPTO_THREEFISH
bool "Threefish tweakable block cipher"
- depends on (X86 || UML_X86) && 64BIT
+ depends on (X86 || UML_X86) && 64BIT && CRYPTO
select CRYPTO_ALGAPI
help
Threefish cipher algorithm is the tweakable block cipher underneath