RE: [PATCH] kernel: add SPDX-License-Identifier lines

From: Bird, Tim

Date: Mon Jan 19 2026 - 14:42:49 EST


> -----Original Message-----
> From: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
> Actually, all my kernel licenses were intended "GPL v2 or any later version".
>
OK - good to know. I'll note that for future SPDX work.

> Sorry if that makes trouble for your licensing theater group!

No problem. Trying to capture original intent is why I include original
authors on the SDPX patch emails.

Thanks. There should be a v2 soon reflecting this change.
-- Tim

>
> Tim Bird <tim.bird@xxxxxxxx> writes:
> > Add SPDX-License-Identifier lines to some old kernel
> > files.
> >
> > Signed-off-by: Tim Bird <tim.bird@xxxxxxxx>
> > ---
> > kernel/cpu.c | 3 +--
> > kernel/relay.c | 3 +--
> > 2 files changed, 2 insertions(+), 4 deletions(-)
> >
> > diff --git a/kernel/cpu.c b/kernel/cpu.c
> > index 8df2d773fe3b..5185c0be847a 100644
> > --- a/kernel/cpu.c
> > +++ b/kernel/cpu.c
> > @@ -1,7 +1,6 @@
> > +// SPDX-License-Identifier: GPL-2.0
> > /* CPU control.
> > * (C) 2001, 2002, 2003, 2004 Rusty Russell
> > - *
> > - * This code is licenced under the GPL.
> > */
> > #include <linux/sched/mm.h>
> > #include <linux/proc_fs.h>
> > diff --git a/kernel/relay.c b/kernel/relay.c
> > index e36f6b926f7f..6ed6bc929bf9 100644
> > --- a/kernel/relay.c
> > +++ b/kernel/relay.c
> > @@ -1,3 +1,4 @@
> > +// SPDX-License-Identifier: GPL-2.0
> > /*
> > * Public API and common code for kernel->userspace relay file support.
> > *
> > @@ -9,8 +10,6 @@
> > * Moved to kernel/relay.c by Paul Mundt, 2006.
> > * November 2006 - CPU hotplug support by Mathieu Desnoyers
> > * (mathieu.desnoyers@xxxxxxxxxx)
> > - *
> > - * This file is released under the GPL.
> > */
> > #include <linux/errno.h>
> > #include <linux/stddef.h>
> > --
> > 2.43.0