[PATCH 0/2] math: RATIONAL and RATIONAL_KUNIT_TEST improvements

From: Geert Uytterhoeven
Date: Tue Jul 06 2021 - 06:10:02 EST


Hi all,

This patch series makes the RATIONAL symbol tristate, so it is not
forced builtin if all users are modular, and makes the
RATIONAL_KUNIT_TEST depend on RATIONAL, to avoid enabling RATIONAL if
there are no real users.

Changes compared to v1:
- Drop compile-testing and help text for RATIONAL.
- Make RATIONAL_KUNIT_TEST depend on RATIONAL.

Thanks for your comments!

[1] https://lore.kernel.org/r/20210705114633.1500710-1-geert@xxxxxxxxxxxxxx/

Geert Uytterhoeven (2):
math: Make RATIONAL tristate
math: RATIONAL_KUNIT_TEST should depend on RATIONAL instead of
selecting it

lib/Kconfig.debug | 3 +--
lib/math/Kconfig | 2 +-
lib/math/rational.c | 3 +++
3 files changed, 5 insertions(+), 3 deletions(-)

--
2.25.1

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds