From: Tim Bird <tim.bird@sony.com>
To: karim@opersys.com, akpm@linuxfoundation.org,
rusty@rustcorp.com.au, tglx@kernel.org
Cc: tom.zanussi@linux.intel.com, kernelxing@tencent.com,
perterz@infradead.org, linux-spdx@vger.kernel.org,
linux-kernel@vger.kernel.org, Tim Bird <tim.bird@sony.com>
Subject: [PATCH] kernel: add SPDX-License-Identifier lines
Date: Tue, 13 Jan 2026 16:44:05 -0700 [thread overview]
Message-ID: <20260113234405.539422-1-tim.bird@sony.com> (raw)
Add SPDX-License-Identifier lines to some old kernel
files.
Signed-off-by: Tim Bird <tim.bird@sony.com>
---
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@polymtl.ca)
- *
- * This file is released under the GPL.
*/
#include <linux/errno.h>
#include <linux/stddef.h>
--
2.43.0
next reply other threads:[~2026-01-13 23:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-13 23:44 Tim Bird [this message]
2026-01-14 15:24 ` [PATCH] kernel: add SPDX-License-Identifier lines Karim Yaghmour
2026-01-19 5:30 ` Rusty Russell
2026-01-19 19:41 ` Bird, Tim
2026-01-19 22:40 ` [PATCH v2] kernel: Add " Tim Bird
2026-01-27 14:57 ` Greg KH
2026-01-27 15:05 ` Bird, Tim
2026-01-28 20:04 ` [PATCH] kernel: adjust cpu.c SPDX id Tim Bird
2026-01-28 20:39 ` Peter Zijlstra
2026-01-29 16:28 ` Bird, Tim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260113234405.539422-1-tim.bird@sony.com \
--to=tim.bird@sony.com \
--cc=akpm@linuxfoundation.org \
--cc=karim@opersys.com \
--cc=kernelxing@tencent.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spdx@vger.kernel.org \
--cc=perterz@infradead.org \
--cc=rusty@rustcorp.com.au \
--cc=tglx@kernel.org \
--cc=tom.zanussi@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox