Skip to contentSkip to conversation

lib/Kconfig.debug: fix build error without CONFIG_BLOCK

PATCH New [email protected] 1 participant 1 message Apr 26, 2019

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH 3/9 lib/Kconfig.debug: fix build error without CONFIG_BLOCK

From: YueHaibing <[email protected]>
Subject: lib/Kconfig.debug: fix build error without CONFIG_BLOCK

If CONFIG_TEST_KMOD is set to M, while CONFIG_BLOCK is not set, XFS and BTRFS can not be compiled successly.

Fixes d9c6a72d6fa2 ("kmod: add test driver to stress test the module loader")
Cc Masahiro Yamada <[email protected]>
Cc Petr Mladek <[email protected]>
Cc Andy Shevchenko <[email protected]>
Cc Matthew Wilcox <[email protected]>
Cc Joe Lawrence <[email protected]>
Cc Robin Murphy <[email protected]>
Cc Luis Chamberlain <[email protected]>

---

 lib/Kconfig.debug |    1 +
 1 file changed, 1 insertion(+)
lib/Kconfig.debug renamed from lib/Kconfig.debug~lib-kconfigdebug-fix-build-error-without-config_block +1 -0
@@ -1929,6 +1929,7 @@ config TEST_KMOD
 	depends on m
 	depends on BLOCK && (64BIT || LBDAF)	  # for XFS, BTRFS
 	depends on NETDEVICES && NET_CORE && INET # for TUN
+	depends on BLOCK
 	select TEST_LKM
 	select XFS_FS
 	select TUN

_