Re: [PATCH v12 02/11] lib/test_linear_ranges: add a test for the 'linear_ranges'

From: Vaittinen, Matti
Date: Sat May 09 2020 - 11:18:30 EST



On Fri, 2020-05-08 at 18:17 +0100, Mark Brown wrote:
> On Fri, May 08, 2020 at 06:40:43PM +0300, Matti Vaittinen wrote:
> > Add a KUnit test for the linear_ranges helper.
> >
> > Signed-off-by: Matti Vaittinen <matti.vaittinen@xxxxxxxxxxxxxxxxx>
> > Reviewed-by: Brendan Higgins <brendanhiggins@xxxxxxxxxx>
>
> This now generates:
>
> WARNING: modpost: missing MODULE_LICENSE() in lib/linear_ranges.o
> see include/linux/module.h for more information
>
> when the tests are built as a module and select the library.

I sent a fix as an incremental patch. Please let me know if it is not
the way to go.

And Sorry for the trouble!

Best Regards
Matti Vaittinen