Re: [PATCH] kernel: add SPDX-License-Identifier lines
Karim Yaghmour <[email protected]> Wed, 14 Jan 2026 10:24:25 -0500
| Newsgroups | org.kernel.vger.linux-spdx,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Hi Tim, Thanks for taking care of this following our discussion at LPC. Just addressing the relay.c part below. On 1/13/26 18:44, Tim Bird wrote: > Add SPDX-License-Identifier lines to some old kernel > files. > > Signed-off-by: Tim Bird <[email protected]> > --- > 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> For this part: > 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 > * ([email protected]) > - * > - * This file is released under the GPL. > */ > #include <linux/errno.h> > #include <linux/stddef.h> Acked-by: Karim Yaghmour <[email protected]> Cheers, -- Karim Yaghmour CEO - Opersys inc. / www.opersys.com https://www.linkedin.com/in/karimyaghmour/