lkml.org 
[lkml]   [2020]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v1] lib/cmdline_kunit: Provide meaningful MODULE_LICENSE()
Date
modpost complains that module has no licence provided.
Provide it via meaningful MODULE_LICENSE().

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
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
\
 
 \ /
  Last update: 2020-11-16 11:47    [W:0.157 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site