From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: "Rafael J . Wysocki" <rafael.j.wysocki@intel.com>,
linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Stephen Rothwell <sfr@canb.auug.org.au>
Subject: [PATCH v2] resource: provide meaningful MODULE_LICENSE() in test suite
Date: Wed, 25 Nov 2020 18:16:26 +0200 [thread overview]
Message-ID: <20201125161626.66180-1-andriy.shevchenko@linux.intel.com> (raw)
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>
---
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
next reply other threads:[~2020-11-25 16:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-25 16:16 Andy Shevchenko [this message]
2020-11-25 18:01 ` [PATCH v2] resource: provide meaningful MODULE_LICENSE() in test suite Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201125161626.66180-1-andriy.shevchenko@linux.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rafael.j.wysocki@intel.com \
--cc=sfr@canb.auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).