[PATCH] ubifs: Fix 'unmet direct dependencies' config warning when !BLOCK

Augusto Mecking Caringi augustocaringi at gmail.com
Tue Jan 3 06:31:34 PST 2017


When UBIFS_FS_ENCRYPTION is selected and BLOCK is not set, the following
warning is given:

warning: (UBIFS_FS_ENCRYPTION) selects FS_ENCRYPTION which has unmet
direct dependencies (BLOCK)

Fix it by making BLOCK a dependency of UBIFS_FS_ENCRYPTION.

Signed-off-by: Augusto Mecking Caringi <augustocaringi at gmail.com>
---
 fs/ubifs/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/ubifs/Kconfig b/fs/ubifs/Kconfig
index 0a908ae..e9d7780 100644
--- a/fs/ubifs/Kconfig
+++ b/fs/ubifs/Kconfig
@@ -54,6 +54,7 @@ config UBIFS_ATIME_SUPPORT
 config UBIFS_FS_ENCRYPTION
 	bool "UBIFS Encryption"
 	depends on UBIFS_FS
+	depends on BLOCK
 	select FS_ENCRYPTION
 	default n
 	help
-- 
2.7.4




More information about the linux-mtd mailing list