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 <augustocari...@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

Reply via email to