Re: [PATCH] ubifs: Fix 'unmet direct dependencies' config warning when !BLOCK
From: Richard Weinberger
Date: Wed Jan 04 2017 - 17:54:35 EST
Am 03.01.2017 um 15:31 schrieb Augusto Mecking Caringi:
> 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@xxxxxxxxx>
> ---
> 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
>
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