Skip to contentSkip to conversation

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

PATCH In review Augusto Mecking Caringi 2 participants 2 messages Jan 3, 2017 – Jan 4, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ubifs: Fix 'unmet direct dependencies' config warning when !BLOCK

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.

---
 fs/ubifs/Kconfig | 1 +
 1 file changed, 1 insertion(+)
fs/ubifs/Kconfig +1 -0
index 0a908ae..e9d7780 100644
@@ -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
Signature · 1 line
2.7.4
#1 lore raw

Am 03.01.2017 um 15:31 schrieb Augusto Mecking Caringi:

Quoted 19 lines

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.

---
 fs/ubifs/Kconfig | 1 +
 1 file changed, 1 insertion(+)
fs/ubifs/Kconfig +0 -0
index 0a908ae..e9d7780 100644

fs/ubifs/Kconfig config UBIFS_ATIME_SUPPORT · line 60

Quoted 7 lines
fs/ubifs/Kconfig +1 -0
@@ -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

This is currently being addressed, please see discussions around:
https://lkml.org/lkml/2016/12/19/161
and
https://lkml.org/lkml/2016/12/16/118

Thanks,
//richard