On Tue, 2017-02-28 at 14:06 +0100, Geert Uytterhoeven wrote: > 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!
FWIW: Reviewed-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> On the first glance looks okay to me. I didn't carefully checked code move (I guess -M -C will not help much, though one can play with numbers there), so I believe Geert didn't change much there. > > 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 > -- Andy Shevchenko <andriy.shevche...@linux.intel.com> Intel Finland Oy