Skip to content

Commit

Permalink
mptcp: MPTCP_KUNIT_TESTS should depend on MPTCP instead of selecting it
Browse files Browse the repository at this point in the history
[ Upstream commit b142083 ]

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: a00a582 ("mptcp: move crypto test to KUNIT")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Link: https://lore.kernel.org/r/20201019113240.11516-1-geert@linux-m68k.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
geertu authored and gregkh committed Oct 29, 2020
1 parent 08762a5 commit d8d6c3c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions net/mptcp/Kconfig
Expand Up @@ -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
Expand All @@ -39,3 +36,4 @@ config MPTCP_KUNIT_TESTS

If unsure, say N.

endif

0 comments on commit d8d6c3c

Please sign in to comment.