public inbox for linux-spdx@vger.kernel.org
 help / color / mirror / Atom feed
From: Tim Bird <tim.bird@sony.com>
To: rusty@rustcorp.com.au, karim.yaghmour@opersys.com,
	akpm@linuxfoundation.org, tglx@kernel.org
Cc: kernelxing@tencent.com, peterz@infradead.org,
	linux-spdx@vger.kernel.org, linux-kernel@vger.kernel.org,
	Tim Bird <tim.bird@sony.com>
Subject: [PATCH v2] kernel: Add SPDX-License-Identifier lines
Date: Mon, 19 Jan 2026 15:40:21 -0700	[thread overview]
Message-ID: <20260119224021.793309-1-tim.bird@sony.com> (raw)
In-Reply-To: <20260113234405.539422-1-tim.bird@sony.com>

Add SPDX-License-Identifier lines to some old kernel
files.

Signed-off-by: Tim Bird <tim.bird@sony.com>
Acked-by: Karim Yaghmour <karim.yaghmour@opersys.com>
--
V1 -> V2  Use GPL-2.0-or-later for cpu.c
---
 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..a7a1cf8ea8e0 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* 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


  parent reply	other threads:[~2026-01-19 22:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-13 23:44 [PATCH] kernel: add SPDX-License-Identifier lines Tim Bird
2026-01-14 15:24 ` Karim Yaghmour
2026-01-19  5:30 ` Rusty Russell
2026-01-19 19:41   ` Bird, Tim
2026-01-19 22:40 ` Tim Bird [this message]
2026-01-27 14:57   ` [PATCH v2] kernel: Add " 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=20260119224021.793309-1-tim.bird@sony.com \
    --to=tim.bird@sony.com \
    --cc=akpm@linuxfoundation.org \
    --cc=karim.yaghmour@opersys.com \
    --cc=kernelxing@tencent.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-spdx@vger.kernel.org \
    --cc=peterz@infradead.org \
    --cc=rusty@rustcorp.com.au \
    --cc=tglx@kernel.org \
    /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