resource: provide meaningful MODULE_LICENSE() in test suite
PATCH v2 1/1 resource: provide meaningful MODULE_LICENSE() in test suite
modpost complains that module has no licence provided. Provide it via meaningful MODULE_LICENSE().
Reported-by Stephen Rothwell <[email protected]>
Signed-off-by Andy Shevchenko <[email protected]>
---
v2: resent with linux-acpi@ included
kernel/resource_kunit.c | 2 ++ 1 file changed, 2 insertions(+)
kernel/resource_kunit.c +2 -0
@@ -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" );
Signature · 1 line
2.29.2
Quoted 16 lines · Andy Shevchenko
modpost complains that module has no licence provided. Provide it via meaningful
MODULE_LICENSE().Reported-by Stephen Rothwell <[email protected]>Signed-off-by Andy Shevchenko <[email protected]>---
v2: resent with linux-acpi@ includedkernel/resource_kunit.c | 2 ++ 1 file changed, 2 insertions(+)kernel/resource_kunit.c +0
-0
kernel/resource_kunit.c static struct kunit_suite resource_test_suite = {
Quoted 6 lines
kernel/resource_kunit.c +2
-1@@ -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!