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

"Christophe Leroy (CS GROUP)" <[email protected]> Fri, 16 Jan 2026 09:00:18 +0100
Newsgroups org.kernel.vger.linux-spdx,org.kernel.vger.linux-kernel,org.kernel.vger.linux-modules
Message-ID <[email protected]>

Le 16/01/2026 à 01:04, Tim Bird a écrit :
> [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")

> 
> Signed-off-by: Tim Bird <[email protected]>
> ---
>   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
> 
>