Skip to contentSkip to conversation

resource: provide meaningful MODULE_LICENSE() in test suite

PATCH Superseded Andy Shevchenko 1 participant 1 message Nov 19, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 resource: provide meaningful MODULE_LICENSE() in test suite

modpost complains that module has no licence provided. Provide it via meaningful MODULE_LICENSE().

---
 kernel/resource_kunit.c | 2 ++
 1 file changed, 2 insertions(+)
kernel/resource_kunit.c +2 -0
index 9fdbca8426f1..58ab9f914602 100644
@@ -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