linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] resource: provide meaningful MODULE_LICENSE() in test suite
@ 2020-11-25 16:16 Andy Shevchenko
  2020-11-25 18:01 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2020-11-25 16:16 UTC (permalink / raw)
  To: Rafael J . Wysocki, linux-acpi, linux-kernel
  Cc: Andy Shevchenko, Stephen Rothwell

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] resource: provide meaningful MODULE_LICENSE() in test suite
  2020-11-25 16:16 [PATCH v2] resource: provide meaningful MODULE_LICENSE() in test suite Andy Shevchenko
@ 2020-11-25 18:01 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2020-11-25 18:01 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: Rafael J . Wysocki, ACPI Devel Maling List,
	Linux Kernel Mailing List, Stephen Rothwell

On Wed, Nov 25, 2020 at 5:17 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>
> 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");
> --

Applied, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-25 18:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-25 16:16 [PATCH v2] resource: provide meaningful MODULE_LICENSE() in test suite Andy Shevchenko
2020-11-25 18:01 ` Rafael J. Wysocki

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).