2021-06-26 20:54:06

by tip-bot2 for Jacob Pan

[permalink] [raw]
Subject: [tip: timers/core] time/kunit: Add missing MODULE_LICENSE()

The following commit has been merged into the timers/core branch of tip:

Commit-ID: 34c7342ac1b4e496315fb615d2a1309df8400403
Gitweb: https://git.kernel.org/tip/34c7342ac1b4e496315fb615d2a1309df8400403
Author: Thomas Gleixner <[email protected]>
AuthorDate: Sat, 26 Jun 2021 22:44:11 +02:00
Committer: Thomas Gleixner <[email protected]>
CommitterDate: Sat, 26 Jun 2021 22:47:32 +02:00

time/kunit: Add missing MODULE_LICENSE()

Reported-by: Ingo Molnar <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
---
kernel/time/time_test.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/kernel/time/time_test.c b/kernel/time/time_test.c
index 341ebfa..a064a7c 100644
--- a/kernel/time/time_test.c
+++ b/kernel/time/time_test.c
@@ -96,3 +96,4 @@ static struct kunit_suite time_test_suite = {
};

kunit_test_suite(time_test_suite);
+MODULE_LICENSE(GPL);


2021-06-27 18:28:36

by Nitesh Lal

[permalink] [raw]
Subject: Re: [tip: timers/core] time/kunit: Add missing MODULE_LICENSE()

On Sat, Jun 26, 2021 at 4:51 PM tip-bot2 for Thomas Gleixner
<[email protected]> wrote:
>
> The following commit has been merged into the timers/core branch of tip:
>
> Commit-ID: 34c7342ac1b4e496315fb615d2a1309df8400403
> Gitweb: https://git.kernel.org/tip/34c7342ac1b4e496315fb615d2a1309df8400403
> Author: Thomas Gleixner <[email protected]>
> AuthorDate: Sat, 26 Jun 2021 22:44:11 +02:00
> Committer: Thomas Gleixner <[email protected]>
> CommitterDate: Sat, 26 Jun 2021 22:47:32 +02:00
>
> time/kunit: Add missing MODULE_LICENSE()
>
> Reported-by: Ingo Molnar <[email protected]>
> Signed-off-by: Thomas Gleixner <[email protected]>
> ---
> kernel/time/time_test.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/kernel/time/time_test.c b/kernel/time/time_test.c
> index 341ebfa..a064a7c 100644
> --- a/kernel/time/time_test.c
> +++ b/kernel/time/time_test.c
> @@ -96,3 +96,4 @@ static struct kunit_suite time_test_suite = {
> };
>
> kunit_test_suite(time_test_suite);
> +MODULE_LICENSE(GPL);
>

This should be:
MODULE_LICENSE("GPL");
isn't it?

We will get a compilation error otherwise.


--
Thanks
Nitesh