linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ubifs: Fix 'unmet direct dependencies' config warning when !BLOCK
@ 2017-01-03 14:31 Augusto Mecking Caringi
  2017-01-04 22:54 ` Richard Weinberger
  0 siblings, 1 reply; 2+ messages in thread
From: Augusto Mecking Caringi @ 2017-01-03 14:31 UTC (permalink / raw)
  To: Richard Weinberger
  Cc: Augusto Mecking Caringi, Artem Bityutskiy, Adrian Hunter,
	linux-mtd, linux-kernel

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ubifs: Fix 'unmet direct dependencies' config warning when !BLOCK
  2017-01-03 14:31 [PATCH] ubifs: Fix 'unmet direct dependencies' config warning when !BLOCK Augusto Mecking Caringi
@ 2017-01-04 22:54 ` Richard Weinberger
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Weinberger @ 2017-01-04 22:54 UTC (permalink / raw)
  To: Augusto Mecking Caringi
  Cc: Artem Bityutskiy, Adrian Hunter, linux-mtd, linux-kernel

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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-04 22:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-03 14:31 [PATCH] ubifs: Fix 'unmet direct dependencies' config warning when !BLOCK Augusto Mecking Caringi
2017-01-04 22:54 ` Richard Weinberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).