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

From: Nitesh Lal
Date: Sun Jun 27 2021 - 14:29:37 EST


On Sat, Jun 26, 2021 at 4:51 PM tip-bot2 for Thomas Gleixner
<tip-bot2@xxxxxxxxxxxxx> 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 <tglx@xxxxxxxxxxxxx>
> AuthorDate: Sat, 26 Jun 2021 22:44:11 +02:00
> Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> CommitterDate: Sat, 26 Jun 2021 22:47:32 +02:00
>
> time/kunit: Add missing MODULE_LICENSE()
>
> Reported-by: Ingo Molnar <mingo@xxxxxxxxxx>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> ---
> 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