Re: [PATCH] lib: sort: make it explicitly non-modular

From: Andy Shevchenko
Date: Wed Jan 18 2017 - 13:04:05 EST


On Wed, Jan 18, 2017 at 6:20 PM, Paul Gortmaker
<paul.gortmaker@xxxxxxxxxxxxx> wrote:
> The Makefile currently controlling compilation of this code is:
>
> lib/Kconfig.debug:config TEST_SORT
> lib/Kconfig.debug: bool "Array-based sort test"
>
> and...
>
> lib/Makefile:obj-y += bcd.o div64.o sort.o [...]
>
> ...meaning that it currently is not being built as a module by anyone.

Perhaps allow it to be a module?

Besides that perhaps rename to something like test_sort.c ?

--
With Best Regards,
Andy Shevchenko