On Wed, Nov 25, 2020 at 5:17 PM Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote: > > modpost complains that module has no licence provided. > Provide it via meaningful MODULE_LICENSE(). > > Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > --- > v2: resent with linux-acpi@ included > kernel/resource_kunit.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/kernel/resource_kunit.c b/kernel/resource_kunit.c > index 9fdbca8426f1..58ab9f914602 100644 > --- a/kernel/resource_kunit.c > +++ b/kernel/resource_kunit.c > @@ -148,3 +148,5 @@ static struct kunit_suite resource_test_suite = { > .test_cases = resource_test_cases, > }; > kunit_test_suite(resource_test_suite); > + > +MODULE_LICENSE("GPL"); > -- Applied, thanks!