lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190410075434.35220-1-yuehaibing@huawei.com>
Date:   Wed, 10 Apr 2019 15:54:34 +0800
From:   Yue Haibing <yuehaibing@...wei.com>
To:     <akpm@...ux-foundation.org>, <keescook@...omium.org>,
        <yamada.masahiro@...ionext.com>, <pmladek@...e.com>,
        <andriy.shevchenko@...ux.intel.com>, <willy@...radead.org>,
        <joe.lawrence@...hat.com>, <dunlap@...radead.org>,
        <robin.murphy@....com>, <mcgrof@...nel.org>
CC:     <linux-kernel@...r.kernel.org>, YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH] lib/Kconfig.debug: Fix build error without CONFIG_BLOCK

From: YueHaibing <yuehaibing@...wei.com>

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

Reported-by: Hulk Robot <hulkci@...wei.com>
Fixes: d9c6a72d6fa2 ("kmod: add test driver to stress test the module loader")
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
 lib/Kconfig.debug | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 2020d76..65ad61b 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -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
-- 
2.7.4


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ