[PATCH] kernel: modules: Add SPDX license identifier to kmod.c

Tim Bird posted 1 patch 3 weeks, 1 day ago
kernel/module/kmod.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] kernel: modules: Add SPDX license identifier to kmod.c
Posted by Tim Bird 3 weeks, 1 day ago
Add a GPL-2.0 license identifier line for this file.

kmod.c was originally introduced in the kernel in February
of 1998 by Linus Torvalds - who was familiar with kernel
licensing at the time this was introduced.

Signed-off-by: Tim Bird <tim.bird@sony.com>
---
 kernel/module/kmod.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/module/kmod.c b/kernel/module/kmod.c
index 25f253812512..a25dccdf7aa7 100644
--- a/kernel/module/kmod.c
+++ b/kernel/module/kmod.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * kmod - the kernel module loader
  *
-- 
2.43.0
Re: [PATCH] kernel: modules: Add SPDX license identifier to kmod.c
Posted by Christophe Leroy (CS GROUP) 3 weeks, 1 day ago

Le 16/01/2026 à 01:04, Tim Bird a écrit :
> [Vous ne recevez pas souvent de courriers de tim.bird@sony.com. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ]
> 
> Add a GPL-2.0 license identifier line for this file.
> 
> kmod.c was originally introduced in the kernel in February
> of 1998 by Linus Torvalds - who was familiar with kernel
> licensing at the time this was introduced.

1998 ?

This file has Copyright (C) 2023 Luis Chamberlain <mcgrof@kernel.org> 
added by commit 8660484ed1cf ("module: add debugging auto-load duplicate 
module support")

> 
> Signed-off-by: Tim Bird <tim.bird@sony.com>
> ---
>   kernel/module/kmod.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/kernel/module/kmod.c b/kernel/module/kmod.c
> index 25f253812512..a25dccdf7aa7 100644
> --- a/kernel/module/kmod.c
> +++ b/kernel/module/kmod.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>   /*
>    * kmod - the kernel module loader
>    *
> --
> 2.43.0
> 
> 

Re: [PATCH] kernel: modules: Add SPDX license identifier to kmod.c
Posted by Linus Torvalds 3 weeks, 1 day ago
On Thu, 15 Jan 2026 at 16:04, Tim Bird <tim.bird@sony.com> wrote:
>
> kmod.c was originally introduced in the kernel in February
> of 1998 by Linus Torvalds - who was familiar with kernel
> licensing at the time this was introduced.

Lol.

Applied.

               Linus