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

Subsystems: module support, the rest

STALE202d

4 messages, 3 authors, 2026-01-16 · open the first message on its own page

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

From: Tim Bird <hidden>
Date: 2026-01-16 00:04:55

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 <redacted>
---
 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

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2026-01-16 00:59:13

On Thu, 15 Jan 2026 at 16:04, Tim Bird [off-list ref] 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

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

From: "Christophe Leroy (CS GROUP)" <chleroy@kernel.org>
Date: 2026-01-16 08:00:24


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 [off-list ref] 
added by commit 8660484ed1cf ("module: add debugging auto-load duplicate 
module support")
quoted hunk
Signed-off-by: Tim Bird <redacted>
---
  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

From: Bird, Tim <hidden>
Date: 2026-01-16 19:18:11

-----Original Message-----
From: Christophe Leroy (CS GROUP) <chleroy@kernel.org>


Le 16/01/2026 à 01:04, Tim Bird a écrit :
quoted
[Vous ne recevez pas souvent de courriers de tim.bird@sony.com. Découvrez pourquoi ceci est important à
https://aka.ms/LearnAboutSenderIdentification ]
quoted
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 ?
Yes.  The file kernel/kmod.c first appeared in kernel version 2.1.90,
released on March 18, 1998.
This file has Copyright (C) 2023 Luis Chamberlain [off-list ref]
added by commit 8660484ed1cf ("module: add debugging auto-load duplicate
module support")
That copyright line was added later. 

While Linus first introduced the file, some of the code was likely authored by
Kirk Peterson, whose name is in the header (but without a formal copyright
notice. 
   -- Tim
quoted
Signed-off-by: Tim Bird <redacted>
---
  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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help