Re: [Batch 17 patch 01/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 451

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04.06.19 08:10, Thomas Gleixner wrote:
From: Thomas Gleixner tglx@xxxxxxxxxxxxx

Based on 1 normalized pattern(s):

   this file is subject to the terms and conditions of version 2 of the
   gnu general public license see the file copying in the main
   directory of the linux distribution for more details

extracted by the scancode license scanner the SPDX license identifier

   GPL-2.0-only

has been chosen to replace the boilerplate/reference in 5 file(s).

Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=a957ba200377
---
  include/linux/cgroup_rdma.h |    5 +----
  kernel/bpf/cgroup.c         |    5 +----
  kernel/bpf/lpm_trie.c       |    5 +----
  kernel/cgroup/pids.c        |    5 +----
  kernel/cgroup/rdma.c        |    5 +----
  5 files changed, 5 insertions(+), 20 deletions(-)

--- a/include/linux/cgroup_rdma.h
+++ b/include/linux/cgroup_rdma.h
@@ -1,9 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
  /*
   * Copyright (C) 2016 Parav Pandit <pandit.parav@xxxxxxxxx>
- *
- * This file is subject to the terms and conditions of version 2 of the GNU
- * General Public License. See the file COPYING in the main directory of the
- * Linux distribution for more details.
   */
#ifndef _CGROUP_RDMA_H
--- a/kernel/bpf/cgroup.c
+++ b/kernel/bpf/cgroup.c
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
  /*
   * Functions to manage eBPF programs attached to cgroups
   *
   * Copyright (c) 2016 Daniel Mack
- *
- * This file is subject to the terms and conditions of version 2 of the GNU
- * General Public License.  See the file COPYING in the main directory of the
- * Linux distribution for more details.
   */
#include <linux/kernel.h>
--- a/kernel/bpf/lpm_trie.c
+++ b/kernel/bpf/lpm_trie.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
  /*
   * Longest prefix match list implementation
   *
   * Copyright (c) 2016,2017 Daniel Mack
   * Copyright (c) 2016 David Herrmann
- *
- * This file is subject to the terms and conditions of version 2 of the GNU
- * General Public License.  See the file COPYING in the main directory of the
- * Linux distribution for more details.
   */
#include <linux/bpf.h>
--- a/kernel/cgroup/pids.c
+++ b/kernel/cgroup/pids.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
  /*
   * Process number limiting controller for cgroups.
   *
@@ -25,10 +26,6 @@
   * a superset of parent/child/pids.current.
   *
   * Copyright (C) 2015 Aleksa Sarai <cyphar@xxxxxxxxxx>
- *
- * This file is subject to the terms and conditions of version 2 of the GNU
- * General Public License.  See the file COPYING in the main directory of the
- * Linux distribution for more details.
   */
#include <linux/kernel.h>
--- a/kernel/cgroup/rdma.c
+++ b/kernel/cgroup/rdma.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
  /*
   * RDMA resource limiting controller for cgroups.
   *
@@ -5,10 +6,6 @@
   * additional RDMA resources after a certain limit is reached.
   *
   * Copyright (C) 2016 Parav Pandit <pandit.parav@xxxxxxxxx>
- *
- * This file is subject to the terms and conditions of version 2 of the GNU
- * General Public License. See the file COPYING in the main directory of the
- * Linux distribution for more details.
   */
#include <linux/bitops.h>



Reviewed-By: Enrico Weigelt <info@xxxxxxxxx>

--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info@xxxxxxxxx -- +49-151-27565287



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux