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

From: Tim Bird

Date: Thu Jan 15 2026 - 19:04:55 EST


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@xxxxxxxx>
---
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