]> git.baikalelectronics.ru Git - kernel.git/commit
math: RATIONAL_KUNIT_TEST should depend on RATIONAL instead of selecting it
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 8 Sep 2021 02:58:36 +0000 (19:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 8 Sep 2021 18:50:26 +0000 (11:50 -0700)
commit509c4cd115997458610124c3bcf20b5c3e1bab84
tree5b13943d3ceaf07f022812bbf5999cc8a4bdf99f
parent4fa5f645cd50ec8d213b602c7140cdda98257a4c
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.

Link: https://lkml.kernel.org/r/20210706100945.3803694-3-geert@linux-m68k.org
Fixes: b11665fb08613453 ("lib/math/rational: add Kunit test cases")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Brendan Higgins <brendanhiggins@google.com>
Cc: Colin Ian King <colin.king@canonical.com>
Cc: Trent Piepho <tpiepho@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/Kconfig.debug