[PATCH v2] resource: provide meaningful MODULE_LICENSE() in test suite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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");
-- 
2.29.2




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux