瀏覽代碼

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>
Jason Cooper 11 年之前
父節點
當前提交
6559e221a1
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/staging/skein/Kconfig

+ 2 - 2
drivers/staging/skein/Kconfig

@@ -1,6 +1,6 @@
 config CRYPTO_SKEIN
 config CRYPTO_SKEIN
 	bool "Skein digest algorithm"
 	bool "Skein digest algorithm"
-	depends on (X86 || UML_X86) && 64BIT
+	depends on (X86 || UML_X86) && 64BIT && CRYPTO
 	select CRYPTO_THREEFISH
 	select CRYPTO_THREEFISH
 	select CRYPTO_HASH
 	select CRYPTO_HASH
 	help
 	help
@@ -17,7 +17,7 @@ config CRYPTO_SKEIN
 
 
 config CRYPTO_THREEFISH
 config CRYPTO_THREEFISH
 	bool "Threefish tweakable block cipher"
 	bool "Threefish tweakable block cipher"
-	depends on (X86 || UML_X86) && 64BIT
+	depends on (X86 || UML_X86) && 64BIT && CRYPTO
 	select CRYPTO_ALGAPI
 	select CRYPTO_ALGAPI
 	help
 	help
 	  Threefish cipher algorithm is the tweakable block cipher underneath
 	  Threefish cipher algorithm is the tweakable block cipher underneath