From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935028AbdACOcb (ORCPT ); Tue, 3 Jan 2017 09:32:31 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:35831 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752632AbdACObw (ORCPT ); Tue, 3 Jan 2017 09:31:52 -0500 From: Augusto Mecking Caringi To: Richard Weinberger Cc: Augusto Mecking Caringi , Artem Bityutskiy , Adrian Hunter , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ubifs: Fix 'unmet direct dependencies' config warning when !BLOCK Date: Tue, 3 Jan 2017 14:31:34 +0000 Message-Id: <1483453903-21297-1-git-send-email-augustocaringi@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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