Skip to contentSkip to conversation

lib/Kconfig.debug: Fix build error without CONFIG_BLOCK

PATCH In review Yue Haibing 2 participants 2 messages Apr 10, 2019 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib/Kconfig.debug: Fix build error without CONFIG_BLOCK

From: YueHaibing <[email protected]>

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")
---
 lib/Kconfig.debug | 1 +
 1 file changed, 1 insertion(+)
lib/Kconfig.debug +1 -0
index 2020d76..65ad61b 100644
@@ -1939,6 +1939,7 @@ config TEST_KMOD
 	tristate "kmod stress tester"
 	depends on m
 	depends on NETDEVICES && NET_CORE && INET # for TUN
+	depends on BLOCK
 	select TEST_LKM
 	select XFS_FS
 	select TUN
Signature · 1 line
2.7.4
Reviewed-by on v1 1/1
#1 lore raw
Quoted 18 lines · Yue Haibing

From: YueHaibing <[email protected]>

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")
---
 lib/Kconfig.debug | 1 +
 1 file changed, 1 insertion(+)
lib/Kconfig.debug +0 -0
index 2020d76..65ad61b 100644

lib/Kconfig.debug config TEST_KMOD · line 1945

Quoted 7 lines
lib/Kconfig.debug +1 -0
@@ -1939,6 +1939,7 @@ config TEST_KMOD
        tristate "kmod stress tester"
        depends on m
        depends on NETDEVICES && NET_CORE && INET # for TUN
+       depends on BLOCK
        select TEST_LKM
        select XFS_FS
        select TUN
Signature · 1 line
Kees Cook