From: Geert Uytterhoeven Date: Mon, 19 Oct 2020 11:32:40 +0000 (+0200) Subject: mptcp: MPTCP_KUNIT_TESTS should depend on MPTCP instead of selecting it X-Git-Tag: v5.9.2~700 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=d8d6c3c3c7b39583a3c906c90fbfc3959ac5c354;p=users%2Fdwmw2%2Flinux.git mptcp: MPTCP_KUNIT_TESTS should depend on MPTCP instead of selecting it [ Upstream commit b142083b585c2c03af24cca4d274f797796a4064 ] MPTCP_KUNIT_TESTS selects MPTCP, thus enabling an optional feature the user may not want to enable. Fix this by making the test depend on MPTCP instead. Fixes: a00a582203dbc43e ("mptcp: move crypto test to KUNIT") Signed-off-by: Geert Uytterhoeven Reviewed-by: Matthieu Baerts Link: https://lore.kernel.org/r/20201019113240.11516-1-geert@linux-m68k.org Signed-off-by: Jakub Kicinski Signed-off-by: Greg Kroah-Hartman --- diff --git a/net/mptcp/Kconfig b/net/mptcp/Kconfig index 698bc35251609..abb0a992d4a08 100644 --- a/net/mptcp/Kconfig +++ b/net/mptcp/Kconfig @@ -22,11 +22,8 @@ config MPTCP_IPV6 select IPV6 default y -endif - config MPTCP_KUNIT_TESTS tristate "This builds the MPTCP KUnit tests" if !KUNIT_ALL_TESTS - select MPTCP depends on KUNIT default KUNIT_ALL_TESTS help @@ -39,3 +36,4 @@ config MPTCP_KUNIT_TESTS If unsure, say N. +endif