| Subject: treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 457 |
| Date: Tue, 07 May 2019 12:03:14 +0100 |
| From: Thomas Gleixner <tglx@linutronix.de> |
| |
| 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). |
| |
| The result has been manually verified and compared against a license |
| compliance dataset provided by .... |
| |
| Signed-off-by: Thomas Gleixner <tglx@linutronix.de> |
| |
| |
| --- |
| |
| --- 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@gmail.com> |
| - * |
| - * 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@cyphar.com> |
| - * |
| - * 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@gmail.com> |
| - * |
| - * 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> |
| |
| |