Skip to contentSkip to conversation

kernel: modules: Add SPDX license identifier to kmod.c

PATCH Applied Tim Bird 3 participants 4 messages Jan 16

Subsystems (2)
lore
Share & tools
lore

Tim Bird

author
#0 lore raw

PATCH 1/1 kernel: modules: Add SPDX license identifier to kmod.c

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.

---
 kernel/module/kmod.c | 1 +
 1 file changed, 1 insertion(+)
kernel/module/kmod.c +1 -0
index 25f253812512..a25dccdf7aa7 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * kmod - the kernel module loader
  *
Signature · 1 line
2.43.0
#1 lore raw
Quoted 4 lines · Tim Bird

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

#2 lore raw
In reply to Tim Bird

Le 16/01/2026 à 01:04, Tim Bird a écrit :

Quoted 7 lines

[Vous ne recevez pas souvent de courriers de [email protected]. 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 <[email protected]> added by commit 8660484ed1cf ("module: add debugging auto-load duplicate module support")

Quoted 19 lines
---
  kernel/module/kmod.c | 1 +
  1 file changed, 1 insertion(+)
kernel/module/kmod.c +1 -1
index 25f253812512..a25dccdf7aa7 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
  /*
   * kmod - the kernel module loader
   *
--

2.43.0

author
#3 lore raw
Quoted 8 lines

-----Original Message-----
From: Christophe Leroy (CS GROUP) <[email protected]>

Quoted 1 line · Tim Bird

[Vous ne recevez pas souvent de courriers de [email protected]. Découvrez pourquoi ceci est important à

https://aka.ms/LearnAboutSenderIdentification ]

Quoted 1 line
Quoted 7 lines
Quoted 5 lines

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.

Quoted 4 lines

This file has Copyright (C) 2023 Luis Chamberlain <[email protected]> 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 20 lines
Quoted 20 lines
---
  kernel/module/kmod.c | 1 +
  1 file changed, 1 insertion(+)
kernel/module/kmod.c +1 -1
index 25f253812512..a25dccdf7aa7 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
  /*
   * kmod - the kernel module loader
   *
--

2.43.0