lib/Kconfig.debug: fix build error without CONFIG_BLOCK
Subsystems (2)
[email protected]
maintainerPATCH 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")
Signed-off-by YueHaibing <[email protected]>
Reported-by Hulk Robot <[email protected]>
Reviewed-by Kees Cook <[email protected]>
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]>
Cc <[email protected]>
Signed-off-by Andrew Morton <[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
_