Skip to contentSkip to conversation

kernel: cgroup: Add SPDX-License-Identifier lines

PATCH Applied Tim Bird 2 participants 2 messages Jan 14 – Jan 16

Subsystems (3)

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore

Tim Bird

author
#0 lore raw

PATCH 1/1 kernel: cgroup: Add SPDX-License-Identifier lines

Add GPL-2.0 SPDX license id lines to a few old files, replacing the reference to the COPYING file.

The COPYING file at the time of creation of these files (2007 and 2005) was GPL-v2.0, with an additional clause indicating that only v2 applied.

---
 kernel/cgroup/cgroup.c | 5 +----
 kernel/cgroup/cpuset.c | 5 +----
 2 files changed, 2 insertions(+), 8 deletions(-)
kernel/cgroup/cgroup.c +1 -4
index 554a02ee298b..5f0d33b04910 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  *  Generic process-grouping system.
  *
@@ -20,10 +21,6 @@
  *  2003-10-22 Updates by Stephen Hemminger.
  *  2004 May-July Rework by Paul Jackson.
  *  ---------------------------------------------------
- *
- *  This file is subject to the terms and conditions of the GNU General Public
- *  License.  See the file COPYING in the main directory of the Linux
- *  distribution for more details.
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
kernel/cgroup/cpuset.c +1 -4
index 3e8cc34d8d50..c06e2e96f79d 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  *  kernel/cpuset.c
  *
@@ -16,10 +17,6 @@
  *  2006 Rework by Paul Menage to use generic cgroups
  *  2008 Rework of the scheduler domains and CPU hotplug handling
  *       by Max Krasnyansky
- *
- *  This file is subject to the terms and conditions of the GNU General Public
- *  License.  See the file COPYING in the main directory of the Linux
- *  distribution for more details.
  */
 #include "cpuset-internal.h"
 
Signature · 1 line
2.43.0
maintainer Applied
#1 lore raw

Applied to cgroup/for-6.19-fixes.

Thanks.

--
tejun