diff mbox series

[4/4] selftests/sysctl: Make sysctl test driver as a module

Message ID 159067755690.229397.12060049846042042480.stgit@devnote2 (mailing list archive)
State Mainlined
Commit 382561a0f11c4995d48ab82670412f8d6c418430
Headers show
Series selftests, sysctl, lib: Fix prime_numbers and sysctl test to run | expand

Commit Message

Masami Hiramatsu (Google) May 28, 2020, 2:52 p.m. UTC
Fix config file to require CONFIG_TEST_SYSCTL=m instead of y
because this driver introduces a test sysctl interfaces which
are normally not used, and only used for the selftest.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
---
 tools/testing/selftests/sysctl/config |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kees Cook May 29, 2020, 5:57 a.m. UTC | #1
On Thu, May 28, 2020 at 11:52:37PM +0900, Masami Hiramatsu wrote:
> Fix config file to require CONFIG_TEST_SYSCTL=m instead of y
> because this driver introduces a test sysctl interfaces which
> are normally not used, and only used for the selftest.
> 
> Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>

Reviewed-by: Kees Cook <keescook@chromium.org>
Luis Chamberlain June 1, 2020, 1:15 p.m. UTC | #2
On Thu, May 28, 2020 at 11:52:37PM +0900, Masami Hiramatsu wrote:
> Fix config file to require CONFIG_TEST_SYSCTL=m instead of y
> because this driver introduces a test sysctl interfaces which
> are normally not used, and only used for the selftest.
> 
> Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>

Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>

  Luis
diff mbox series

Patch

diff --git a/tools/testing/selftests/sysctl/config b/tools/testing/selftests/sysctl/config
index 6ca14800d755..fc263efd1fad 100644
--- a/tools/testing/selftests/sysctl/config
+++ b/tools/testing/selftests/sysctl/config
@@ -1 +1 @@ 
-CONFIG_TEST_SYSCTL=y
+CONFIG_TEST_SYSCTL=m