Skip to contentSkip to conversation

math-rational_kunit_test-should-depend-on-rational-instead-of-selecting-it.patch removed from -mm tree

merged [email protected] 1 participant 1 message Sep 9, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: math: RATIONAL_KUNIT_TEST should depend on RATIONAL instead of selecting it
has been removed from the -mm tree. Its filename was
math-rational_kunit_test-should-depend-on-rational-instead-of-selecting-it.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Geert Uytterhoeven <[email protected]>
Subject: math: RATIONAL_KUNIT_TEST should depend on RATIONAL instead of selecting it

RATIONAL_KUNIT_TEST selects RATIONAL, thus enabling an optional feature the user may not want to have enabled. Fix this by making the test depend on RATIONAL instead.

Fixes b6c75c4afceb8bc0 ("lib/math/rational: add Kunit test cases")
Cc Andy Shevchenko <[email protected]>
Cc Brendan Higgins <[email protected]>
Cc Colin Ian King <[email protected]>
Cc Trent Piepho <[email protected]>

---

 lib/Kconfig.debug |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
lib/Kconfig.debug renamed from lib/Kconfig.debug~math-rational_kunit_test-should-depend-on-rational-instead-of-selecting-it +1 -2
@@ -2460,8 +2460,7 @@ config SLUB_KUNIT_TEST
 
 config RATIONAL_KUNIT_TEST
 	tristate "KUnit test for rational.c" if !KUNIT_ALL_TESTS
-	depends on KUNIT
-	select RATIONAL
+	depends on KUNIT && RATIONAL
 	default KUNIT_ALL_TESTS
 	help
 	  This builds the rational math unit test.

_

Patches currently in -mm which might be from [email protected] are