[PATCH 0/3] lib: add module support to sort tests

From: Geert Uytterhoeven
Date: Tue Feb 28 2017 - 08:10:21 EST


Hi Andrew,

This patch series allows to compile the array-based and linked list sort
test code either to loadable modules, or builtin into the kernel.

It's very valuable to have modular tests, so you can run them just by
insmodding the test modules, instead of needing a separate kernel that
runs them at boot.

Thanks for applying!

Geert Uytterhoeven (3):
Revert "lib/test_sort.c: make it explicitly non-modular"
lib: add module support to array-based sort tests
lib: add module support to linked list sorting tests

lib/Kconfig.debug | 14 ++---
lib/Makefile | 1 +
lib/list_sort.c | 149 --------------------------------------------------
lib/test_list_sort.c | 150 +++++++++++++++++++++++++++++++++++++++++++++++++++
lib/test_sort.c | 11 ++--
5 files changed, 164 insertions(+), 161 deletions(-)
create mode 100644 lib/test_list_sort.c

--
2.7.4

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