summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2020-05-28 16:52:37 +0200
committerShuah Khan <skhan@linuxfoundation.org>2020-06-02 18:27:02 +0200
commit382561a0f11c4995d48ab82670412f8d6c418430 (patch)
tree155ca98b7d7688a04da4ded48fd26a52e52c666e
parentselftests/sysctl: Fix to load test_sysctl module (diff)
downloadlinux-382561a0f11c4995d48ab82670412f8d6c418430.tar.xz
linux-382561a0f11c4995d48ab82670412f8d6c418430.zip
selftests/sysctl: Make sysctl test driver as a module
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> Reviewed-by: Luis Chamberlain <mcgrof@kernel.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
-rw-r--r--tools/testing/selftests/sysctl/config2
1 files changed, 1 insertions, 1 deletions
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