[PATCH v1] lib/cmdline_kunit: Provide meaningful MODULE_LICENSE()

From: Andy Shevchenko
Date: Mon Nov 16 2020 - 05:43:14 EST


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>
---
lib/cmdline_kunit.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/lib/cmdline_kunit.c b/lib/cmdline_kunit.c
index 3eb022d4c723..550e7a47fd24 100644
--- a/lib/cmdline_kunit.c
+++ b/lib/cmdline_kunit.c
@@ -96,3 +96,5 @@ static struct kunit_suite cmdline_test_suite = {
.test_cases = cmdline_test_cases,
};
kunit_test_suite(cmdline_test_suite);
+
+MODULE_LICENSE("GPL");
--
2.28.0