Linux-SPDX Archive on lore.kernel.org
 help / color / Atom feed
* [Batch 17 patch 00/57] Batch 17 of random GPL notices/references
@ 2019-06-04  8:10 Thomas Gleixner
  2019-06-04  8:10 ` [Batch 17 patch 01/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 451 Thomas Gleixner
                   ` (56 more replies)
  0 siblings, 57 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:10 UTC (permalink / raw)
  To: linux-spdx

The last batch of oddities. Enjoy!

Thanks,

	tglx



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 01/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 451
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
@ 2019-06-04  8:10 ` Thomas Gleixner
  2019-06-04 10:51   ` Enrico Weigelt, metux IT consult
  2019-06-04 18:34   ` Allison Randal
  2019-06-04  8:10 ` [Batch 17 patch 02/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 452 Thomas Gleixner
                   ` (55 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:10 UTC (permalink / raw)
  To: linux-spdx

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).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
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@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>



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 02/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 452
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
  2019-06-04  8:10 ` [Batch 17 patch 01/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 451 Thomas Gleixner
@ 2019-06-04  8:10 ` Thomas Gleixner
  2019-06-04 10:52   ` Enrico Weigelt, metux IT consult
  2019-06-04 18:35   ` Allison Randal
  2019-06-04  8:10 ` [Batch 17 patch 03/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 453 Thomas Gleixner
                   ` (54 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:10 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this program is free software void you can redistribute it and or
  modify it under the terms of the gnu general public license version
  2 as published by the free software foundation this program is
  distributed in the hope that it will be useful but without any
  warranty without even the implied warranty of merchantability or
  fitness for a particular purpose see the gnu general public license
  for more details you should have received a copy of the gnu general
  public license along with this program if not see http void www gnu
  org licenses

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=ac10859af892
---
 arch/arm64/kernel/sys32.c |   13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

--- a/arch/arm64/kernel/sys32.c
+++ b/arch/arm64/kernel/sys32.c
@@ -1,19 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * arch/arm64/kernel/sys32.c
  *
  * Copyright (C) 2015 ARM Ltd.
- *
- * This program is free software(void); you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http(void);//www.gnu.org/licenses/>.
  */
 
 /*



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 03/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 453
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
  2019-06-04  8:10 ` [Batch 17 patch 01/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 451 Thomas Gleixner
  2019-06-04  8:10 ` [Batch 17 patch 02/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 452 Thomas Gleixner
@ 2019-06-04  8:10 ` Thomas Gleixner
  2019-06-04 10:52   ` Enrico Weigelt, metux IT consult
  2019-06-04 10:58   ` Armijn Hemel - Tjaldur Software Governance Solutions
  2019-06-04  8:10 ` [Batch 17 patch 04/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 454 Thomas Gleixner
                   ` (53 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:10 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 2 normalized pattern(s):

  this file is provided under a gplv2 license when using or
  redistributing this file you may do so under that license gpl
  license summary [copyright] [c] [2016] [t] [platforms] [all]
  [rights] [reserved] this program is free software you can
  redistribute it and or modify it under the terms and conditions of
  the gnu general public license version 2 as published by the free
  software foundation this program is distributed in the hope that it
  will be useful but without any warranty without even the implied
  warranty of merchantability or fitness for a particular purpose see
  the gnu general public license for more details you should have
  received a copy of the gnu general public license along with this
  program if not it can be found http www gnu org licenses the full
  gnu general public license is included in this distribution in the
  file called copying this software is provided by the copyright
  holders and contributors as is and any express or implied warranties
  including but not limited to the implied warranties of
  merchantability and fitness for a particular purpose are disclaimed
  in no event shall the copyright owner or contributors be liable for
  any direct indirect incidental special exemplary or consequential
  damages including but not limited to procurement of substitute goods
  or services loss of use data or profits or business interruption
  however caused and on any theory of liability whether in contract
  strict liability or tort including negligence or otherwise arising
  in any way out of the use of this software even if advised of the
  possibility of such damage

  this file is provided under a gplv2 license when using or
  redistributing this file you may do so under that license gpl
  license summary [copyright] [c] [2016] [2018] [t] [platforms] [jsc]
  [all] [rights] [reserved] this program is free software you can
  redistribute it and or modify it under the terms and conditions of
  the gnu general public license version 2 as published by the free
  software foundation this program is distributed in the hope that it
  will be useful but without any warranty without even the implied
  warranty of merchantability or fitness for a particular purpose see
  the gnu general public license for more details you should have
  received a copy of the gnu general public license along with this
  program if not [one] can be found http www gnu org licenses the full
  gnu general public license is included in this distribution in the
  file called copying this software is provided by the copyright
  holders and contributors as is and any express or implied warranties
  including but not limited to the implied warranties of
  merchantability and fitness for a particular purpose are disclaimed
  in no event shall the copyright owner or contributors be liable for
  any direct indirect incidental special exemplary or consequential
  damages including but not limited to procurement of substitute goods
  or services loss of use data or profits or business interruption
  however caused and on any theory of liability whether in contract
  strict liability or tort including negligence or otherwise arising
  in any way out of the use of this software even if advised of the
  possibility of such damage

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=7060a33d0101
---
 drivers/misc/eeprom/idt_89hpesx.c |   33 +--------------------------------
 drivers/ntb/hw/idt/ntb_hw_idt.c   |   33 +--------------------------------
 drivers/ntb/hw/idt/ntb_hw_idt.h   |   33 +--------------------------------
 3 files changed, 3 insertions(+), 96 deletions(-)

--- a/drivers/misc/eeprom/idt_89hpesx.c
+++ b/drivers/misc/eeprom/idt_89hpesx.c
@@ -1,38 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
- *   This file is provided under a GPLv2 license.  When using or
- *   redistributing this file, you may do so under that license.
- *
- *   GPL LICENSE SUMMARY
- *
  *   Copyright (C) 2016 T-Platforms. All Rights Reserved.
  *
- *   This program is free software; you can redistribute it and/or modify it
- *   under the terms and conditions of the GNU General Public License,
- *   version 2, as published by the Free Software Foundation.
- *
- *   This program is distributed in the hope that it will be useful, but WITHOUT
- *   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- *   FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- *   more details.
- *
- *   You should have received a copy of the GNU General Public License along
- *   with this program; if not, it can be found <http://www.gnu.org/licenses/>.
- *
- *   The full GNU General Public License is included in this distribution in
- *   the file called "COPYING".
- *
- *   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- *   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- *   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- *   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- *   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- *   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- *   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
  * IDT PCIe-switch NTB Linux driver
  *
  * Contact Information:
--- a/drivers/ntb/hw/idt/ntb_hw_idt.c
+++ b/drivers/ntb/hw/idt/ntb_hw_idt.c
@@ -1,38 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
- *   This file is provided under a GPLv2 license.  When using or
- *   redistributing this file, you may do so under that license.
- *
- *   GPL LICENSE SUMMARY
- *
  *   Copyright (C) 2016-2018 T-Platforms JSC All Rights Reserved.
  *
- *   This program is free software; you can redistribute it and/or modify it
- *   under the terms and conditions of the GNU General Public License,
- *   version 2, as published by the Free Software Foundation.
- *
- *   This program is distributed in the hope that it will be useful, but
- *   WITHOUT ANY WARRANTY; without even the implied warranty of
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
- *   Public License for more details.
- *
- *   You should have received a copy of the GNU General Public License along
- *   with this program; if not, one can be found http://www.gnu.org/licenses/.
- *
- *   The full GNU General Public License is included in this distribution in
- *   the file called "COPYING".
- *
- *   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- *   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- *   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- *   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- *   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- *   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- *   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
  * IDT PCIe-switch NTB Linux driver
  *
  * Contact Information:
--- a/drivers/ntb/hw/idt/ntb_hw_idt.h
+++ b/drivers/ntb/hw/idt/ntb_hw_idt.h
@@ -1,38 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
- *   This file is provided under a GPLv2 license.  When using or
- *   redistributing this file, you may do so under that license.
- *
- *   GPL LICENSE SUMMARY
- *
  *   Copyright (C) 2016-2018 T-Platforms JSC All Rights Reserved.
  *
- *   This program is free software; you can redistribute it and/or modify it
- *   under the terms and conditions of the GNU General Public License,
- *   version 2, as published by the Free Software Foundation.
- *
- *   This program is distributed in the hope that it will be useful, but
- *   WITHOUT ANY WARRANTY; without even the implied warranty of
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
- *   Public License for more details.
- *
- *   You should have received a copy of the GNU General Public License along
- *   with this program; if not, one can be found http://www.gnu.org/licenses/.
- *
- *   The full GNU General Public License is included in this distribution in
- *   the file called "COPYING".
- *
- *   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- *   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- *   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- *   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- *   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- *   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- *   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
  * IDT PCIe-switch NTB Linux driver
  *
  * Contact Information:



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 04/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 454
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (2 preceding siblings ...)
  2019-06-04  8:10 ` [Batch 17 patch 03/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 453 Thomas Gleixner
@ 2019-06-04  8:10 ` Thomas Gleixner
  2019-06-04 10:53   ` Enrico Weigelt, metux IT consult
  2019-06-04 18:36   ` Allison Randal
  2019-06-04  8:10 ` [Batch 17 patch 05/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 455 Thomas Gleixner
                   ` (52 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:10 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this program is free software you can distribute it and or modify it
  under the terms of the gnu general public license as published by
  the free software foundation version 2 of the license

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=a69dd74ff3f0
---
 arch/mips/math-emu/dp_2008class.c |    5 +----
 arch/mips/math-emu/dp_fmax.c      |    5 +----
 arch/mips/math-emu/dp_fmin.c      |    5 +----
 arch/mips/math-emu/dp_maddf.c     |    5 +----
 arch/mips/math-emu/sp_2008class.c |    5 +----
 arch/mips/math-emu/sp_fmax.c      |    5 +----
 arch/mips/math-emu/sp_fmin.c      |    5 +----
 arch/mips/math-emu/sp_maddf.c     |    5 +----
 8 files changed, 8 insertions(+), 32 deletions(-)

--- a/arch/mips/math-emu/dp_2008class.c
+++ b/arch/mips/math-emu/dp_2008class.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * IEEE754 floating point arithmetic
  * double precision: CLASS.f
@@ -6,10 +7,6 @@
  * MIPS floating point support
  * Copyright (C) 2015 Imagination Technologies, Ltd.
  * Author: Markos Chandras <markos.chandras@imgtec.com>
- *
- *  This program is free software; you can distribute it and/or modify it
- *  under the terms of the GNU General Public License as published by the
- *  Free Software Foundation; version 2 of the License.
  */
 
 #include "ieee754dp.h"
--- a/arch/mips/math-emu/dp_fmax.c
+++ b/arch/mips/math-emu/dp_fmax.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * IEEE754 floating point arithmetic
  * double precision: MIN{,A}.f
@@ -10,10 +11,6 @@
  * MIPS floating point support
  * Copyright (C) 2015 Imagination Technologies, Ltd.
  * Author: Markos Chandras <markos.chandras@imgtec.com>
- *
- *  This program is free software; you can distribute it and/or modify it
- *  under the terms of the GNU General Public License as published by the
- *  Free Software Foundation; version 2 of the License.
  */
 
 #include "ieee754dp.h"
--- a/arch/mips/math-emu/dp_fmin.c
+++ b/arch/mips/math-emu/dp_fmin.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * IEEE754 floating point arithmetic
  * double precision: MIN{,A}.f
@@ -10,10 +11,6 @@
  * MIPS floating point support
  * Copyright (C) 2015 Imagination Technologies, Ltd.
  * Author: Markos Chandras <markos.chandras@imgtec.com>
- *
- *  This program is free software; you can distribute it and/or modify it
- *  under the terms of the GNU General Public License as published by the
- *  Free Software Foundation; version 2 of the License.
  */
 
 #include "ieee754dp.h"
--- a/arch/mips/math-emu/dp_maddf.c
+++ b/arch/mips/math-emu/dp_maddf.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * IEEE754 floating point arithmetic
  * double precision: MADDF.f (Fused Multiply Add)
@@ -6,10 +7,6 @@
  * MIPS floating point support
  * Copyright (C) 2015 Imagination Technologies, Ltd.
  * Author: Markos Chandras <markos.chandras@imgtec.com>
- *
- *  This program is free software; you can distribute it and/or modify it
- *  under the terms of the GNU General Public License as published by the
- *  Free Software Foundation; version 2 of the License.
  */
 
 #include "ieee754dp.h"
--- a/arch/mips/math-emu/sp_2008class.c
+++ b/arch/mips/math-emu/sp_2008class.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * IEEE754 floating point arithmetic
  * single precision: CLASS.f
@@ -6,10 +7,6 @@
  * MIPS floating point support
  * Copyright (C) 2015 Imagination Technologies, Ltd.
  * Author: Markos Chandras <markos.chandras@imgtec.com>
- *
- *  This program is free software; you can distribute it and/or modify it
- *  under the terms of the GNU General Public License as published by the
- *  Free Software Foundation; version 2 of the License.
  */
 
 #include "ieee754sp.h"
--- a/arch/mips/math-emu/sp_fmax.c
+++ b/arch/mips/math-emu/sp_fmax.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * IEEE754 floating point arithmetic
  * single precision: MAX{,A}.f
@@ -10,10 +11,6 @@
  * MIPS floating point support
  * Copyright (C) 2015 Imagination Technologies, Ltd.
  * Author: Markos Chandras <markos.chandras@imgtec.com>
- *
- *  This program is free software; you can distribute it and/or modify it
- *  under the terms of the GNU General Public License as published by the
- *  Free Software Foundation; version 2 of the License.
  */
 
 #include "ieee754sp.h"
--- a/arch/mips/math-emu/sp_fmin.c
+++ b/arch/mips/math-emu/sp_fmin.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * IEEE754 floating point arithmetic
  * single precision: MIN{,A}.f
@@ -10,10 +11,6 @@
  * MIPS floating point support
  * Copyright (C) 2015 Imagination Technologies, Ltd.
  * Author: Markos Chandras <markos.chandras@imgtec.com>
- *
- *  This program is free software; you can distribute it and/or modify it
- *  under the terms of the GNU General Public License as published by the
- *  Free Software Foundation; version 2 of the License.
  */
 
 #include "ieee754sp.h"
--- a/arch/mips/math-emu/sp_maddf.c
+++ b/arch/mips/math-emu/sp_maddf.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * IEEE754 floating point arithmetic
  * single precision: MADDF.f (Fused Multiply Add)
@@ -6,10 +7,6 @@
  * MIPS floating point support
  * Copyright (C) 2015 Imagination Technologies, Ltd.
  * Author: Markos Chandras <markos.chandras@imgtec.com>
- *
- *  This program is free software; you can distribute it and/or modify it
- *  under the terms of the GNU General Public License as published by the
- *  Free Software Foundation; version 2 of the License.
  */
 
 #include "ieee754sp.h"



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 05/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 455
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (3 preceding siblings ...)
  2019-06-04  8:10 ` [Batch 17 patch 04/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 454 Thomas Gleixner
@ 2019-06-04  8:10 ` Thomas Gleixner
  2019-06-04 10:54   ` Enrico Weigelt, metux IT consult
  2019-06-04 18:53   ` Allison Randal
  2019-06-04  8:10 ` [Batch 17 patch 06/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 456 Thomas Gleixner
                   ` (51 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:10 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this package is free software you can redistribute it and or modify
  it under the terms of the gnu general public license version 2 and
  only version 2 as published by the free software foundation

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=92692d16f0d0
---
 drivers/power/supply/max14656_charger_detector.c |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

--- a/drivers/power/supply/max14656_charger_detector.c
+++ b/drivers/power/supply/max14656_charger_detector.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Maxim MAX14656 / AL32 USB Charger Detector driver
  *
@@ -7,11 +8,6 @@
  * Components from Maxim AL32 Charger detection Driver for MX50 Yoshi Board
  * Copyright (C) Amazon Technologies Inc. All rights reserved.
  * Manish Lachwani (lachwani@lab126.com)
- *
- * This package is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 and
- * only version 2 as published by the Free Software Foundation.
- *
  */
 #include <linux/module.h>
 #include <linux/init.h>



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 06/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 456
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (4 preceding siblings ...)
  2019-06-04  8:10 ` [Batch 17 patch 05/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 455 Thomas Gleixner
@ 2019-06-04  8:10 ` Thomas Gleixner
  2019-06-04 10:54   ` Enrico Weigelt, metux IT consult
  2019-06-04 18:54   ` Allison Randal
  2019-06-04  8:10 ` [Batch 17 patch 07/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 457 Thomas Gleixner
                   ` (50 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:10 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  driver is free software you can redistribute it and or modify it
  under the terms of the gnu general public license as published by
  the free software foundation version 2 the [audiowerk2] [alsa]
  driver is distributed in the hope that it will be useful but without
  any warranty without even the implied warranty of merchantability or
  fitness for a particular purpose see the gnu general public license
  for more details you should have received a copy of the gnu general
  public license along with the [audiowerk2] [alsa] driver if not
  write to the free software foundation inc 51 franklin street fifth
  floor boston ma 02110 1301 usa

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@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=72436dcf4678
---
 sound/pci/aw2/aw2-alsa.c    |   15 +--------------
 sound/pci/aw2/aw2-saa7146.c |   15 +--------------
 sound/pci/aw2/aw2-saa7146.h |   15 +--------------
 sound/pci/aw2/aw2-tsl.c     |   15 +--------------
 sound/pci/aw2/saa7146.h     |   15 +--------------
 5 files changed, 5 insertions(+), 70 deletions(-)

--- a/sound/pci/aw2/aw2-alsa.c
+++ b/sound/pci/aw2/aw2-alsa.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*****************************************************************************
  *
  * Copyright (C) 2008 Cedric Bregardis <cedric.bregardis@free.fr> and
@@ -5,20 +6,6 @@
  *
  * This file is part of the Audiowerk2 ALSA driver
  *
- * The Audiowerk2 ALSA driver is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2.
- *
- * The Audiowerk2 ALSA driver is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the Audiowerk2 ALSA driver; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
- * USA.
- *
  *****************************************************************************/
 #include <linux/init.h>
 #include <linux/pci.h>
--- a/sound/pci/aw2/aw2-saa7146.c
+++ b/sound/pci/aw2/aw2-saa7146.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*****************************************************************************
  *
  * Copyright (C) 2008 Cedric Bregardis <cedric.bregardis@free.fr> and
@@ -5,20 +6,6 @@
  *
  * This file is part of the Audiowerk2 ALSA driver
  *
- * The Audiowerk2 ALSA driver is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2.
- *
- * The Audiowerk2 ALSA driver is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the Audiowerk2 ALSA driver; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
- * USA.
- *
  *****************************************************************************/
 
 #define AW2_SAA7146_M
--- a/sound/pci/aw2/aw2-saa7146.h
+++ b/sound/pci/aw2/aw2-saa7146.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*****************************************************************************
  *
  * Copyright (C) 2008 Cedric Bregardis <cedric.bregardis@free.fr> and
@@ -5,20 +6,6 @@
  *
  * This file is part of the Audiowerk2 ALSA driver
  *
- * The Audiowerk2 ALSA driver is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2.
- *
- * The Audiowerk2 ALSA driver is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the Audiowerk2 ALSA driver; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
- * USA.
- *
  *****************************************************************************/
 
 #ifndef AW2_SAA7146_H
--- a/sound/pci/aw2/aw2-tsl.c
+++ b/sound/pci/aw2/aw2-tsl.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*****************************************************************************
  *
  * Copyright (C) 2008 Cedric Bregardis <cedric.bregardis@free.fr> and
@@ -7,20 +8,6 @@
  *
  * This file is part of the Audiowerk2 ALSA driver
  *
- * The Audiowerk2 ALSA driver is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2.
- *
- * The Audiowerk2 ALSA driver is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the Audiowerk2 ALSA driver; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
- * USA.
- *
  *****************************************************************************/
 
 #define TSL_WS0		(1UL << 31)
--- a/sound/pci/aw2/saa7146.h
+++ b/sound/pci/aw2/saa7146.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*****************************************************************************
  *
  * Copyright (C) 2008 Cedric Bregardis <cedric.bregardis@free.fr> and
@@ -5,20 +6,6 @@
  *
  * This file is part of the Audiowerk2 ALSA driver
  *
- * The Audiowerk2 ALSA driver is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2.
- *
- * The Audiowerk2 ALSA driver is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the Audiowerk2 ALSA driver; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
- * USA.
- *
  *****************************************************************************/
 
 /* SAA7146 registers */



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 07/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 457
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (5 preceding siblings ...)
  2019-06-04  8:10 ` [Batch 17 patch 06/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 456 Thomas Gleixner
@ 2019-06-04  8:10 ` Thomas Gleixner
  2019-06-04 10:55   ` Enrico Weigelt, metux IT consult
  2019-06-04 18:55   ` Allison Randal
  2019-06-04  8:10 ` [Batch 17 patch 08/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 459 Thomas Gleixner
                   ` (49 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:10 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 2 normalized pattern(s):

  this file is licensed under gplv2 this file is part of the [aic94xx]
  driver the [aic94xx] driver is free software you can redistribute it
  and or modify it under the terms of the gnu general public license
  as published by the free software foundation version 2 of the
  license the [aic94xx] driver is distributed in the hope that it will
  be useful but without any warranty without even the implied warranty
  of merchantability or fitness for a particular purpose see the gnu
  general public license for more details you should have received a
  copy of the gnu general public license along with [aic94xx] driver
  if not write to the free software foundation inc 51 franklin st
  fifth floor boston ma 02110 1301 usa

  this file is licensed under gplv2 this file is part of the
  [88se64xx] [88se94xx] driver the [88se64xx] [88se94xx] driver is
  free software you can redistribute it and or modify it under the
  terms of the gnu general public license as published by the free
  software foundation version 2 of the license the [88se64xx]
  [88se94xx] driver is distributed in the hope that it will be useful
  but without any warranty without even the implied warranty of
  merchantability or fitness for a particular purpose see the gnu
  general public license for more details you should have received a
  copy of the gnu general public license along with [88se64xx]
  [88se94xx] driver if not write to the free software foundation inc
  51 franklin st fifth floor boston ma 02110 1301 usa

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=44cea5666279
---
 drivers/scsi/aic94xx/Kconfig |   20 +-------------------
 drivers/scsi/mvsas/Kconfig   |   20 +-------------------
 2 files changed, 2 insertions(+), 38 deletions(-)

--- a/drivers/scsi/aic94xx/Kconfig
+++ b/drivers/scsi/aic94xx/Kconfig
@@ -1,28 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # Kernel configuration file for aic94xx SAS/SATA driver.
 #
 # Copyright (c) 2005 Adaptec, Inc.  All rights reserved.
 # Copyright (c) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
 #
-# This file is licensed under GPLv2.
-#
-# This file is part of the aic94xx driver.
-#
-# The aic94xx driver is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; version 2 of the
-# License.
-#
-# The aic94xx driver is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with Aic94xx Driver; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
-#
 
 config SCSI_AIC94XX
 	tristate "Adaptec AIC94xx SAS/SATA support"
--- a/drivers/scsi/mvsas/Kconfig
+++ b/drivers/scsi/mvsas/Kconfig
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # Kernel configuration file for 88SE64XX/88SE94XX SAS/SATA driver.
 #
@@ -5,25 +6,6 @@
 # Copyright 2008 Marvell. <kewei@marvell.com>
 # Copyright 2009-2011 Marvell. <yuxiangl@marvell.com>
 #
-# This file is licensed under GPLv2.
-#
-# This file is part of the 88SE64XX/88SE94XX driver.
-#
-# The 88SE64XX/88SE94XX driver is free software; you can redistribute
-# it and/or modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; version 2 of the
-# License.
-#
-# The 88SE64XX/88SE94XX driver is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with 88SE64XX/88SE94XX Driver; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
-#
 
 config SCSI_MVSAS
 	tristate "Marvell 88SE64XX/88SE94XX SAS/SATA support"



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 08/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 459
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (6 preceding siblings ...)
  2019-06-04  8:10 ` [Batch 17 patch 07/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 457 Thomas Gleixner
@ 2019-06-04  8:10 ` Thomas Gleixner
  2019-06-04 10:58   ` Enrico Weigelt, metux IT consult
  2019-06-04 18:56   ` Allison Randal
  2019-06-04  8:10 ` [Batch 17 patch 09/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 460 Thomas Gleixner
                   ` (48 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:10 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license version 2 as
  published by the free software foundation the gpl this program is
  distributed in the hope that it will be useful but without any
  warranty without even the implied warranty of merchantability or
  fitness for a particular purpose see the gnu general public license
  version 2 gplv2 for more details you should have received a copy of
  the gnu general public license version 2 gplv2 along with this
  source code

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=17536451b960
---
 drivers/acpi/pci_mcfg.c           |   13 +------------
 drivers/clk/bcm/clk-sr.c          |   13 +------------
 drivers/crypto/bcm/cipher.c       |   13 +------------
 drivers/crypto/bcm/cipher.h       |   13 +------------
 drivers/crypto/bcm/spu.c          |   13 +------------
 drivers/crypto/bcm/spu.h          |   13 +------------
 drivers/crypto/bcm/spu2.c         |   13 +------------
 drivers/crypto/bcm/spu2.h         |   13 +------------
 drivers/crypto/bcm/spum.h         |   13 +------------
 drivers/crypto/bcm/util.c         |   13 +------------
 drivers/crypto/bcm/util.h         |   13 +------------
 drivers/iio/adc/bcm_iproc_adc.c   |   13 +------------
 drivers/mailbox/bcm-pdc-mailbox.c |   13 +------------
 drivers/spi/spi-bcm-qspi.c        |   13 +------------
 drivers/spi/spi-bcm-qspi.h        |   13 +------------
 drivers/spi/spi-brcmstb-qspi.c    |   13 +------------
 16 files changed, 16 insertions(+), 192 deletions(-)

--- a/drivers/acpi/pci_mcfg.c
+++ b/drivers/acpi/pci_mcfg.c
@@ -1,20 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2016 Broadcom
  *	Author: Jayachandran C <jchandra@broadcom.com>
  * Copyright (C) 2016 Semihalf
  * 	Author: Tomasz Nowicki <tn@semihalf.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2, as
- * published by the Free Software Foundation (the "GPL").
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License version 2 (GPLv2) for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 (GPLv2) along with this source code.
  */
 
 #define pr_fmt(fmt) "ACPI: " fmt
--- a/drivers/clk/bcm/clk-sr.c
+++ b/drivers/clk/bcm/clk-sr.c
@@ -1,17 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright 2017 Broadcom
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2, as
- * published by the Free Software Foundation (the "GPL").
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License version 2 (GPLv2) for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 (GPLv2) along with this source code.
  */
 
 #include <linux/err.h>
--- a/drivers/crypto/bcm/cipher.c
+++ b/drivers/crypto/bcm/cipher.c
@@ -1,17 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright 2016 Broadcom
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2, as
- * published by the Free Software Foundation (the "GPL").
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License version 2 (GPLv2) for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 (GPLv2) along with this source code.
  */
 
 #include <linux/err.h>
--- a/drivers/crypto/bcm/cipher.h
+++ b/drivers/crypto/bcm/cipher.h
@@ -1,17 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright 2016 Broadcom
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2, as
- * published by the Free Software Foundation (the "GPL").
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License version 2 (GPLv2) for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 (GPLv2) along with this source code.
  */
 
 #ifndef _CIPHER_H
--- a/drivers/crypto/bcm/spu.c
+++ b/drivers/crypto/bcm/spu.c
@@ -1,17 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright 2016 Broadcom
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2, as
- * published by the Free Software Foundation (the "GPL").
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License version 2 (GPLv2) for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 (GPLv2) along with this source code.
  */
 
 #include <linux/kernel.h>
--- a/drivers/crypto/bcm/spu.h
+++ b/drivers/crypto/bcm/spu.h
@@ -1,17 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright 2016 Broadcom
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2, as
- * published by the Free Software Foundation (the "GPL").
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License version 2 (GPLv2) for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 (GPLv2) along with this source code.
  */
 
 /*
--- a/drivers/crypto/bcm/spu2.c
+++ b/drivers/crypto/bcm/spu2.c
@@ -1,17 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright 2016 Broadcom
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2, as
- * published by the Free Software Foundation (the "GPL").
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License version 2 (GPLv2) for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 (GPLv2) along with this source code.
  */
 
 /*
--- a/drivers/crypto/bcm/spu2.h
+++ b/drivers/crypto/bcm/spu2.h
@@ -1,17 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright 2016 Broadcom
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2, as
- * published by the Free Software Foundation (the "GPL").
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License version 2 (GPLv2) for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 (GPLv2) along with this source code.
  */
 
 /*
--- a/drivers/crypto/bcm/spum.h
+++ b/drivers/crypto/bcm/spum.h
@@ -1,17 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright 2016 Broadcom
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2, as
- * published by the Free Software Foundation (the "GPL").
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License version 2 (GPLv2) for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 (GPLv2) along with this source code.
  */
 
 /*
--- a/drivers/crypto/bcm/util.c
+++ b/drivers/crypto/bcm/util.c
@@ -1,17 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright 2016 Broadcom
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2, as
- * published by the Free Software Foundation (the "GPL").
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License version 2 (GPLv2) for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 (GPLv2) along with this source code.
  */
 
 #include <linux/debugfs.h>
--- a/drivers/crypto/bcm/util.h
+++ b/drivers/crypto/bcm/util.h
@@ -1,17 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright 2016 Broadcom
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2, as
- * published by the Free Software Foundation (the "GPL").
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License version 2 (GPLv2) for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 (GPLv2) along with this source code.
  */
 
 #ifndef _UTIL_H
--- a/drivers/iio/adc/bcm_iproc_adc.c
+++ b/drivers/iio/adc/bcm_iproc_adc.c
@@ -1,17 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright 2016 Broadcom
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2, as
- * published by the Free Software Foundation (the "GPL").
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License version 2 (GPLv2) for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 (GPLv2) along with this source code.
  */
 
 #include <linux/module.h>
--- a/drivers/mailbox/bcm-pdc-mailbox.c
+++ b/drivers/mailbox/bcm-pdc-mailbox.c
@@ -1,17 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright 2016 Broadcom
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2, as
- * published by the Free Software Foundation (the "GPL").
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License version 2 (GPLv2) for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 (GPLv2) along with this source code.
  */
 
 /*
--- a/drivers/spi/spi-bcm-qspi.c
+++ b/drivers/spi/spi-bcm-qspi.c
@@ -1,19 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Driver for Broadcom BRCMSTB, NSP,  NS2, Cygnus SPI Controllers
  *
  * Copyright 2016 Broadcom
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2, as
- * published by the Free Software Foundation (the "GPL").
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License version 2 (GPLv2) for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 (GPLv2) along with this source code.
  */
 
 #include <linux/clk.h>
--- a/drivers/spi/spi-bcm-qspi.h
+++ b/drivers/spi/spi-bcm-qspi.h
@@ -1,17 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright 2016 Broadcom
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2, as
- * published by the Free Software Foundation (the "GPL").
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License version 2 (GPLv2) for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 (GPLv2) along with this source code.
  */
 
 #ifndef __SPI_BCM_QSPI_H__
--- a/drivers/spi/spi-brcmstb-qspi.c
+++ b/drivers/spi/spi-brcmstb-qspi.c
@@ -1,17 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright 2016 Broadcom
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2, as
- * published by the Free Software Foundation (the "GPL").
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License version 2 (GPLv2) for more details.
- *
- * You should have received a copy of the GNU General Public License
- * version 2 (GPLv2) along with this source code.
  */
 
 #include <linux/device.h>



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 09/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 460
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (7 preceding siblings ...)
  2019-06-04  8:10 ` [Batch 17 patch 08/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 459 Thomas Gleixner
@ 2019-06-04  8:10 ` Thomas Gleixner
  2019-06-04 11:02   ` Enrico Weigelt, metux IT consult
  2019-06-04 18:57   ` Allison Randal
  2019-06-04  8:10 ` [Batch 17 patch 10/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 461 Thomas Gleixner
                   ` (47 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:10 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license version 2 as
  published by the free software foundation http www opensource org
  licenses gpl license html http www gnu org copyleft gpl html

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=fb1e50b89a20
---
 drivers/clk/imx/clk-cpu.c |    8 +-------
 drivers/nvmem/imx-iim.c   |    8 +-------
 drivers/nvmem/imx-ocotp.c |    8 +-------
 3 files changed, 3 insertions(+), 21 deletions(-)

--- a/drivers/clk/imx/clk-cpu.c
+++ b/drivers/clk/imx/clk-cpu.c
@@ -1,12 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2014 Lucas Stach <l.stach@pengutronix.de>, Pengutronix
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * http://www.opensource.org/licenses/gpl-license.html
- * http://www.gnu.org/copyleft/gpl.html
  */
 
 #include <linux/clk.h>
--- a/drivers/nvmem/imx-iim.c
+++ b/drivers/nvmem/imx-iim.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * i.MX IIM driver
  *
@@ -6,13 +7,6 @@
  * Based on the barebox iim driver,
  * Copyright (c) 2010 Baruch Siach <baruch@tkos.co.il>,
  *	Orex Computed Radiography
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * http://www.opensource.org/licenses/gpl-license.html
- * http://www.gnu.org/copyleft/gpl.html
  */
 
 #include <linux/device.h>
--- a/drivers/nvmem/imx-ocotp.c
+++ b/drivers/nvmem/imx-ocotp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * i.MX6 OCOTP fusebox driver
  *
@@ -9,13 +10,6 @@
  *
  * Write support based on the fsl_otp driver,
  * Copyright (C) 2010-2013 Freescale Semiconductor, Inc
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * http://www.opensource.org/licenses/gpl-license.html
- * http://www.gnu.org/copyleft/gpl.html
  */
 
 #include <linux/clk.h>



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 10/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 461
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (8 preceding siblings ...)
  2019-06-04  8:10 ` [Batch 17 patch 09/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 460 Thomas Gleixner
@ 2019-06-04  8:10 ` Thomas Gleixner
  2019-06-04 11:03   ` Enrico Weigelt, metux IT consult
  2019-06-04 18:58   ` Allison Randal
  2019-06-04  8:10 ` [Batch 17 patch 11/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 462 Thomas Gleixner
                   ` (46 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:10 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license version 2 only
  as published by the free software foundation this program is
  distributed in the hope that it will be useful but without any
  warranty without even the implied warranty of merchantability or
  fitness for a particular purpose see the gnu general public license
  for more details to obtain the license point your browser to http
  www gnu org copyleft gpl html

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=4df9a894caf1
---
 drivers/media/dvb-frontends/drxd.h          |   14 +-------------
 drivers/media/dvb-frontends/drxd_firm.c     |   14 +-------------
 drivers/media/dvb-frontends/drxd_firm.h     |   14 +-------------
 drivers/media/dvb-frontends/drxd_hard.c     |   14 +-------------
 drivers/media/dvb-frontends/drxd_map_firm.h |   14 +-------------
 drivers/media/dvb-frontends/drxk_hard.c     |   14 +-------------
 drivers/media/dvb-frontends/tda18271c2dd.c  |   15 +--------------
 drivers/media/pci/ngene/ngene-cards.c       |   15 +--------------
 drivers/media/pci/ngene/ngene-core.c        |   15 +--------------
 drivers/media/pci/ngene/ngene-dvb.c         |   15 +--------------
 drivers/media/pci/ngene/ngene-i2c.c         |   15 +--------------
 drivers/media/pci/ngene/ngene.h             |   14 +-------------
 12 files changed, 12 insertions(+), 161 deletions(-)

--- a/drivers/media/dvb-frontends/drxd.h
+++ b/drivers/media/dvb-frontends/drxd.h
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * drxd.h: DRXD DVB-T demodulator driver
  *
  * Copyright (C) 2005-2007 Micronas
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * version 2 only, as published by the Free Software Foundation.
- *
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
  */
 
 #ifndef _DRXD_H_
--- a/drivers/media/dvb-frontends/drxd_firm.c
+++ b/drivers/media/dvb-frontends/drxd_firm.c
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * drxd_firm.c : DRXD firmware tables
  *
  * Copyright (C) 2006-2007 Micronas
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * version 2 only, as published by the Free Software Foundation.
- *
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
  */
 
 /* TODO: generate this file with a script from a settings file */
--- a/drivers/media/dvb-frontends/drxd_firm.h
+++ b/drivers/media/dvb-frontends/drxd_firm.h
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * drxd_firm.h
  *
  * Copyright (C) 2006-2007 Micronas
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * version 2 only, as published by the Free Software Foundation.
- *
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
  */
 
 #ifndef _DRXD_FIRM_H_
--- a/drivers/media/dvb-frontends/drxd_hard.c
+++ b/drivers/media/dvb-frontends/drxd_hard.c
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * drxd_hard.c: DVB-T Demodulator Micronas DRX3975D-A2,DRX397xD-B1
  *
  * Copyright (C) 2003-2007 Micronas
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * version 2 only, as published by the Free Software Foundation.
- *
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
  */
 
 #include <linux/kernel.h>
--- a/drivers/media/dvb-frontends/drxd_map_firm.h
+++ b/drivers/media/dvb-frontends/drxd_map_firm.h
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * drx3973d_map_firm.h
  *
  * Copyright (C) 2006-2007 Micronas
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * version 2 only, as published by the Free Software Foundation.
- *
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
  */
 
 #ifndef __DRX3973D_MAP__H__
--- a/drivers/media/dvb-frontends/drxk_hard.c
+++ b/drivers/media/dvb-frontends/drxk_hard.c
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * drxk_hard: DRX-K DVB-C/T demodulator driver
  *
  * Copyright (C) 2010-2011 Digital Devices GmbH
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * version 2 only, as published by the Free Software Foundation.
- *
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
--- a/drivers/media/dvb-frontends/tda18271c2dd.c
+++ b/drivers/media/dvb-frontends/tda18271c2dd.c
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * tda18271c2dd: Driver for the TDA18271C2 tuner
  *
  * Copyright (C) 2010 Digital Devices GmbH
- *
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * version 2 only, as published by the Free Software Foundation.
- *
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
  */
 
 #include <linux/kernel.h>
--- a/drivers/media/pci/ngene/ngene-cards.c
+++ b/drivers/media/pci/ngene/ngene-cards.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * ngene-cards.c: nGene PCIe bridge driver - card specific info
  *
@@ -7,20 +8,6 @@
  *                         Modifications for new nGene firmware,
  *                         support for EEPROM-copying,
  *                         support for new dual DVB-S2 card prototype
- *
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * version 2 only, as published by the Free Software Foundation.
- *
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
--- a/drivers/media/pci/ngene/ngene-core.c
+++ b/drivers/media/pci/ngene/ngene-core.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * ngene.c: nGene PCIe bridge driver
  *
@@ -7,20 +8,6 @@
  *                         Modifications for new nGene firmware,
  *                         support for EEPROM-copying,
  *                         support for new dual DVB-S2 card prototype
- *
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * version 2 only, as published by the Free Software Foundation.
- *
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
  */
 
 #include <linux/module.h>
--- a/drivers/media/pci/ngene/ngene-dvb.c
+++ b/drivers/media/pci/ngene/ngene-dvb.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * ngene-dvb.c: nGene PCIe bridge driver - DVB functions
  *
@@ -7,20 +8,6 @@
  *                         Modifications for new nGene firmware,
  *                         support for EEPROM-copying,
  *                         support for new dual DVB-S2 card prototype
- *
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * version 2 only, as published by the Free Software Foundation.
- *
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
  */
 
 #include <linux/module.h>
--- a/drivers/media/pci/ngene/ngene-i2c.c
+++ b/drivers/media/pci/ngene/ngene-i2c.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * ngene-i2c.c: nGene PCIe bridge driver i2c functions
  *
@@ -7,20 +8,6 @@
  *                         Modifications for new nGene firmware,
  *                         support for EEPROM-copying,
  *                         support for new dual DVB-S2 card prototype
- *
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * version 2 only, as published by the Free Software Foundation.
- *
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
  */
 
 /* FIXME - some of these can probably be removed */
--- a/drivers/media/pci/ngene/ngene.h
+++ b/drivers/media/pci/ngene/ngene.h
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * ngene.h: nGene PCIe bridge driver
  *
  * Copyright (C) 2005-2007 Micronas
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * version 2 only, as published by the Free Software Foundation.
- *
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
  */
 
 #ifndef _NGENE_H_



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 11/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 462
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (9 preceding siblings ...)
  2019-06-04  8:10 ` [Batch 17 patch 10/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 461 Thomas Gleixner
@ 2019-06-04  8:10 ` Thomas Gleixner
  2019-06-04 11:03   ` Enrico Weigelt, metux IT consult
  2019-06-04 18:59   ` Allison Randal
  2019-06-04  8:10 ` [Batch 17 patch 12/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 463 Thomas Gleixner
                   ` (45 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:10 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  license gpl v2

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=f71bf3b8d968
---
 drivers/i2c/busses/i2c-pxa-pci.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/i2c/busses/i2c-pxa-pci.c
+++ b/drivers/i2c/busses/i2c-pxa-pci.c
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * CE4100 PCI-I2C glue code for PXA's driver
  * Author: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
- * License: GPL v2
  *
  * The CE4100's I2C device is more or less the same one as found on PXA.
  * It does not support slave mode, the register slightly moved. This PCI



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 12/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 463
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (10 preceding siblings ...)
  2019-06-04  8:10 ` [Batch 17 patch 11/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 462 Thomas Gleixner
@ 2019-06-04  8:10 ` Thomas Gleixner
  2019-06-04 11:04   ` Enrico Weigelt, metux IT consult
  2019-06-04 19:00   ` Allison Randal
  2019-06-04  8:10 ` [Batch 17 patch 13/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 464 Thomas Gleixner
                   ` (44 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:10 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of version 2 of the gnu general public license as
  published by the free software foundation this program is
  distributed in the hope that it will be useful but without any
  warranty without even the implied warranty of merchantability or
  fitness for a particular purpose see the gnu general public license
  for more details you should have received a copy of the gnu general
  public license along with this program if not see http www gnu org
  licenses the full gnu general public license is included in this
  distribution in the file called copying

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=7afb477f9cb1
---
 drivers/irqchip/irq-meson-gpio.c    |   15 +--------------
 drivers/mmc/host/meson-gx-mmc.c     |   15 +--------------
 sound/soc/codecs/es7134.c           |   15 +--------------
 sound/soc/codecs/simple-amplifier.c |   15 +--------------
 4 files changed, 4 insertions(+), 56 deletions(-)

--- a/drivers/irqchip/irq-meson-gpio.c
+++ b/drivers/irqchip/irq-meson-gpio.c
@@ -1,22 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2015 Endless Mobile, Inc.
  * Author: Carlo Caione <carlo@endlessm.com>
  * Copyright (c) 2016 BayLibre, SAS.
  * Author: Jerome Brunet <jbrunet@baylibre.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
- * The full GNU General Public License is included in this distribution
- * in the file called COPYING.
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
--- a/drivers/mmc/host/meson-gx-mmc.c
+++ b/drivers/mmc/host/meson-gx-mmc.c
@@ -1,22 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Amlogic SD/eMMC driver for the GX/S905 family SoCs
  *
  * Copyright (c) 2016 BayLibre, SAS.
  * Author: Kevin Hilman <khilman@baylibre.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
- * The full GNU General Public License is included in this distribution
- * in the file called COPYING.
  */
 #include <linux/kernel.h>
 #include <linux/module.h>
--- a/sound/soc/codecs/es7134.c
+++ b/sound/soc/codecs/es7134.c
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2017 BayLibre, SAS.
  * Author: Jerome Brunet <jbrunet@baylibre.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
- * The full GNU General Public License is included in this distribution
- * in the file called COPYING.
  */
 
 #include <linux/of_platform.h>
--- a/sound/soc/codecs/simple-amplifier.c
+++ b/sound/soc/codecs/simple-amplifier.c
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2017 BayLibre, SAS.
  * Author: Jerome Brunet <jbrunet@baylibre.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
- * The full GNU General Public License is included in this distribution
- * in the file called COPYING.
  */
 
 #include <linux/gpio/consumer.h>



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 13/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 464
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (11 preceding siblings ...)
  2019-06-04  8:10 ` [Batch 17 patch 12/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 463 Thomas Gleixner
@ 2019-06-04  8:10 ` Thomas Gleixner
  2019-06-04 11:04   ` Enrico Weigelt, metux IT consult
  2019-06-04 19:00   ` Allison Randal
  2019-06-04  8:10 ` [Batch 17 patch 14/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 465 Thomas Gleixner
                   ` (43 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:10 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  license terms gnu general public license version 2

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=9df34cfa7d38
---
 drivers/gpio/gpio-stmpe.c               |    2 +-
 drivers/gpio/gpio-tc3589x.c             |    2 +-
 drivers/input/keyboard/stmpe-keypad.c   |    2 +-
 drivers/input/keyboard/tc3589x-keypad.c |    3 +--
 drivers/mfd/stmpe-i2c.c                 |    2 +-
 drivers/mfd/stmpe-spi.c                 |    2 +-
 drivers/mfd/stmpe.c                     |    2 +-
 drivers/mfd/stmpe.h                     |    2 +-
 drivers/mfd/tc3589x.c                   |    2 +-
 include/linux/mfd/stmpe.h               |    2 +-
 include/linux/mfd/tc3589x.h             |    3 +--
 11 files changed, 11 insertions(+), 13 deletions(-)

--- a/drivers/gpio/gpio-stmpe.c
+++ b/drivers/gpio/gpio-stmpe.c
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) ST-Ericsson SA 2010
  *
- * License Terms: GNU General Public License, version 2
  * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
  */
 
--- a/drivers/gpio/gpio-tc3589x.c
+++ b/drivers/gpio/gpio-tc3589x.c
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) ST-Ericsson SA 2010
  *
- * License Terms: GNU General Public License, version 2
  * Author: Hanumath Prasad <hanumath.prasad@stericsson.com> for ST-Ericsson
  * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
  */
--- a/drivers/input/keyboard/stmpe-keypad.c
+++ b/drivers/input/keyboard/stmpe-keypad.c
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) ST-Ericsson SA 2010
  *
- * License Terms: GNU General Public License, version 2
  * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
  */
 
--- a/drivers/input/keyboard/tc3589x-keypad.c
+++ b/drivers/input/keyboard/tc3589x-keypad.c
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) ST-Ericsson SA 2010
  *
  * Author: Jayeeta Banerjee <jayeeta.banerjee@stericsson.com>
  * Author: Sundar Iyer <sundar.iyer@stericsson.com>
  *
- * License Terms: GNU General Public License, version 2
- *
  * TC35893 MFD Keypad Controller driver
  */
 
--- a/drivers/mfd/stmpe-i2c.c
+++ b/drivers/mfd/stmpe-i2c.c
@@ -1,10 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * ST Microelectronics MFD: stmpe's i2c client specific driver
  *
  * Copyright (C) ST-Ericsson SA 2010
  * Copyright (C) ST Microelectronics SA 2011
  *
- * License Terms: GNU General Public License, version 2
  * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
  * Author: Viresh Kumar <vireshk@kernel.org> for ST Microelectronics
  */
--- a/drivers/mfd/stmpe-spi.c
+++ b/drivers/mfd/stmpe-spi.c
@@ -1,9 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * ST Microelectronics MFD: stmpe's spi client specific driver
  *
  * Copyright (C) ST Microelectronics SA 2011
  *
- * License Terms: GNU General Public License, version 2
  * Author: Viresh Kumar <vireshk@kernel.org> for ST Microelectronics
  */
 
--- a/drivers/mfd/stmpe.c
+++ b/drivers/mfd/stmpe.c
@@ -1,9 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * ST Microelectronics MFD: stmpe's driver
  *
  * Copyright (C) ST-Ericsson SA 2010
  *
- * License Terms: GNU General Public License, version 2
  * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
  */
 
--- a/drivers/mfd/stmpe.h
+++ b/drivers/mfd/stmpe.h
@@ -1,7 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) ST-Ericsson SA 2010
  *
- * License Terms: GNU General Public License, version 2
  * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
  */
 
--- a/drivers/mfd/tc3589x.c
+++ b/drivers/mfd/tc3589x.c
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) ST-Ericsson SA 2010
  *
- * License Terms: GNU General Public License, version 2
  * Author: Hanumath Prasad <hanumath.prasad@stericsson.com> for ST-Ericsson
  * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
  */
--- a/include/linux/mfd/stmpe.h
+++ b/include/linux/mfd/stmpe.h
@@ -1,7 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) ST-Ericsson SA 2010
  *
- * License Terms: GNU General Public License, version 2
  * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
  */
 
--- a/include/linux/mfd/tc3589x.h
+++ b/include/linux/mfd/tc3589x.h
@@ -1,7 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) ST-Ericsson SA 2010
- *
- * License Terms: GNU General Public License, version 2
  */
 
 #ifndef __LINUX_MFD_TC3589x_H



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 14/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 465
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (12 preceding siblings ...)
  2019-06-04  8:10 ` [Batch 17 patch 13/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 464 Thomas Gleixner
@ 2019-06-04  8:10 ` Thomas Gleixner
  2019-06-04 11:05   ` Enrico Weigelt, metux IT consult
  2019-06-04 19:01   ` Allison Randal
  2019-06-04  8:10 ` [Batch 17 patch 15/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 466 Thomas Gleixner
                   ` (42 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:10 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  released under the gpl version 2 only

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=fcbf0d609abd
---
 samples/kfifo/bytestream-example.c |    4 +---
 samples/kfifo/dma-example.c        |    4 +---
 samples/kfifo/inttype-example.c    |    4 +---
 samples/kfifo/record-example.c     |    4 +---
 4 files changed, 4 insertions(+), 12 deletions(-)

--- a/samples/kfifo/bytestream-example.c
+++ b/samples/kfifo/bytestream-example.c
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Sample kfifo byte stream implementation
  *
  * Copyright (C) 2010 Stefani Seibold <stefani@seibold.net>
- *
- * Released under the GPL version 2 only.
- *
  */
 
 #include <linux/init.h>
--- a/samples/kfifo/dma-example.c
+++ b/samples/kfifo/dma-example.c
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Sample fifo dma implementation
  *
  * Copyright (C) 2010 Stefani Seibold <stefani@seibold.net>
- *
- * Released under the GPL version 2 only.
- *
  */
 
 #include <linux/init.h>
--- a/samples/kfifo/inttype-example.c
+++ b/samples/kfifo/inttype-example.c
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Sample kfifo int type implementation
  *
  * Copyright (C) 2010 Stefani Seibold <stefani@seibold.net>
- *
- * Released under the GPL version 2 only.
- *
  */
 
 #include <linux/init.h>
--- a/samples/kfifo/record-example.c
+++ b/samples/kfifo/record-example.c
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Sample dynamic sized record fifo implementation
  *
  * Copyright (C) 2010 Stefani Seibold <stefani@seibold.net>
- *
- * Released under the GPL version 2 only.
- *
  */
 
 #include <linux/init.h>



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 15/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 466
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (13 preceding siblings ...)
  2019-06-04  8:10 ` [Batch 17 patch 14/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 465 Thomas Gleixner
@ 2019-06-04  8:10 ` Thomas Gleixner
  2019-06-04 11:12   ` Thomas Gleixner
  2019-06-04 11:15   ` Enrico Weigelt, metux IT consult
  2019-06-04  8:11 ` [Batch 17 patch 16/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 467 Thomas Gleixner
                   ` (41 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:10 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  license__ = gpl version 2

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=48ced429262c
---
 tools/power/x86/intel_pstate_tracer/intel_pstate_tracer.py |    1 +
 1 file changed, 1 insertion(+)

--- a/tools/power/x86/intel_pstate_tracer/intel_pstate_tracer.py
+++ b/tools/power/x86/intel_pstate_tracer/intel_pstate_tracer.py
@@ -1,4 +1,5 @@
 #!/usr/bin/python
+# SPDX-License-Identifier: GPL-2.0-only
 # -*- coding: utf-8 -*-
 #
 """ This utility can be used to debug and tune the performance of the



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 16/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 467
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (14 preceding siblings ...)
  2019-06-04  8:10 ` [Batch 17 patch 15/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 466 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:16   ` Enrico Weigelt, metux IT consult
  2019-06-04 19:03   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 17/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 468 Thomas Gleixner
                   ` (40 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  licensed under version 2 of the gnu general public licence

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=89e6a6147339
---
 drivers/mtd/maps/vmu-flash.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

--- a/drivers/mtd/maps/vmu-flash.c
+++ b/drivers/mtd/maps/vmu-flash.c
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* vmu-flash.c
  * Driver for SEGA Dreamcast Visual Memory Unit
  *
  * Copyright (c) Adrian McMenamin 2002 - 2009
  * Copyright (c) Paul Mundt 2001
- *
- * Licensed under version 2 of the
- * GNU General Public Licence
  */
 #include <linux/init.h>
 #include <linux/slab.h>



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 17/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 468
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (15 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 16/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 467 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:17   ` Enrico Weigelt, metux IT consult
  2019-06-04 19:04   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 18/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 469 Thomas Gleixner
                   ` (39 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  based on gpl code from [dibcom] which has [copyright] [c] [2004]
  [amaury] [demol] [for] [dibcom] this program is free software you
  can redistribute it and or modify it under the terms of the gnu
  general public license as published by the free software foundation
  version 2

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=71087db24bb1
---
 drivers/media/dvb-frontends/dib3000.h   |    6 +-----
 drivers/media/dvb-frontends/dib3000mb.c |    6 +-----
 drivers/media/usb/dvb-usb/dibusb-mb.c   |    5 +----
 drivers/media/usb/dvb-usb/dibusb-mc.c   |    5 +----
 4 files changed, 4 insertions(+), 18 deletions(-)

--- a/drivers/media/dvb-frontends/dib3000.h
+++ b/drivers/media/dvb-frontends/dib3000.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * public header file of the frontend drivers for mobile DVB-T demodulators
  * DiBcom 3000M-B and DiBcom 3000P/M-C (http://www.dibcom.fr/)
@@ -8,17 +9,12 @@
  *
  * Copyright (C) 2004 Amaury Demol for DiBcom
  *
- *	This program is free software; you can redistribute it and/or
- *	modify it under the terms of the GNU General Public License as
- *	published by the Free Software Foundation, version 2.
- *
  * Acknowledgements
  *
  *  Amaury Demol from DiBcom for providing specs and driver
  *  sources, on which this driver (and the dvb-dibusb) are based.
  *
  * see Documentation/media/dvb-drivers/dvb-usb.rst for more information
- *
  */
 
 #ifndef DIB3000_H
--- a/drivers/media/dvb-frontends/dib3000mb.c
+++ b/drivers/media/dvb-frontends/dib3000mb.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Frontend driver for mobile DVB-T demodulator DiBcom 3000M-B
  * DiBcom (http://www.dibcom.fr/)
@@ -8,17 +9,12 @@
  *
  * Copyright (C) 2004 Amaury Demol for DiBcom
  *
- *	This program is free software; you can redistribute it and/or
- *	modify it under the terms of the GNU General Public License as
- *	published by the Free Software Foundation, version 2.
- *
  * Acknowledgements
  *
  *  Amaury Demol from DiBcom for providing specs and driver
  *  sources, on which this driver (and the dvb-dibusb) are based.
  *
  * see Documentation/media/dvb-drivers/dvb-usb.rst for more information
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
--- a/drivers/media/usb/dvb-usb/dibusb-mb.c
+++ b/drivers/media/usb/dvb-usb/dibusb-mb.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* DVB USB compliant linux driver for mobile DVB-T USB devices based on
  * reference designs made by DiBcom (http://www.dibcom.fr/) (DiB3000M-B)
  *
@@ -6,10 +7,6 @@
  * based on GPL code from DiBcom, which has
  * Copyright (C) 2004 Amaury Demol for DiBcom
  *
- *	This program is free software; you can redistribute it and/or modify it
- *	under the terms of the GNU General Public License as published by the Free
- *	Software Foundation, version 2.
- *
  * see Documentation/media/dvb-drivers/dvb-usb.rst for more information
  */
 #include "dibusb.h"
--- a/drivers/media/usb/dvb-usb/dibusb-mc.c
+++ b/drivers/media/usb/dvb-usb/dibusb-mc.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* DVB USB compliant linux driver for mobile DVB-T USB devices based on
  * reference designs made by DiBcom (http://www.dibcom.fr/) (DiB3000M-C/P)
  *
@@ -6,10 +7,6 @@
  * based on GPL code from DiBcom, which has
  * Copyright (C) 2004 Amaury Demol for DiBcom
  *
- *	This program is free software; you can redistribute it and/or modify it
- *	under the terms of the GNU General Public License as published by the Free
- *	Software Foundation, version 2.
- *
  * see Documentation/media/dvb-drivers/dvb-usb.rst for more information
  */
 #include "dibusb.h"



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 18/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 469
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (16 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 17/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 468 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:17   ` Enrico Weigelt, metux IT consult
  2019-06-04 19:07   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 19/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 470 Thomas Gleixner
                   ` (38 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license version 2 as
  published by the free software foundation this program is
  distributed in the hope that it will be useful but without any
  warranty without even the implied warranty of mergchantability or
  fitness for a particular purpose see the gnu general public license
  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 2 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=854c2aa1aa45
---
 drivers/fsi/fsi-scom.c      |   10 +---------
 include/linux/fsi-sbefifo.h |   10 +---------
 2 files changed, 2 insertions(+), 18 deletions(-)

--- a/drivers/fsi/fsi-scom.c
+++ b/drivers/fsi/fsi-scom.c
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * SCOM FSI Client device driver
  *
  * Copyright (C) IBM Corporation 2016
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERGCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #include <linux/fsi.h>
--- a/include/linux/fsi-sbefifo.h
+++ b/include/linux/fsi-sbefifo.h
@@ -1,16 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * SBEFIFO FSI Client device driver
  *
  * Copyright (C) IBM Corporation 2017
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERGCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 #ifndef LINUX_FSI_SBEFIFO_H



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 19/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 470
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (17 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 18/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 469 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:13   ` Thomas Gleixner
  2019-06-04 11:19   ` Enrico Weigelt, metux IT consult
  2019-06-04  8:11 ` [Batch 17 patch 20/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 471 Thomas Gleixner
                   ` (37 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this file is licensed under the terms of the gnu general public
  license version 2 this program is licensed as is without any
  warranty of any kind whether express or implied

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=604411c2c705
---
 arch/arm/boot/dts/am33xx.dtsi                             |    5 +----
 arch/arm/boot/dts/am3517.dtsi                             |    5 +----
 arch/arm/boot/dts/am4372.dtsi                             |    5 +----
 arch/arm/boot/dts/artpec6-devboard.dts                    |    5 +----
 arch/arm/boot/dts/dm814x.dtsi                             |    4 +---
 arch/arm/boot/dts/dm816x.dtsi                             |    4 +---
 arch/arm/boot/dts/dra62x.dtsi                             |    4 +---

<SNIP>

 arch/powerpc/sysdev/ehv_pic.c                             |    5 +----
 arch/powerpc/sysdev/ge/ge_pic.c                           |    5 +----
 arch/powerpc/sysdev/rtc_cmos_setup.c                      |    6 ++----
 arch/powerpc/sysdev/xilinx_intc.c                         |    6 +-----
 arch/powerpc/sysdev/xilinx_pci.c                          |    5 +----
 drivers/ata/ahci_mvebu.c                                  |    5 +----
 drivers/ata/pata_arasan_cf.c                              |    5 +----
 drivers/ata/pata_mpc52xx.c                                |    5 +----
 drivers/bus/imx-weim.c                                    |    5 +----

<SNIP>

 drivers/watchdog/omap_wdt.c                               |    6 ++----
 drivers/watchdog/orion_wdt.c                              |    5 +----
 drivers/watchdog/pnx4008_wdt.c                            |    5 +----
 drivers/watchdog/sbc_fitpc2_wdt.c                         |    5 +----
 drivers/watchdog/ts4800_wdt.c                             |    5 +----
 drivers/watchdog/ts72xx_wdt.c                             |    5 +----
 include/dt-bindings/leds/leds-netxbig.h                   |    5 +----
 include/dt-bindings/leds/leds-pca9532.h                   |    5 +----
 include/dt-bindings/leds/leds-pca955x.h                   |    5 +----
 include/linux/amba/sp810.h                                |    5 +----
 include/linux/davinci_emac.h                              |    6 ++----
 include/linux/dmapool.h                                   |    5 +----
 include/linux/edac.h                                      |    7 ++-----
 include/linux/fs_enet_pd.h                                |    5 +----
 include/linux/fs_uart_pd.h                                |    5 +----
 include/linux/fsl/bestcomm/ata.h                          |    6 +-----
 include/linux/fsl/bestcomm/bestcomm.h                     |    6 +-----
 include/linux/fsl/bestcomm/bestcomm_priv.h                |    5 +----
 include/linux/fsl/bestcomm/fec.h                          |    6 +-----
 include/linux/fsl/bestcomm/sram.h                         |    6 +-----
 include/linux/irqchip.h                                   |    5 +----
 include/linux/kgdb.h                                      |    4 +---
 include/linux/mbus.h                                      |    5 +----
 include/linux/mtd/latch-addr-flash.h                      |    5 +----
 include/linux/mtd/spear_smi.h                             |    5 +----
 include/linux/mvebu-pmsu.h                                |    5 +----
 include/linux/pata_arasan_cf_data.h                       |    5 +----
 include/linux/platform_data/i2c-davinci.h                 |    6 ++----
 include/linux/platform_data/keyboard-spear.h              |    5 +----
 include/linux/platform_data/leds-kirkwood-netxbig.h       |    5 +----
 include/linux/platform_data/leds-kirkwood-ns2.h           |    5 +----
 include/linux/platform_data/media/si4713.h                |    6 +-----
 include/linux/platform_data/mtd-davinci-aemif.h           |    5 +----
 include/linux/platform_data/mtd-orion_nand.h              |    6 +-----
 include/linux/platform_data/usb-davinci.h                 |    5 +----
 include/linux/platform_data/usb-ehci-orion.h              |    6 +-----
 include/linux/soc/sunxi/sunxi_sram.h                      |    5 +----
 include/linux/sunxi-rsb.h                                 |    5 +----
 include/linux/ts-nbus.h                                   |    5 +----
 include/video/da8xx-fb.h                                  |    5 +----
 kernel/debug/debug_core.c                                 |    5 +----
 kernel/debug/debug_core.h                                 |    5 +----
 kernel/debug/gdbstub.c                                    |    5 +----
 kernel/debug/kdb/kdb_debugger.c                           |    5 +----
 samples/kdb/kdb_hello.c                                   |    5 +----
 sound/soc/codecs/cs4270.c                                 |    4 +---
 sound/soc/codecs/cs42xx8-i2c.c                            |    5 +----
 sound/soc/codecs/cs42xx8.c                                |    5 +----
 sound/soc/codecs/cs42xx8.h                                |    5 +----
 sound/soc/codecs/sta529.c                                 |    5 +----
 sound/soc/dwc/dwc-i2s.c                                   |    5 +----
 sound/soc/dwc/dwc-pcm.c                                   |    5 +----
 sound/soc/dwc/local.h                                     |    5 +----
 sound/soc/fsl/efika-audio-fabric.c                        |    5 +----
 sound/soc/spear/spdif_in.c                                |    5 +----
 sound/soc/spear/spdif_out.c                               |    5 +----
 sound/soc/spear/spear_pcm.c                               |    5 +----
 586 files changed, 646 insertions(+), 2380 deletions(-)

--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for AM33XX SoC
  *
  * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include <dt-bindings/bus/ti-sysc.h>
--- a/arch/arm/boot/dts/am3517.dtsi
+++ b/arch/arm/boot/dts/am3517.dtsi
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for am3517 SoC
  *
  * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include "omap3.dtsi"
--- a/arch/arm/boot/dts/am4372.dtsi
+++ b/arch/arm/boot/dts/am4372.dtsi
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for AM4372 SoC
  *
  * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include <dt-bindings/bus/ti-sysc.h>
--- a/arch/arm/boot/dts/artpec6-devboard.dts
+++ b/arch/arm/boot/dts/artpec6-devboard.dts
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Axis ARTPEC-6 development board.
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 /dts-v1/;
--- a/arch/arm/boot/dts/dm814x.dtsi
+++ b/arch/arm/boot/dts/dm814x.dtsi
@@ -1,8 +1,4 @@
-/*
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
- */
+// SPDX-License-Identifier: GPL-2.0-only
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/pinctrl/dm814x.h>
--- a/arch/arm/boot/dts/dm816x.dtsi
+++ b/arch/arm/boot/dts/dm816x.dtsi
@@ -1,8 +1,4 @@
-/*
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
- */
+// SPDX-License-Identifier: GPL-2.0-only
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/pinctrl/omap.h>
--- a/arch/arm/boot/dts/dra62x.dtsi
+++ b/arch/arm/boot/dts/dra62x.dtsi
@@ -1,8 +1,4 @@
-/*
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
- */
+// SPDX-License-Identifier: GPL-2.0-only
 
 #include "dm814x.dtsi"
 
--- a/arch/arm/boot/dts/dra7-dspeve-thermal.dtsi
+++ b/arch/arm/boot/dts/dra7-dspeve-thermal.dtsi
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for DRA7x SoC DSPEVE thermal
  *
  * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include <dt-bindings/thermal/thermal.h>
--- a/arch/arm/boot/dts/dra7-iva-thermal.dtsi
+++ b/arch/arm/boot/dts/dra7-iva-thermal.dtsi
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for DRA7x SoC IVA thermal
  *
  * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include <dt-bindings/thermal/thermal.h>
--- a/arch/arm/boot/dts/imx6q-gk802.dts
+++ b/arch/arm/boot/dts/imx6q-gk802.dts
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2013 Philipp Zabel
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 /dts-v1/;
--- a/arch/arm/boot/dts/omap2.dtsi
+++ b/arch/arm/boot/dts/omap2.dtsi
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for OMAP2 SoC
  *
  * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include <dt-bindings/gpio/gpio.h>
--- a/arch/arm/boot/dts/omap2420.dtsi
+++ b/arch/arm/boot/dts/omap2420.dtsi
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for OMAP2420 SoC
  *
  * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include "omap2.dtsi"
--- a/arch/arm/boot/dts/omap2430.dtsi
+++ b/arch/arm/boot/dts/omap2430.dtsi
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for OMAP243x SoC
  *
  * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include "omap2.dtsi"
--- a/arch/arm/boot/dts/omap3-cpu-thermal.dtsi
+++ b/arch/arm/boot/dts/omap3-cpu-thermal.dtsi
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for OMAP3 SoC CPU thermal
  *
  * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include <dt-bindings/thermal/thermal.h>
--- a/arch/arm/boot/dts/omap3.dtsi
+++ b/arch/arm/boot/dts/omap3.dtsi
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for OMAP3 SoC
  *
  * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include <dt-bindings/gpio/gpio.h>
--- a/arch/arm/boot/dts/omap34xx.dtsi
+++ b/arch/arm/boot/dts/omap34xx.dtsi
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for OMAP34xx/OMAP35xx SoC
  *
  * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include <dt-bindings/bus/ti-sysc.h>
--- a/arch/arm/boot/dts/omap36xx.dtsi
+++ b/arch/arm/boot/dts/omap36xx.dtsi
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for OMAP3 SoC
  *
  * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include <dt-bindings/bus/ti-sysc.h>
--- a/arch/arm/boot/dts/omap4-cpu-thermal.dtsi
+++ b/arch/arm/boot/dts/omap4-cpu-thermal.dtsi
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for OMAP4/5 SoC CPU thermal
  *
  * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
  * Contact: Eduardo Valentin <eduardo.valentin@ti.com>
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include <dt-bindings/thermal/thermal.h>
--- a/arch/arm/boot/dts/omap443x.dtsi
+++ b/arch/arm/boot/dts/omap443x.dtsi
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for OMAP443x SoC
  *
  * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include "omap4.dtsi"
--- a/arch/arm/boot/dts/omap4460.dtsi
+++ b/arch/arm/boot/dts/omap4460.dtsi
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for OMAP4460 SoC
  *
  * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 #include "omap4.dtsi"
 
--- a/arch/arm/boot/dts/omap5-core-thermal.dtsi
+++ b/arch/arm/boot/dts/omap5-core-thermal.dtsi
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for OMAP543x SoC CORE thermal
  *
  * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
  * Contact: Eduardo Valentin <eduardo.valentin@ti.com>
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include <dt-bindings/thermal/thermal.h>
--- a/arch/arm/boot/dts/omap5-gpu-thermal.dtsi
+++ b/arch/arm/boot/dts/omap5-gpu-thermal.dtsi
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Device Tree Source for OMAP543x SoC GPU thermal
  *
  * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
  * Contact: Eduardo Valentin <eduardo.valentin@ti.com>
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2.  This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 
 #include <dt-bindings/thermal/thermal.h>
--- a/arch/arm/boot/dts/orion5x-lacie-d2-network.dts
+++ b/arch/arm/boot/dts/orion5x-lacie-d2-network.dts
@@ -1,10 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2014 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  * Copyright (C) 2009 Simon Guinot <sguinot@lacie.com>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 /dts-v1/;
--- a/arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts
+++ b/arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2012 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 /*
--- a/arch/arm/boot/dts/orion5x-maxtor-shared-storage-2.dts
+++ b/arch/arm/boot/dts/orion5x-maxtor-shared-storage-2.dts
@@ -1,10 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2014 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  * Copyright (C) Sylver Bruneau <sylver.bruneau@googlemail.com>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 /dts-v1/;
--- a/arch/arm/boot/dts/orion5x-mv88f5181.dtsi
+++ b/arch/arm/boot/dts/orion5x-mv88f5181.dtsi
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2016 Jamie Lentin <jm@lentin.co.uk>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include "orion5x.dtsi"
--- a/arch/arm/boot/dts/orion5x-mv88f5182.dtsi
+++ b/arch/arm/boot/dts/orion5x-mv88f5182.dtsi
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2014 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include "orion5x.dtsi"
--- a/arch/arm/boot/dts/orion5x-netgear-wnr854t.dts
+++ b/arch/arm/boot/dts/orion5x-netgear-wnr854t.dts
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2016 Jamie Lentin <jm@lentin.co.uk>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 /dts-v1/;
--- a/arch/arm/boot/dts/orion5x-rd88f5182-nas.dts
+++ b/arch/arm/boot/dts/orion5x-rd88f5182-nas.dts
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2014 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 /dts-v1/;
--- a/arch/arm/boot/dts/orion5x.dtsi
+++ b/arch/arm/boot/dts/orion5x.dtsi
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2012 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
--- a/arch/arm/include/asm/hardware/cache-feroceon-l2.h
+++ b/arch/arm/include/asm/hardware/cache-feroceon-l2.h
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * arch/arm/include/asm/hardware/cache-feroceon-l2.h
  *
  * Copyright (C) 2008 Marvell Semiconductor
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 extern void __init feroceon_l2_init(int l2_wt_override);
--- a/arch/arm/include/asm/hardware/cache-tauros2.h
+++ b/arch/arm/include/asm/hardware/cache-tauros2.h
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * arch/arm/include/asm/hardware/cache-tauros2.h
  *
  * Copyright (C) 2008 Marvell Semiconductor
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #define CACHE_TAUROS2_PREFETCH_ON	(1 << 0)
--- a/arch/arm/include/asm/hardware/entry-macro-iomd.S
+++ b/arch/arm/include/asm/hardware/entry-macro-iomd.S
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * arch/arm/include/asm/hardware/entry-macro-iomd.S
  *
  * Low-level IRQ helper macros for IOC/IOMD based platforms
- *
- * This file is licensed under  the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 /* IOC / IOMD based hardware */
--- a/arch/arm/mach-davinci/board-da830-evm.c
+++ b/arch/arm/mach-davinci/board-da830-evm.c
@@ -1,13 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * TI DA830/OMAP L137 EVM board
  *
  * Author: Mark A. Greer <mgreer@mvista.com>
  * Derived from: arch/arm/mach-davinci/board-dm644x-evm.c
  *
- * 2007, 2009 (c) MontaVista Software, Inc. This file is licensed under
- * the terms of the GNU General Public License version 2. This program
- * is licensed "as is" without any warranty of any kind, whether express
- * or implied.
+ * 2007, 2009 (c) MontaVista Software, Inc.
  */
 #include <linux/kernel.h>
 #include <linux/init.h>
--- a/arch/arm/mach-davinci/board-da850-evm.c
+++ b/arch/arm/mach-davinci/board-da850-evm.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * TI DA850/OMAP-L138 EVM board
  *
@@ -6,10 +7,7 @@
  * Derived from: arch/arm/mach-davinci/board-da830-evm.c
  * Original Copyrights follow:
  *
- * 2007, 2009 (c) MontaVista Software, Inc. This file is licensed under
- * the terms of the GNU General Public License version 2. This program
- * is licensed "as is" without any warranty of any kind, whether express
- * or implied.
+ * 2007, 2009 (c) MontaVista Software, Inc.
  */
 #include <linux/console.h>
 #include <linux/delay.h>
--- a/arch/arm/mach-davinci/board-dm355-evm.c
+++ b/arch/arm/mach-davinci/board-dm355-evm.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * TI DaVinci EVM board support
  *
  * Author: Kevin Hilman, Deep Root Systems, LLC
  *
- * 2007 (c) MontaVista Software, Inc. This file is licensed under
- * the terms of the GNU General Public License version 2. This program
- * is licensed "as is" without any warranty of any kind, whether express
- * or implied.
+ * 2007 (c) MontaVista Software, Inc.
  */
 #include <linux/kernel.h>
 #include <linux/init.h>
--- a/arch/arm/mach-davinci/board-dm355-leopard.c
+++ b/arch/arm/mach-davinci/board-dm355-leopard.c
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * DM355 leopard board support
  *
  * Based on board-dm355-evm.c
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 #include <linux/kernel.h>
 #include <linux/init.h>
--- a/arch/arm/mach-davinci/board-dm644x-evm.c
+++ b/arch/arm/mach-davinci/board-dm644x-evm.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * TI DaVinci EVM board support
  *
  * Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com>
  *
- * 2007 (c) MontaVista Software, Inc. This file is licensed under
- * the terms of the GNU General Public License version 2. This program
- * is licensed "as is" without any warranty of any kind, whether express
- * or implied.
+ * 2007 (c) MontaVista Software, Inc.
  */
 #include <linux/kernel.h>
 #include <linux/init.h>
--- a/arch/arm/mach-davinci/board-dm646x-evm.c
+++ b/arch/arm/mach-davinci/board-dm646x-evm.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * TI DaVinci DM646X EVM board
  *
@@ -5,11 +6,6 @@
  * Copyright (C) 2006 Texas Instruments.
  *
  * (C) 2007-2008, MontaVista Software, Inc.
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
- *
  */
 
 /**************************************************************************
--- a/arch/arm/mach-davinci/board-mityomapl138.c
+++ b/arch/arm/mach-davinci/board-mityomapl138.c
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Critical Link MityOMAP-L138 SoM
  *
  * Copyright (C) 2010 Critical Link LLC - http://www.criticallink.com
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of
- * any kind, whether express or implied.
  */
 
 #define pr_fmt(fmt) "MityOMAPL138: " fmt
--- a/arch/arm/mach-davinci/board-neuros-osd2.c
+++ b/arch/arm/mach-davinci/board-neuros-osd2.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Neuros Technologies OSD2 board support
  *
@@ -18,10 +19,6 @@
  *
  * For more information please refer to
  * 		http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 #include <linux/platform_device.h>
 #include <linux/gpio.h>
--- a/arch/arm/mach-davinci/board-omapl138-hawk.c
+++ b/arch/arm/mach-davinci/board-omapl138-hawk.c
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Hawkboard.org based on TI's OMAP-L138 Platform
  *
  * Initial code: Syed Mohammed Khasim
  *
  * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of
- * any kind, whether express or implied.
  */
 #include <linux/kernel.h>
 #include <linux/init.h>
--- a/arch/arm/mach-davinci/common.c
+++ b/arch/arm/mach-davinci/common.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Code commons to all DaVinci SoCs.
  *
  * Author: Mark A. Greer <mgreer@mvista.com>
  *
- * 2009 (c) MontaVista Software, Inc. This file is licensed under
- * the terms of the GNU General Public License version 2. This program
- * is licensed "as is" without any warranty of any kind, whether express
- * or implied.
+ * 2009 (c) MontaVista Software, Inc.
  */
 #include <linux/module.h>
 #include <linux/io.h>
--- a/arch/arm/mach-davinci/cpuidle.h
+++ b/arch/arm/mach-davinci/cpuidle.h
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * TI DaVinci cpuidle platform support
  *
  * 2009 (C) Texas Instruments, Inc. http://www.ti.com/
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
  */
 #ifndef _MACH_DAVINCI_CPUIDLE_H
 #define _MACH_DAVINCI_CPUIDLE_H
--- a/arch/arm/mach-davinci/da830.c
+++ b/arch/arm/mach-davinci/da830.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * TI DA830/OMAP L137 chip specific setup
  *
  * Author: Mark A. Greer <mgreer@mvista.com>
  *
- * 2009 (c) MontaVista Software, Inc. This file is licensed under
- * the terms of the GNU General Public License version 2. This program
- * is licensed "as is" without any warranty of any kind, whether express
- * or implied.
+ * 2009 (c) MontaVista Software, Inc.
  */
 #include <linux/clk-provider.h>
 #include <linux/clk/davinci.h>
--- a/arch/arm/mach-davinci/da850.c
+++ b/arch/arm/mach-davinci/da850.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * TI DA850/OMAP-L138 chip specific setup
  *
@@ -6,10 +7,7 @@
  * Derived from: arch/arm/mach-davinci/da830.c
  * Original Copyrights follow:
  *
- * 2009 (c) MontaVista Software, Inc. This file is licensed under
- * the terms of the GNU General Public License version 2. This program
- * is licensed "as is" without any warranty of any kind, whether express
- * or implied.
+ * 2009 (c) MontaVista Software, Inc.
  */
 
 #include <linux/clk-provider.h>
--- a/arch/arm/mach-davinci/dm355.c
+++ b/arch/arm/mach-davinci/dm355.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * TI DaVinci DM355 chip specific setup
  *
  * Author: Kevin Hilman, Deep Root Systems, LLC
  *
- * 2007 (c) Deep Root Systems, LLC. This file is licensed under
- * the terms of the GNU General Public License version 2. This program
- * is licensed "as is" without any warranty of any kind, whether express
- * or implied.
+ * 2007 (c) Deep Root Systems, LLC.
  */
 
 #include <linux/clk-provider.h>
--- a/arch/arm/mach-davinci/dm644x.c
+++ b/arch/arm/mach-davinci/dm644x.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * TI DaVinci DM644x chip specific setup
  *
  * Author: Kevin Hilman, Deep Root Systems, LLC
  *
- * 2007 (c) Deep Root Systems, LLC. This file is licensed under
- * the terms of the GNU General Public License version 2. This program
- * is licensed "as is" without any warranty of any kind, whether express
- * or implied.
+ * 2007 (c) Deep Root Systems, LLC.
  */
 
 #include <linux/clk-provider.h>
--- a/arch/arm/mach-davinci/dm646x.c
+++ b/arch/arm/mach-davinci/dm646x.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * TI DaVinci DM644x chip specific setup
  *
  * Author: Kevin Hilman, Deep Root Systems, LLC
  *
- * 2007 (c) Deep Root Systems, LLC. This file is licensed under
- * the terms of the GNU General Public License version 2. This program
- * is licensed "as is" without any warranty of any kind, whether express
- * or implied.
+ * 2007 (c) Deep Root Systems, LLC.
  */
 
 #include <linux/clk-provider.h>
--- a/arch/arm/mach-davinci/include/mach/common.h
+++ b/arch/arm/mach-davinci/include/mach/common.h
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Header for code common to all DaVinci machines.
  *
  * Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com>
  *
- * 2007 (c) MontaVista Software, Inc. This file is licensed under
- * the terms of the GNU General Public License version 2. This program
- * is licensed "as is" without any warranty of any kind, whether express
- * or implied.
+ * 2007 (c) MontaVista Software, Inc.
  */
 
 #ifndef __ARCH_ARM_MACH_DAVINCI_COMMON_H
--- a/arch/arm/mach-davinci/include/mach/cputype.h
+++ b/arch/arm/mach-davinci/include/mach/cputype.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * DaVinci CPU type detection
  *
@@ -8,10 +9,7 @@
  * compiled in to the kernel, the macros return 0 so that
  * resulting code can be optimized out.
  *
- * 2009 (c) Deep Root Systems, LLC. This file is licensed under
- * the terms of the GNU General Public License version 2. This program
- * is licensed "as is" without any warranty of any kind, whether express
- * or implied.
+ * 2009 (c) Deep Root Systems, LLC.
  */
 #ifndef _ASM_ARCH_CPU_H
 #define _ASM_ARCH_CPU_H
--- a/arch/arm/mach-davinci/include/mach/da8xx.h
+++ b/arch/arm/mach-davinci/include/mach/da8xx.h
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Chip specific defines for DA8XX/OMAP L1XX SoC
  *
  * Author: Mark A. Greer <mgreer@mvista.com>
  *
- * 2007, 2009-2010 (c) MontaVista Software, Inc. This file is licensed under
- * the terms of the GNU General Public License version 2. This program
- * is licensed "as is" without any warranty of any kind, whether express
- * or implied.
+ * 2007, 2009-2010 (c) MontaVista Software, Inc.
  */
 #ifndef __ASM_ARCH_DAVINCI_DA8XX_H
 #define __ASM_ARCH_DAVINCI_DA8XX_H
--- a/arch/arm/mach-davinci/include/mach/hardware.h
+++ b/arch/arm/mach-davinci/include/mach/hardware.h
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Hardware definitions common to all DaVinci family processors
  *
  * Author: Kevin Hilman, Deep Root Systems, LLC
  *
- * 2007 (c) Deep Root Systems, LLC. This file is licensed under
- * the terms of the GNU General Public License version 2. This program
- * is licensed "as is" without any warranty of any kind, whether express
- * or implied.
+ * 2007 (c) Deep Root Systems, LLC.
  */
 #ifndef __ASM_ARCH_HARDWARE_H
 #define __ASM_ARCH_HARDWARE_H
--- a/arch/arm/mach-davinci/include/mach/mux.h
+++ b/arch/arm/mach-davinci/include/mach/mux.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Table of the DAVINCI register configurations for the PINMUX combinations
  *
@@ -8,10 +9,7 @@
  *
  * Written by Tony Lindgren
  *
- * 2007 (c) MontaVista Software, Inc. This file is licensed under
- * the terms of the GNU General Public License version 2. This program
- * is licensed "as is" without any warranty of any kind, whether express
- * or implied.
+ * 2007 (c) MontaVista Software, Inc.
  *
  * Copyright (C) 2008 Texas Instruments.
  */
--- a/arch/arm/mach-davinci/include/mach/serial.h
+++ b/arch/arm/mach-davinci/include/mach/serial.h
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * DaVinci serial device definitions
  *
  * Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com>
  *
- * 2007 (c) MontaVista Software, Inc. This file is licensed under
- * the terms of the GNU General Public License version 2. This program
- * is licensed "as is" without any warranty of any kind, whether express
- * or implied.
+ * 2007 (c) MontaVista Software, Inc.
  */
 #ifndef __ASM_ARCH_SERIAL_H
 #define __ASM_ARCH_SERIAL_H
--- a/arch/arm/mach-davinci/include/mach/time.h
+++ b/arch/arm/mach-davinci/include/mach/time.h
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Local header file for DaVinci time code.
  *
  * Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com>
  *
- * 2007 (c) MontaVista Software, Inc. This file is licensed under
- * the terms of the GNU General Public License version 2. This program



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 20/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 471
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (18 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 19/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 470 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:19   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:36   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 21/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 472 Thomas Gleixner
                   ` (36 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  released under the gplv2 only spdx license identifier gpl 2 0

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=de625478f58c
---
 drivers/memory/brcmstb_dpfe.c |    4 +---
 drivers/scsi/ufs/ufs-hisi.c   |    4 +---
 drivers/scsi/ufs/ufs-hisi.h   |    4 +---
 3 files changed, 3 insertions(+), 9 deletions(-)

--- a/drivers/memory/brcmstb_dpfe.c
+++ b/drivers/memory/brcmstb_dpfe.c
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * DDR PHY Front End (DPFE) driver for Broadcom set top box SoCs
  *
  * Copyright (c) 2017 Broadcom
- *
- * Released under the GPLv2 only.
- * SPDX-License-Identifier: GPL-2.0
  */
 
 /*
--- a/drivers/scsi/ufs/ufs-hisi.c
+++ b/drivers/scsi/ufs/ufs-hisi.c
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * HiSilicon Hixxxx UFS Driver
  *
  * Copyright (c) 2016-2017 Linaro Ltd.
  * Copyright (c) 2016-2017 HiSilicon Technologies Co., Ltd.
- *
- * Released under the GPLv2 only.
- * SPDX-License-Identifier: GPL-2.0
  */
 
 #include <linux/time.h>
--- a/drivers/scsi/ufs/ufs-hisi.h
+++ b/drivers/scsi/ufs/ufs-hisi.h
@@ -1,8 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (c) 2017, HiSilicon. All rights reserved.
- *
- * Released under the GPLv2 only.
- * SPDX-License-Identifier: GPL-2.0
  */
 
 #ifndef UFS_HISI_H_



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 21/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 472
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (19 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 20/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 471 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:20   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:37   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 22/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 473 Thomas Gleixner
                   ` (35 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  released under the terms of the gpl v2

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@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=3c44e173d084
---
 tools/testing/selftests/ftrace/ftracetest               |    2 +-
 tools/testing/selftests/pstore/common_tests             |    2 +-
 tools/testing/selftests/pstore/pstore_crash_test        |    2 +-
 tools/testing/selftests/pstore/pstore_post_reboot_tests |    2 +-
 tools/testing/selftests/pstore/pstore_tests             |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

--- a/tools/testing/selftests/ftrace/ftracetest
+++ b/tools/testing/selftests/ftrace/ftracetest
@@ -1,11 +1,11 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-only
 
 # ftracetest - Ftrace test shell scripts
 #
 # Copyright (C) Hitachi Ltd., 2014
 #  Written by Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
 #
-# Released under the terms of the GPL v2.
 
 usage() { # errno [message]
 [ ! -z "$2" ] && echo $2
--- a/tools/testing/selftests/pstore/common_tests
+++ b/tools/testing/selftests/pstore/common_tests
@@ -1,11 +1,11 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-only
 
 # common_tests - Shell script commonly used by pstore test scripts
 #
 # Copyright (C) Hitachi Ltd., 2015
 #  Written by Hiraku Toyooka <hiraku.toyooka.gu@hitachi.com>
 #
-# Released under the terms of the GPL v2.
 
 # Utilities
 errexit() { # message
--- a/tools/testing/selftests/pstore/pstore_crash_test
+++ b/tools/testing/selftests/pstore/pstore_crash_test
@@ -1,11 +1,11 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-only
 
 # pstore_crash_test - Pstore test shell script which causes crash and reboot
 #
 # Copyright (C) Hitachi Ltd., 2015
 #  Written by Hiraku Toyooka <hiraku.toyooka.gu@hitachi.com>
 #
-# Released under the terms of the GPL v2.
 
 # exit if pstore backend is not registered
 . ./common_tests
--- a/tools/testing/selftests/pstore/pstore_post_reboot_tests
+++ b/tools/testing/selftests/pstore/pstore_post_reboot_tests
@@ -1,11 +1,11 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-only
 
 # pstore_post_reboot_tests - Check pstore's behavior after crash/reboot
 #
 # Copyright (C) Hitachi Ltd., 2015
 #  Written by Hiraku Toyooka <hiraku.toyooka.gu@hitachi.com>
 #
-# Released under the terms of the GPL v2.
 
 # Kselftest framework requirement - SKIP code is 4.
 ksft_skip=4
--- a/tools/testing/selftests/pstore/pstore_tests
+++ b/tools/testing/selftests/pstore/pstore_tests
@@ -1,11 +1,11 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-only
 
 # pstore_tests - Check pstore's behavior before crash/reboot
 #
 # Copyright (C) Hitachi Ltd., 2015
 #  Written by Hiraku Toyooka <hiraku.toyooka.gu@hitachi.com>
 #
-# Released under the terms of the GPL v2.
 
 . ./common_tests
 



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 22/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 473
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (20 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 21/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 472 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:20   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:37   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 23/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 474 Thomas Gleixner
                   ` (34 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this file is subject to the terms and conditions of the gnu general
  public license v2

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=43e559c0dca4
---
 scripts/dtc/dt_to_config |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- a/scripts/dtc/dt_to_config
+++ b/scripts/dtc/dt_to_config
@@ -1,10 +1,9 @@
 #!/usr/bin/env perl
+# SPDX-License-Identifier: GPL-2.0-only
 
 # Copyright 2016 by Frank Rowand
 # Copyright 2016 by Gaurav Minocha
 #
-# This file is subject to the terms and conditions of the GNU General Public
-# License v2.
 
 use strict 'refs';
 use strict subs;



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 23/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 474
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (21 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 22/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 473 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:21   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:39   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 24/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 475 Thomas Gleixner
                   ` (33 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  subject to the gnu public license v 2 no warranty of any kind

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=852924b1ea1d
---
 arch/x86/entry/thunk_32.S |    2 +-
 arch/x86/entry/thunk_64.S |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- a/arch/x86/entry/thunk_32.S
+++ b/arch/x86/entry/thunk_32.S
@@ -1,8 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Trampoline to trace irqs off. (otherwise CALLER_ADDR1 might crash)
  * Copyright 2008 by Steven Rostedt, Red Hat, Inc
  *  (inspired by Andi Kleen's thunk_64.S)
- * Subject to the GNU public license, v.2. No warranty of any kind.
  */
 	#include <linux/linkage.h>
 	#include <asm/asm.h>
--- a/arch/x86/entry/thunk_64.S
+++ b/arch/x86/entry/thunk_64.S
@@ -1,9 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Save registers before calling assembly functions. This avoids
  * disturbance of register allocation in some inline assembly constructs.
  * Copyright 2001,2002 by Andi Kleen, SuSE Labs.
  * Added trace_hardirqs callers - Copyright 2007 Steven Rostedt, Red Hat, Inc.
- * Subject to the GNU public license, v.2. No warranty of any kind.
  */
 #include <linux/linkage.h>
 #include "calling.h"



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 24/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 475
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (22 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 23/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 474 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:22   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:40   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 25/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 476 Thomas Gleixner
                   ` (32 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license version 2 as
  published by the free software foudation

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=aa5900060f8f
---
 drivers/input/touchscreen/hideep.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

--- a/drivers/input/touchscreen/hideep.c
+++ b/drivers/input/touchscreen/hideep.c
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2012-2017 Hideep, Inc.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2
- * as published by the Free Software Foudation.
  */
 
 #include <linux/module.h>



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 25/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 476
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (23 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 24/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 475 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:22   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:40   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 26/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 477 Thomas Gleixner
                   ` (31 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  spdx lincense identifier gpl 2 0

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=883b5a89535b
---
 drivers/pinctrl/sh-pfc/pfc-r8a77980.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/pinctrl/sh-pfc/pfc-r8a77980.c
+++ b/drivers/pinctrl/sh-pfc/pfc-r8a77980.c
@@ -1,4 +1,4 @@
-// SPDX-Lincense-Identifier: GPL 2.0
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * R8A77980 processor support - PFC hardware block.
  *



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 26/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 477
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (24 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 25/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 476 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:22   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:41   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 27/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 478 Thomas Gleixner
                   ` (30 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  subject to gplv2

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=6b88d94e3e82
---
 arch/x86/kernel/amd_nb.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/arch/x86/kernel/amd_nb.c
+++ b/arch/x86/kernel/amd_nb.c
@@ -1,6 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Shared support code for AMD K8 northbridges and derivates.
- * Copyright 2006 Andi Kleen, SUSE Labs. Subject to GPLv2.
+ * Copyright 2006 Andi Kleen, SUSE Labs. 
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 27/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 478
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (25 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 26/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 477 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:15   ` Thomas Gleixner
  2019-06-04  8:11 ` [Batch 17 patch 28/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 479 Thomas Gleixner
                   ` (29 subsequent siblings)
  56 siblings, 1 reply; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation either version 2 of the license or at
  your option any later version see the copying file in the top level
  directory or visit http www gnu org licenses gpl 2 0 html this
  program is distributed in the hope that it will be useful but
  without any warranty without even the implied warranty of
  merchantability or fitness for a particular purpose see the gnu
  general public license for more details this program is provided as
  is and with all faults and without warranty of any kind you are
  solely responsible for determining the appropriateness of using and
  distributing the program and assume all risks associated with your
  exercise of rights with respect to the program including but not
  limited to infringement of third party rights the risks and costs of
  program errors damage to or loss of data programs or equipment and
  unavailability or interruption of operations under no circumstances
  will the contributor of this program be liable for any damages of
  any kind arising from your use or distribution of this program the
  linux foundation chooses to take subject only to the gplv2 license
  terms and distributes only under these terms

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=0e7373cb45e0
---
 drivers/scsi/ufs/ufshcd.c |   28 +---------------------------
 1 file changed, 1 insertion(+), 27 deletions(-)

--- a/drivers/scsi/ufs/ufshcd.c
+++ b/drivers/scsi/ufs/ufshcd.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Universal Flash Storage Host controller driver Core
  *
@@ -8,33 +9,6 @@
  * Authors:
  *	Santosh Yaraganavi <santosh.sy@samsung.com>
  *	Vinayak Holikatti <h.vinayak@samsung.com>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- * See the COPYING file in the top-level directory or visit
- * <http://www.gnu.org/licenses/gpl-2.0.html>
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * This program is provided "AS IS" and "WITH ALL FAULTS" and
- * without warranty of any kind. You are solely responsible for
- * determining the appropriateness of using and distributing
- * the program and assume all risks associated with your exercise
- * of rights with respect to the program, including but not limited
- * to infringement of third party rights, the risks and costs of
- * program errors, damage to or loss of data, programs or equipment,
- * and unavailability or interruption of operations. Under no
- * circumstances will the contributor of this Program be liable for
- * any damages of any kind arising from your use or distribution of
- * this program.
- *
- * The Linux Foundation chooses to take subject only to the GPLv2
- * license terms, and distributes only under these terms.
  */
 
 #include <linux/async.h>



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 28/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 479
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (26 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 27/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 478 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:24   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:42   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 29/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 480 Thomas Gleixner
                   ` (28 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  released under the gpl v2 based on gplv2 source code

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=19ba1867e987
---
 tools/perf/util/genelf_debug.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- a/tools/perf/util/genelf_debug.c
+++ b/tools/perf/util/genelf_debug.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * genelf_debug.c
  * Copyright (C) 2015, Google, Inc
@@ -5,8 +6,6 @@
  * Contributed by:
  * 	Stephane Eranian <eranian@google.com>
  *
- * Released under the GPL v2.
- *
  * based on GPLv2 source code from Oprofile
  * @remark Copyright 2007 OProfile authors
  * @author Philippe Elie



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 29/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 480
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (27 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 28/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 479 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:26   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:43   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 30/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 481 Thomas Gleixner
                   ` (27 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  adapted from oprofile gplv2 support

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=91c46dec66de
---
 tools/perf/util/jitdump.h |    1 +
 1 file changed, 1 insertion(+)

--- a/tools/perf/util/jitdump.h
+++ b/tools/perf/util/jitdump.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * jitdump.h: jitted code info encapsulation file format
  *



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 30/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 481
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (28 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 29/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 480 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:27   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:44   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 31/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 Thomas Gleixner
                   ` (26 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  use of this source code is governed by the gplv2 license

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=df6ac81f4f8f
---
 tools/testing/selftests/kselftest_harness.h   |    2 +-
 tools/testing/selftests/seccomp/seccomp_bpf.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- a/tools/testing/selftests/kselftest_harness.h
+++ b/tools/testing/selftests/kselftest_harness.h
@@ -1,6 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
- * Use of this source code is governed by the GPLv2 license.
  *
  * kselftest_harness.h: simple C unit test helper.
  *
--- a/tools/testing/selftests/seccomp/seccomp_bpf.c
+++ b/tools/testing/selftests/seccomp/seccomp_bpf.c
@@ -1,6 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
- * Use of this source code is governed by the GPLv2 license.
  *
  * Test code for seccomp bpf.
  */



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 31/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (29 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 30/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 481 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:28   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:45   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 32/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 483 Thomas Gleixner
                   ` (25 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this work is licensed under the terms of the gnu gpl version 2

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=ac5d17b74537
---
 arch/sparc/include/asm/adi_64.h                                  |    3 +--
 arch/sparc/kernel/adi_64.c                                       |    3 +--
 arch/sparc/kernel/sun4v_mcd.S                                    |    3 +--
 drivers/acpi/ec_sys.c                                            |    3 +--
 drivers/vhost/net.c                                              |    3 +--
 drivers/vhost/test.c                                             |    3 +--
 drivers/vhost/vhost.c                                            |    3 +--
 drivers/vhost/vsock.c                                            |    3 +--
 mm/cleancache.c                                                  |    3 +--
 mm/frontswap.c                                                   |    3 +--
 mm/ksm.c                                                         |    3 +--
 net/vmw_vsock/virtio_transport.c                                 |    3 +--
 net/vmw_vsock/virtio_transport_common.c                          |    3 +--
 tools/power/acpi/tools/ec/ec_access.c                            |    3 +--
 tools/testing/selftests/kvm/include/kvm_util.h                   |    4 +---
 tools/testing/selftests/kvm/include/sparsebit.h                  |    4 +---
 tools/testing/selftests/kvm/include/test_util.h                  |    4 +---
 tools/testing/selftests/kvm/include/x86_64/processor.h           |    4 +---
 tools/testing/selftests/kvm/include/x86_64/vmx.h                 |    4 +---
 tools/testing/selftests/kvm/lib/assert.c                         |    3 +--
 tools/testing/selftests/kvm/lib/elf.c                            |    3 +--
 tools/testing/selftests/kvm/lib/io.c                             |    3 +--
 tools/testing/selftests/kvm/lib/kvm_util.c                       |    3 +--
 tools/testing/selftests/kvm/lib/kvm_util_internal.h              |    3 +--
 tools/testing/selftests/kvm/lib/sparsebit.c                      |    3 +--
 tools/testing/selftests/kvm/lib/x86_64/processor.c               |    3 +--
 tools/testing/selftests/kvm/lib/x86_64/vmx.c                     |    3 +--
 tools/testing/selftests/kvm/x86_64/kvm_create_max_vcpus.c        |    3 +--
 tools/testing/selftests/kvm/x86_64/set_sregs_test.c              |    4 +---
 tools/testing/selftests/kvm/x86_64/state_test.c                  |    3 +--
 tools/testing/selftests/kvm/x86_64/sync_regs_test.c              |    3 +--
 tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c |    3 +--
 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c   |    3 +--
 tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c         |    4 +---
 tools/virtio/ringtest/main.c                                     |    2 +-
 tools/virtio/ringtest/main.h                                     |    2 +-
 tools/virtio/ringtest/ring.c                                     |    2 +-
 tools/virtio/ringtest/virtio_ring_0_9.c                          |    2 +-
 38 files changed, 38 insertions(+), 79 deletions(-)

--- a/arch/sparc/include/asm/adi_64.h
+++ b/arch/sparc/include/asm/adi_64.h
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /* adi_64.h: ADI related data structures
  *
  * Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved.
  * Author: Khalid Aziz (khalid.aziz@oracle.com)
- *
- * This work is licensed under the terms of the GNU GPL, version 2.
  */
 #ifndef __ASM_SPARC64_ADI_H
 #define __ASM_SPARC64_ADI_H
--- a/arch/sparc/kernel/adi_64.c
+++ b/arch/sparc/kernel/adi_64.c
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* adi_64.c: support for ADI (Application Data Integrity) feature on
  * sparc m7 and newer processors. This feature is also known as
  * SSM (Silicon Secured Memory).
  *
  * Copyright (C) 2016 Oracle and/or its affiliates. All rights reserved.
  * Author: Khalid Aziz (khalid.aziz@oracle.com)
- *
- * This work is licensed under the terms of the GNU GPL, version 2.
  */
 #include <linux/init.h>
 #include <linux/slab.h>
--- a/arch/sparc/kernel/sun4v_mcd.S
+++ b/arch/sparc/kernel/sun4v_mcd.S
@@ -1,10 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /* sun4v_mcd.S: Sun4v memory corruption detected precise exception handler
  *
  * Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved.
  * Authors: Bob Picco <bob.picco@oracle.com>,
  *          Khalid Aziz <khalid.aziz@oracle.com>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.
  */
 	.text
 	.align 32
--- a/drivers/acpi/ec_sys.c
+++ b/drivers/acpi/ec_sys.c
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * ec_sys.c
  *
  * Copyright (C) 2010 SUSE Products GmbH/Novell
  * Author:
  *      Thomas Renninger <trenn@suse.de>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.
  */
 
 #include <linux/kernel.h>
--- a/drivers/vhost/net.c
+++ b/drivers/vhost/net.c
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* Copyright (C) 2009 Red Hat, Inc.
  * Author: Michael S. Tsirkin <mst@redhat.com>
  *
- * This work is licensed under the terms of the GNU GPL, version 2.
- *
  * virtio-net server in host kernel.
  */
 
--- a/drivers/vhost/test.c
+++ b/drivers/vhost/test.c
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* Copyright (C) 2009 Red Hat, Inc.
  * Author: Michael S. Tsirkin <mst@redhat.com>
  *
- * This work is licensed under the terms of the GNU GPL, version 2.
- *
  * test virtio server in host kernel.
  */
 
--- a/drivers/vhost/vhost.c
+++ b/drivers/vhost/vhost.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* Copyright (C) 2009 Red Hat, Inc.
  * Copyright (C) 2006 Rusty Russell IBM Corporation
  *
@@ -6,8 +7,6 @@
  * Inspiration, some code, and most witty comments come from
  * Documentation/virtual/lguest/lguest.c, by Rusty Russell
  *
- * This work is licensed under the terms of the GNU GPL, version 2.
- *
  * Generic code for virtio server in host kernel.
  */
 
--- a/drivers/vhost/vsock.c
+++ b/drivers/vhost/vsock.c
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * vhost transport for vsock
  *
  * Copyright (C) 2013-2015 Red Hat, Inc.
  * Author: Asias He <asias@redhat.com>
  *         Stefan Hajnoczi <stefanha@redhat.com>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.
  */
 #include <linux/miscdevice.h>
 #include <linux/atomic.h>
--- a/mm/cleancache.c
+++ b/mm/cleancache.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Cleancache frontend
  *
@@ -7,8 +8,6 @@
  *
  * Copyright (C) 2009-2010 Oracle Corp. All rights reserved.
  * Author: Dan Magenheimer
- *
- * This work is licensed under the terms of the GNU GPL, version 2.
  */
 
 #include <linux/module.h>
--- a/mm/frontswap.c
+++ b/mm/frontswap.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Frontswap frontend
  *
@@ -7,8 +8,6 @@
  *
  * Copyright (C) 2009-2012 Oracle Corp.  All rights reserved.
  * Author: Dan Magenheimer
- *
- * This work is licensed under the terms of the GNU GPL, version 2.
  */
 
 #include <linux/mman.h>
--- a/mm/ksm.c
+++ b/mm/ksm.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Memory merging support.
  *
@@ -10,8 +11,6 @@
  *	Andrea Arcangeli
  *	Chris Wright
  *	Hugh Dickins
- *
- * This work is licensed under the terms of the GNU GPL, version 2.
  */
 
 #include <linux/errno.h>
--- a/net/vmw_vsock/virtio_transport.c
+++ b/net/vmw_vsock/virtio_transport.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * virtio transport for vsock
  *
@@ -7,8 +8,6 @@
  *
  * Some of the code is take from Gerd Hoffmann <kraxel@redhat.com>'s
  * early virtio-vsock proof-of-concept bits.
- *
- * This work is licensed under the terms of the GNU GPL, version 2.
  */
 #include <linux/spinlock.h>
 #include <linux/module.h>
--- a/net/vmw_vsock/virtio_transport_common.c
+++ b/net/vmw_vsock/virtio_transport_common.c
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * common code for virtio vsock
  *
  * Copyright (C) 2013-2015 Red Hat, Inc.
  * Author: Asias He <asias@redhat.com>
  *         Stefan Hajnoczi <stefanha@redhat.com>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.
  */
 #include <linux/spinlock.h>
 #include <linux/module.h>
--- a/tools/power/acpi/tools/ec/ec_access.c
+++ b/tools/power/acpi/tools/ec/ec_access.c
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * ec_access.c
  *
  * Copyright (C) 2010 SUSE Linux Products GmbH
  * Author:
  *      Thomas Renninger <trenn@suse.de>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.
  */
 
 #include <fcntl.h>
--- a/tools/testing/selftests/kvm/include/kvm_util.h
+++ b/tools/testing/selftests/kvm/include/kvm_util.h
@@ -1,10 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * tools/testing/selftests/kvm/include/kvm_util.h
  *
  * Copyright (C) 2018, Google LLC.
- *
- * This work is licensed under the terms of the GNU GPL, version 2.
- *
  */
 #ifndef SELFTEST_KVM_UTIL_H
 #define SELFTEST_KVM_UTIL_H
--- a/tools/testing/selftests/kvm/include/sparsebit.h
+++ b/tools/testing/selftests/kvm/include/sparsebit.h
@@ -1,11 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * tools/testing/selftests/kvm/include/sparsebit.h
  *
  * Copyright (C) 2018, Google LLC.
  *
- * This work is licensed under the terms of the GNU GPL, version 2.
- *
- *
  * Header file that describes API to the sparsebit library.
  * This library provides a memory efficient means of storing
  * the settings of bits indexed via a uint64_t.  Memory usage
--- a/tools/testing/selftests/kvm/include/test_util.h
+++ b/tools/testing/selftests/kvm/include/test_util.h
@@ -1,10 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * tools/testing/selftests/kvm/include/test_util.h
  *
  * Copyright (C) 2018, Google LLC.
- *
- * This work is licensed under the terms of the GNU GPL, version 2.
- *
  */
 
 #ifndef SELFTEST_KVM_TEST_UTIL_H
--- a/tools/testing/selftests/kvm/include/x86_64/processor.h
+++ b/tools/testing/selftests/kvm/include/x86_64/processor.h
@@ -1,10 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * tools/testing/selftests/kvm/include/x86_64/processor.h
  *
  * Copyright (C) 2018, Google LLC.
- *
- * This work is licensed under the terms of the GNU GPL, version 2.
- *
  */
 
 #ifndef SELFTEST_KVM_PROCESSOR_H
--- a/tools/testing/selftests/kvm/include/x86_64/vmx.h
+++ b/tools/testing/selftests/kvm/include/x86_64/vmx.h
@@ -1,10 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * tools/testing/selftests/kvm/include/x86_64/vmx.h
  *
  * Copyright (C) 2018, Google LLC.
- *
- * This work is licensed under the terms of the GNU GPL, version 2.
- *
  */
 
 #ifndef SELFTEST_KVM_VMX_H
--- a/tools/testing/selftests/kvm/lib/assert.c
+++ b/tools/testing/selftests/kvm/lib/assert.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * tools/testing/selftests/kvm/lib/assert.c
  *
  * Copyright (C) 2018, Google LLC.
- *
- * This work is licensed under the terms of the GNU GPL, version 2.
  */
 
 #define _GNU_SOURCE /* for getline(3) and strchrnul(3)*/
--- a/tools/testing/selftests/kvm/lib/elf.c
+++ b/tools/testing/selftests/kvm/lib/elf.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * tools/testing/selftests/kvm/lib/elf.c
  *
  * Copyright (C) 2018, Google LLC.
- *
- * This work is licensed under the terms of the GNU GPL, version 2.
  */
 
 #include "test_util.h"
--- a/tools/testing/selftests/kvm/lib/io.c
+++ b/tools/testing/selftests/kvm/lib/io.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * tools/testing/selftests/kvm/lib/io.c
  *
  * Copyright (C) 2018, Google LLC.
- *
- * This work is licensed under the terms of the GNU GPL, version 2.
  */
 
 #include "test_util.h"
--- a/tools/testing/selftests/kvm/lib/kvm_util.c
+++ b/tools/testing/selftests/kvm/lib/kvm_util.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * tools/testing/selftests/kvm/lib/kvm_util.c
  *
  * Copyright (C) 2018, Google LLC.
- *
- * This work is licensed under the terms of the GNU GPL, version 2.
  */
 
 #include "test_util.h"
--- a/tools/testing/selftests/kvm/lib/kvm_util_internal.h
+++ b/tools/testing/selftests/kvm/lib/kvm_util_internal.h
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * tools/testing/selftests/kvm/lib/kvm_util_internal.h
  *
  * Copyright (C) 2018, Google LLC.
- *
- * This work is licensed under the terms of the GNU GPL, version 2.
  */
 
 #ifndef SELFTEST_KVM_UTIL_INTERNAL_H
--- a/tools/testing/selftests/kvm/lib/sparsebit.c
+++ b/tools/testing/selftests/kvm/lib/sparsebit.c
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Sparse bit array
  *
  * Copyright (C) 2018, Google LLC.
  * Copyright (C) 2018, Red Hat, Inc. (code style cleanup and fuzzing driver)
  *
- * This work is licensed under the terms of the GNU GPL, version 2.
- *
  * This library provides functions to support a memory efficient bit array,
  * with an index size of 2^64.  A sparsebit array is allocated through
  * the use sparsebit_alloc() and free'd via sparsebit_free(),
--- a/tools/testing/selftests/kvm/lib/x86_64/processor.c
+++ b/tools/testing/selftests/kvm/lib/x86_64/processor.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * tools/testing/selftests/kvm/lib/x86_64/processor.c
  *
  * Copyright (C) 2018, Google LLC.
- *
- * This work is licensed under the terms of the GNU GPL, version 2.
  */
 
 #define _GNU_SOURCE /* for program_invocation_name */
--- a/tools/testing/selftests/kvm/lib/x86_64/vmx.c
+++ b/tools/testing/selftests/kvm/lib/x86_64/vmx.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * tools/testing/selftests/kvm/lib/x86_64/vmx.c
  *
  * Copyright (C) 2018, Google LLC.
- *
- * This work is licensed under the terms of the GNU GPL, version 2.
  */
 
 #define _GNU_SOURCE /* for program_invocation_name */
--- a/tools/testing/selftests/kvm/x86_64/kvm_create_max_vcpus.c
+++ b/tools/testing/selftests/kvm/x86_64/kvm_create_max_vcpus.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * kvm_create_max_vcpus
  *
  * Copyright (C) 2019, Google LLC.
  *
- * This work is licensed under the terms of the GNU GPL, version 2.
- *
  * Test for KVM_CAP_MAX_VCPUS and KVM_CAP_MAX_VCPU_ID.
  */
 
--- a/tools/testing/selftests/kvm/x86_64/set_sregs_test.c
+++ b/tools/testing/selftests/kvm/x86_64/set_sregs_test.c
@@ -1,16 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * KVM_SET_SREGS tests
  *
  * Copyright (C) 2018, Google LLC.
  *
- * This work is licensed under the terms of the GNU GPL, version 2.
- *
  * This is a regression test for the bug fixed by the following commit:
  * d3802286fa0f ("kvm: x86: Disallow illegal IA32_APIC_BASE MSR values")
  *
  * That bug allowed a user-mode program that called the KVM_SET_SREGS
  * ioctl to put a VCPU's local APIC into an invalid state.
- *
  */
 #define _GNU_SOURCE /* for program_invocation_short_name */
 #include <fcntl.h>
--- a/tools/testing/selftests/kvm/x86_64/state_test.c
+++ b/tools/testing/selftests/kvm/x86_64/state_test.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * KVM_GET/SET_* tests
  *
  * Copyright (C) 2018, Red Hat, Inc.
  *
- * This work is licensed under the terms of the GNU GPL, version 2.
- *
  * Tests for vCPU state save/restore, including nested guest state.
  */
 #define _GNU_SOURCE /* for program_invocation_short_name */
--- a/tools/testing/selftests/kvm/x86_64/sync_regs_test.c
+++ b/tools/testing/selftests/kvm/x86_64/sync_regs_test.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Test for x86 KVM_CAP_SYNC_REGS
  *
  * Copyright (C) 2018, Google LLC.
  *
- * This work is licensed under the terms of the GNU GPL, version 2.
- *
  * Verifies expected behavior of x86 KVM_CAP_SYNC_REGS functionality,
  * including requesting an invalid register set, updates to/from values
  * in kvm_run.s.regs when kvm_valid_regs and kvm_dirty_regs are toggled.
--- a/tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c
+++ b/tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * vmx_close_while_nested
  *
  * Copyright (C) 2019, Red Hat, Inc.
  *
- * This work is licensed under the terms of the GNU GPL, version 2.
- *
  * Verify that nothing bad happens if a KVM user exits with open
  * file descriptors while executing a nested guest.
  */
--- a/tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c
+++ b/tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * vmx_set_nested_state_test
  *
  * Copyright (C) 2019, Google LLC.
  *
- * This work is licensed under the terms of the GNU GPL, version 2.
- *
  * This test verifies the integrity of calling the ioctl KVM_SET_NESTED_STATE.
  */
 
--- a/tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c
+++ b/tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * vmx_tsc_adjust_test
  *
  * Copyright (C) 2018, Google LLC.
  *
- * This work is licensed under the terms of the GNU GPL, version 2.
- *
- *
  * IA32_TSC_ADJUST test
  *
  * According to the SDM, "if an execution of WRMSR to the
--- a/tools/virtio/ringtest/main.c
+++ b/tools/virtio/ringtest/main.c
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2016 Red Hat, Inc.
  * Author: Michael S. Tsirkin <mst@redhat.com>
- * This work is licensed under the terms of the GNU GPL, version 2.
  *
  * Command line processing and common functions for ring benchmarking.
  */
--- a/tools/virtio/ringtest/main.h
+++ b/tools/virtio/ringtest/main.h
@@ -1,7 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2016 Red Hat, Inc.
  * Author: Michael S. Tsirkin <mst@redhat.com>
- * This work is licensed under the terms of the GNU GPL, version 2.
  *
  * Common macros and functions for ring benchmarking.
  */
--- a/tools/virtio/ringtest/ring.c
+++ b/tools/virtio/ringtest/ring.c
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2016 Red Hat, Inc.
  * Author: Michael S. Tsirkin <mst@redhat.com>
- * This work is licensed under the terms of the GNU GPL, version 2.
  *
  * Simple descriptor-based ring. virtio 0.9 compatible event index is used for
  * signalling, unconditionally.
--- a/tools/virtio/ringtest/virtio_ring_0_9.c
+++ b/tools/virtio/ringtest/virtio_ring_0_9.c
@@ -1,7 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2016 Red Hat, Inc.
  * Author: Michael S. Tsirkin <mst@redhat.com>
- * This work is licensed under the terms of the GNU GPL, version 2.
  *
  * Partial implementation of virtio 0.9. event index is used for signalling,
  * unconditionally. Design roughly follows linux kernel implementation in order



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 32/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 483
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (30 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 31/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:16   ` Thomas Gleixner
  2019-06-04 11:31   ` Enrico Weigelt, metux IT consult
  2019-06-04  8:11 ` [Batch 17 patch 33/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 484 Thomas Gleixner
                   ` (24 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this software is licensed under the gnu general license version 2
  june 1991 as shown in the file copying in the top level directory of
  this source tree the copyright holders and or other parties provide
  the program as is without warranty of any kind either expressed or
  implied including but not limited to the implied warranties of
  merchantability and fitness for a particular purpose the entire risk
  as to the quality and performance of the program is with you should
  the program prove defective you assume the cost of all necessary
  servicing repair or correction

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=298d23eedc0f
---
 drivers/net/netdevsim/bpf.c                 |   12 +-----------
 drivers/net/netdevsim/dev.c                 |   12 +-----------
 drivers/net/netdevsim/fib.c                 |   12 +-----------
 drivers/net/netdevsim/netdev.c              |   12 +-----------
 drivers/net/netdevsim/netdevsim.h           |   12 +-----------
 kernel/bpf/offload.c                        |   12 +-----------
 tools/testing/selftests/bpf/test_offload.py |   11 +----------
 7 files changed, 7 insertions(+), 76 deletions(-)

--- a/drivers/net/netdevsim/bpf.c
+++ b/drivers/net/netdevsim/bpf.c
@@ -1,16 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2017 Netronome Systems, Inc.
- *
- * This software is licensed under the GNU General License Version 2,
- * June 1991 as shown in the file COPYING in the top-level directory of this
- * source tree.
- *
- * THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS"
- * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
- * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
- * OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
- * THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  */
 
 #include <linux/bpf.h>
--- a/drivers/net/netdevsim/dev.c
+++ b/drivers/net/netdevsim/dev.c
@@ -1,18 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2018 Cumulus Networks. All rights reserved.
  * Copyright (c) 2018 David Ahern <dsa@cumulusnetworks.com>
  * Copyright (c) 2019 Mellanox Technologies. All rights reserved.
- *
- * This software is licensed under the GNU General License Version 2,
- * June 1991 as shown in the file COPYING in the top-level directory of this
- * source tree.
- *
- * THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS"
- * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
- * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
- * OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
- * THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  */
 
 #include <linux/debugfs.h>
--- a/drivers/net/netdevsim/fib.c
+++ b/drivers/net/netdevsim/fib.c
@@ -1,17 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2018 Cumulus Networks. All rights reserved.
  * Copyright (c) 2018 David Ahern <dsa@cumulusnetworks.com>
- *
- * This software is licensed under the GNU General License Version 2,
- * June 1991 as shown in the file COPYING in the top-level directory of this
- * source tree.
- *
- * THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS"
- * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
- * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
- * OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
- * THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  */
 
 #include <net/fib_notifier.h>
--- a/drivers/net/netdevsim/netdev.c
+++ b/drivers/net/netdevsim/netdev.c
@@ -1,16 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2017 Netronome Systems, Inc.
- *
- * This software is licensed under the GNU General License Version 2,
- * June 1991 as shown in the file COPYING in the top-level directory of this
- * source tree.
- *
- * THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS"
- * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
- * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
- * OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
- * THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  */
 
 #include <linux/debugfs.h>
--- a/drivers/net/netdevsim/netdevsim.h
+++ b/drivers/net/netdevsim/netdevsim.h
@@ -1,16 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2017 Netronome Systems, Inc.
- *
- * This software is licensed under the GNU General License Version 2,
- * June 1991 as shown in the file COPYING in the top-level directory of this
- * source tree.
- *
- * THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS"
- * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
- * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
- * OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
- * THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  */
 
 #include <linux/device.h>
--- a/kernel/bpf/offload.c
+++ b/kernel/bpf/offload.c
@@ -1,16 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2017-2018 Netronome Systems, Inc.
- *
- * This software is licensed under the GNU General License Version 2,
- * June 1991 as shown in the file COPYING in the top-level directory of this
- * source tree.
- *
- * THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS"
- * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
- * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
- * OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
- * THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  */
 
 #include <linux/bpf.h>
--- a/tools/testing/selftests/bpf/test_offload.py
+++ b/tools/testing/selftests/bpf/test_offload.py
@@ -1,18 +1,9 @@
 #!/usr/bin/python3
+# SPDX-License-Identifier: GPL-2.0-only
 
 # Copyright (C) 2017 Netronome Systems, Inc.
 # Copyright (c) 2019 Mellanox Technologies. All rights reserved
 #
-# This software is licensed under the GNU General License Version 2,
-# June 1991 as shown in the file COPYING in the top-level directory of this
-# source tree.
-#
-# THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS"
-# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
-# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
-# FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
-# OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
-# THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
 
 from datetime import datetime
 import argparse



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 33/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 484
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (31 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 32/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 483 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:31   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:53   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 34/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 485 Thomas Gleixner
                   ` (23 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this source code is licensed under general public license version 2

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@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=cbe536b5c512
---
 include/linux/netfilter/nf_conntrack_h323_asn1.h  |    4 +---
 include/linux/netfilter/nf_conntrack_h323_types.h |    3 +--
 net/ipv4/netfilter/nf_nat_h323.c                  |    3 +--
 net/netfilter/nf_conntrack_h323_main.c            |    3 +--
 net/netfilter/nf_conntrack_h323_types.c           |    3 +--
 5 files changed, 5 insertions(+), 11 deletions(-)

--- a/include/linux/netfilter/nf_conntrack_h323_asn1.h
+++ b/include/linux/netfilter/nf_conntrack_h323_asn1.h
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /****************************************************************************
  * ip_conntrack_h323_asn1.h - BER and PER decoding library for H.323
  * 			      conntrack/NAT module.
  *
  * Copyright (c) 2006 by Jing Min Zhao <zhaojingmin@users.sourceforge.net>
  *
- * This source code is licensed under General Public License version 2.
- *
- *
  * This library is based on H.225 version 4, H.235 version 2 and H.245
  * version 7. It is extremely optimized to decode only the absolutely
  * necessary objects in a signal for Linux kernel NAT module use, so don't
--- a/include/linux/netfilter/nf_conntrack_h323_types.h
+++ b/include/linux/netfilter/nf_conntrack_h323_types.h
@@ -1,8 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /* Generated by Jing Min Zhao's ASN.1 parser, May 16 2007
  *
  * Copyright (c) 2006 Jing Min Zhao <zhaojingmin@users.sourceforge.net>
- *
- * This source code is licensed under General Public License version 2.
  */
 
 typedef struct TransportAddress_ipAddress {	/* SEQUENCE */
--- a/net/ipv4/netfilter/nf_nat_h323.c
+++ b/net/ipv4/netfilter/nf_nat_h323.c
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * H.323 extension for NAT alteration.
  *
  * Copyright (c) 2006 Jing Min Zhao <zhaojingmin@users.sourceforge.net>
  * Copyright (c) 2006-2012 Patrick McHardy <kaber@trash.net>
  *
- * This source code is licensed under General Public License version 2.
- *
  * Based on the 'brute force' H.323 NAT module by
  * Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
  */
--- a/net/netfilter/nf_conntrack_h323_main.c
+++ b/net/netfilter/nf_conntrack_h323_main.c
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * H.323 connection tracking helper
  *
  * Copyright (c) 2006 Jing Min Zhao <zhaojingmin@users.sourceforge.net>
  * Copyright (c) 2006-2012 Patrick McHardy <kaber@trash.net>
  *
- * This source code is licensed under General Public License version 2.
- *
  * Based on the 'brute force' H.323 connection tracking module by
  * Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
  *
--- a/net/netfilter/nf_conntrack_h323_types.c
+++ b/net/netfilter/nf_conntrack_h323_types.c
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* Generated by Jing Min Zhao's ASN.1 parser, May 16 2007
  *
  * Copyright (c) 2006 Jing Min Zhao <zhaojingmin@users.sourceforge.net>
- *
- * This source code is licensed under General Public License version 2.
  */
 
 static const struct field_t _TransportAddress_ipAddress[] = {	/* SEQUENCE */



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 34/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 485
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (32 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 33/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 484 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:32   ` Enrico Weigelt, metux IT consult
  2019-06-04 21:03   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 35/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 486 Thomas Gleixner
                   ` (22 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license version 2 as
  published by the free software foundation this program is
  distributed in the hope that it would be useful but without any
  warranty without even the implied warranty of merchantability or
  fitness for a particular purpose

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=880dd574eaef
---
 tools/testing/selftests/vm/va_128TBswitch.c |   10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

--- a/tools/testing/selftests/vm/va_128TBswitch.c
+++ b/tools/testing/selftests/vm/va_128TBswitch.c
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
  * Authors: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
  * Authors: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2, as
- * published by the Free Software Foundation.
-
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
  */
 
 #include <stdio.h>



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 35/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 486
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (33 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 34/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 485 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:33   ` Enrico Weigelt, metux IT consult
  2019-06-04 21:03   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 36/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 487 Thomas Gleixner
                   ` (21 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this package is free software you can redistribute it and or modify
  it under the terms of the gnu general public license version 2 as
  published by the free software foundation this program is
  distributed in the hope that it will be useful but without any
  warranty without even the implied warranty of merchantability or
  fitness for a particular purpose see the gnu general public license
  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 3 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=83d991495746
---
 drivers/media/i2c/tvp514x.c      |   11 +----------
 drivers/media/i2c/tvp514x_regs.h |   11 +----------
 include/media/i2c/tvp514x.h      |   11 +----------
 3 files changed, 3 insertions(+), 30 deletions(-)

--- a/drivers/media/i2c/tvp514x.c
+++ b/drivers/media/i2c/tvp514x.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * drivers/media/i2c/tvp514x.c
  *
@@ -13,16 +14,6 @@
  *     Manjunath Hadli <mrh@ti.com>
  *     Karicheri Muralidharan <m-karicheri2@ti.com>
  *     Prabhakar Lad <prabhakar.lad@ti.com>
- *
- * This package is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #include <linux/i2c.h>
--- a/drivers/media/i2c/tvp514x_regs.h
+++ b/drivers/media/i2c/tvp514x_regs.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * drivers/media/i2c/tvp514x_regs.h
  *
@@ -10,16 +11,6 @@
  *     Hardik Shah <hardik.shah@ti.com>
  *     Manjunath Hadli <mrh@ti.com>
  *     Karicheri Muralidharan <m-karicheri2@ti.com>
- *
- * This package is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #ifndef _TVP514X_REGS_H
--- a/include/media/i2c/tvp514x.h
+++ b/include/media/i2c/tvp514x.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * drivers/media/video/tvp514x.h
  *
@@ -10,16 +11,6 @@
  *     Hardik Shah <hardik.shah@ti.com>
  *     Manjunath Hadli <mrh@ti.com>
  *     Karicheri Muralidharan <m-karicheri2@ti.com>
- *
- * This package is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
  */
 
 #ifndef _TVP514X_H



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 36/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 487
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (34 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 35/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 486 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:33   ` Enrico Weigelt, metux IT consult
  2019-06-04 21:05   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 37/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 488 Thomas Gleixner
                   ` (20 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license version 2 as
  published by the free software foundation this program is
  distributed in the hope that it will be useful but without any
  warranty without even the implied warranty of merchantability or
  fitness for a particular purpose see http www gnu org licenses gpl 2
  0 html 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 2 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=18d78624e158
---
 include/dt-bindings/power/mt2712-power.h |   10 +---------
 include/dt-bindings/power/mt7622-power.h |   10 +---------
 2 files changed, 2 insertions(+), 18 deletions(-)

--- a/include/dt-bindings/power/mt2712-power.h
+++ b/include/dt-bindings/power/mt2712-power.h
@@ -1,14 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2017 MediaTek Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See http://www.gnu.org/licenses/gpl-2.0.html for more details.
  */
 
 #ifndef _DT_BINDINGS_POWER_MT2712_POWER_H
--- a/include/dt-bindings/power/mt7622-power.h
+++ b/include/dt-bindings/power/mt7622-power.h
@@ -1,14 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2017 MediaTek Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See http://www.gnu.org/licenses/gpl-2.0.html for more details.
  */
 
 #ifndef _DT_BINDINGS_POWER_MT7622_POWER_H



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 37/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 488
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (35 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 36/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 487 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:37   ` Enrico Weigelt, metux IT consult
  2019-06-04 21:06   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 38/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 489 Thomas Gleixner
                   ` (19 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license version 2 as
  published by the free software foundation this program is
  distributed in the hope it will be useful but without any warranty
  without even the implied warranty of merchantability or fitness for
  a particular purpose see the gnu general public license 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 1 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=61a7a2a16183
---
 drivers/iio/light/us5182d.c |   10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

--- a/drivers/iio/light/us5182d.c
+++ b/drivers/iio/light/us5182d.c
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2015 Intel Corporation
  *
  * Driver for UPISEMI us5182d Proximity and Ambient Light Sensor.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 as published by
- * the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
  * To do: Interrupt support.
  */
 



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 38/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 489
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (36 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 37/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 488 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:40   ` Enrico Weigelt, metux IT consult
  2019-06-04 21:07   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 39/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 490 Thomas Gleixner
                   ` (18 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license version 2 gpl
  v2 as published by the free software foundation this program is
  distributed in the hope that it will be useful but without any
  warranty without even the implied warranty of merchantability or
  fitness for a particular purpose see the gnu general public license
  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 1 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=79ea71d5aa99
---
 drivers/spi/spi-xlp.c |   10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

--- a/drivers/spi/spi-xlp.c
+++ b/drivers/spi/spi-xlp.c
@@ -1,15 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2003-2015 Broadcom Corporation
  * All Rights Reserved
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 (GPL v2)
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 #include <linux/acpi.h>
 #include <linux/clk.h>



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 39/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 490
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (37 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 38/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 489 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:42   ` Enrico Weigelt, metux IT consult
  2019-06-04 21:08   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 40/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 491 Thomas Gleixner
                   ` (17 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as version 2 as
  published by the free software foundation this program is
  distributed in the hope that it will be useful but without any
  warranty without even the implied warranty of merchantability or
  fitness for a particular purpose see the gnu general public license
  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 13 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=a0db965fdeb3
---
 sound/soc/intel/skylake/cnl-sst-dsp.c   |   10 +---------
 sound/soc/intel/skylake/cnl-sst-dsp.h   |   10 +---------
 sound/soc/intel/skylake/cnl-sst.c       |   10 +---------
 sound/soc/intel/skylake/skl-messages.c  |   10 +---------
 sound/soc/intel/skylake/skl-sst-cldma.c |   10 +---------
 sound/soc/intel/skylake/skl-sst-cldma.h |   10 +---------
 sound/soc/intel/skylake/skl-sst-dsp.c   |   10 +---------
 sound/soc/intel/skylake/skl-sst-dsp.h   |   10 +---------
 sound/soc/intel/skylake/skl-sst-ipc.c   |   10 +---------
 sound/soc/intel/skylake/skl-sst-ipc.h   |   10 +---------
 sound/soc/intel/skylake/skl-sst-utils.c |   10 +---------
 sound/soc/intel/skylake/skl-sst.c       |   10 +---------
 sound/soc/intel/skylake/skl-topology.c  |   10 +---------
 13 files changed, 13 insertions(+), 117 deletions(-)

--- a/sound/soc/intel/skylake/cnl-sst-dsp.c
+++ b/sound/soc/intel/skylake/cnl-sst-dsp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * cnl-sst-dsp.c - CNL SST library generic function
  *
@@ -9,15 +10,6 @@
  *	Copyright (C) 2014-15, Intel Corporation.
  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as version 2, as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  */
 #include <linux/device.h>
--- a/sound/soc/intel/skylake/cnl-sst-dsp.h
+++ b/sound/soc/intel/skylake/cnl-sst-dsp.h
@@ -1,16 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Cannonlake SST DSP Support
  *
  * Copyright (C) 2016-17, Intel Corporation.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as version 2, as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
  */
 
 #ifndef __CNL_SST_DSP_H__
--- a/sound/soc/intel/skylake/cnl-sst.c
+++ b/sound/soc/intel/skylake/cnl-sst.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * cnl-sst.c - DSP library functions for CNL platform
  *
@@ -11,15 +12,6 @@
  *
  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as version 2, as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  */
 
--- a/sound/soc/intel/skylake/skl-messages.c
+++ b/sound/soc/intel/skylake/skl-messages.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  skl-message.c - HDA DSP interface for FW registration, Pipe and Module
  *  configurations
@@ -6,15 +7,6 @@
  *  Author:Rafal Redzimski <rafal.f.redzimski@intel.com>
  *	   Jeeja KP <jeeja.kp@intel.com>
  *  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as version 2, as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
  */
 
 #include <linux/slab.h>
--- a/sound/soc/intel/skylake/skl-sst-cldma.c
+++ b/sound/soc/intel/skylake/skl-sst-cldma.c
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * skl-sst-cldma.c - Code Loader DMA handler
  *
  * Copyright (C) 2015, Intel Corporation.
  * Author: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as version 2, as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
  */
 
 #include <linux/device.h>
--- a/sound/soc/intel/skylake/skl-sst-cldma.h
+++ b/sound/soc/intel/skylake/skl-sst-cldma.h
@@ -1,16 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Intel Code Loader DMA support
  *
  * Copyright (C) 2015, Intel Corporation.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as version 2, as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
  */
 
 #ifndef SKL_SST_CLDMA_H_
--- a/sound/soc/intel/skylake/skl-sst-dsp.c
+++ b/sound/soc/intel/skylake/skl-sst-dsp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * skl-sst-dsp.c - SKL SST library generic function
  *
@@ -5,15 +6,6 @@
  * Author:Rafal Redzimski <rafal.f.redzimski@intel.com>
  *	Jeeja KP <jeeja.kp@intel.com>
  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as version 2, as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
  */
 #include <sound/pcm.h>
 
--- a/sound/soc/intel/skylake/skl-sst-dsp.h
+++ b/sound/soc/intel/skylake/skl-sst-dsp.h
@@ -1,16 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Skylake SST DSP Support
  *
  * Copyright (C) 2014-15, Intel Corporation.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as version 2, as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
  */
 
 #ifndef __SKL_SST_DSP_H__
--- a/sound/soc/intel/skylake/skl-sst-ipc.c
+++ b/sound/soc/intel/skylake/skl-sst-ipc.c
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * skl-sst-ipc.c - Intel skl IPC Support
  *
  * Copyright (C) 2014-15, Intel Corporation.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as version 2, as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
  */
 #include <linux/device.h>
 
--- a/sound/soc/intel/skylake/skl-sst-ipc.h
+++ b/sound/soc/intel/skylake/skl-sst-ipc.h
@@ -1,16 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Intel SKL IPC Support
  *
  * Copyright (C) 2014-15, Intel Corporation.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as version 2, as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
  */
 
 #ifndef __SKL_IPC_H
--- a/sound/soc/intel/skylake/skl-sst-utils.c
+++ b/sound/soc/intel/skylake/skl-sst-utils.c
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  skl-sst-utils.c - SKL sst utils functions
  *
  *  Copyright (C) 2016 Intel Corp
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as version 2, as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
  */
 
 #include <linux/device.h>
--- a/sound/soc/intel/skylake/skl-sst.c
+++ b/sound/soc/intel/skylake/skl-sst.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * skl-sst.c - HDA DSP library functions for SKL platform
  *
@@ -5,15 +6,6 @@
  * Author:Rafal Redzimski <rafal.f.redzimski@intel.com>
  *	Jeeja KP <jeeja.kp@intel.com>
  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as version 2, as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
  */
 
 #include <linux/module.h>
--- a/sound/soc/intel/skylake/skl-topology.c
+++ b/sound/soc/intel/skylake/skl-topology.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  skl-topology.c - Implements Platform component ALSA controls/widget
  *  handlers.
@@ -5,15 +6,6 @@
  *  Copyright (C) 2014-2015 Intel Corp
  *  Author: Jeeja KP <jeeja.kp@intel.com>
  *  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as version 2, as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
  */
 
 #include <linux/slab.h>



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 40/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 491
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (38 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 39/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 490 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:43   ` Enrico Weigelt, metux IT consult
  2019-06-04 21:09   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 41/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 492 Thomas Gleixner
                   ` (16 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms and conditions of the gnu general public license
  version 2 as published by the free software foundation this program
  is distributed in the hope that it will be useful but without any
  warranty without even the implied warranty of merchantability or
  fitness for a particular purpose see the gnu general public license
  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 3 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=40e4d3897879
---
 drivers/acpi/pci_slot.c               |   10 +---------
 drivers/iio/humidity/si7020.c         |   10 +---------
 include/linux/platform_data/nxp-nci.h |   10 +---------
 3 files changed, 3 insertions(+), 27 deletions(-)

--- a/drivers/acpi/pci_slot.c
+++ b/drivers/acpi/pci_slot.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  pci_slot.c - ACPI PCI Slot Driver
  *
@@ -11,15 +12,6 @@
  *
  *  Copyright (C) 2013 Huawei Tech. Co., Ltd.
  *	Jiang Liu <jiang.liu@huawei.com>
- *
- *  This program is free software; you can redistribute it and/or modify it
- *  under the terms and conditions of the GNU General Public License,
- *  version 2, as published by the Free Software Foundation.
- *
- *  This program is distributed in the hope that it will be useful, but
- *  WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- *  General Public License for more details.
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
--- a/drivers/iio/humidity/si7020.c
+++ b/drivers/iio/humidity/si7020.c
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * si7020.c - Silicon Labs Si7013/20/21 Relative Humidity and Temp Sensors
  * Copyright (c) 2013,2014  Uplogix, Inc.
  * David Barksdale <dbarksdale@uplogix.com>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
  */
 
 /*
--- a/include/linux/platform_data/nxp-nci.h
+++ b/include/linux/platform_data/nxp-nci.h
@@ -1,18 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Generic platform data for the NXP NCI NFC chips.
  *
  * Copyright (C) 2014  NXP Semiconductors  All rights reserved.
  *
  * Authors: Clément Perrochaud <clement.perrochaud@nxp.com>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
  */
 
 #ifndef _NXP_NCI_H_



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 41/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 492
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (39 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 40/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 491 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:43   ` Enrico Weigelt, metux IT consult
  2019-06-04  8:11 ` [Batch 17 patch 42/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 493 Thomas Gleixner
                   ` (15 subsequent siblings)
  56 siblings, 1 reply; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation version 2 of the license this program
  is distributed in the hope that it will be useful but without any
  warranty without even the implied warranty of merchantability or
  fitness for a particular purpose good title or non infringement see
  the gnu general public license 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 3 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=93cba77f2fae
---
 drivers/scsi/hpsa.c     |   11 +----------
 drivers/scsi/hpsa.h     |   11 +----------
 drivers/scsi/hpsa_cmd.h |   11 +----------
 3 files changed, 3 insertions(+), 30 deletions(-)

--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -1,20 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *    Disk Array driver for HP Smart Array SAS controllers
  *    Copyright 2016 Microsemi Corporation
  *    Copyright 2014-2015 PMC-Sierra, Inc.
  *    Copyright 2000,2009-2015 Hewlett-Packard Development Company, L.P.
  *
- *    This program is free software; you can redistribute it and/or modify
- *    it under the terms of the GNU General Public License as published by
- *    the Free Software Foundation; version 2 of the License.
- *
- *    This program is distributed in the hope that it will be useful,
- *    but WITHOUT ANY WARRANTY; without even the implied warranty of
- *    MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
- *    NON INFRINGEMENT.  See the GNU General Public License for more details.
- *
  *    Questions/Comments/Bugfixes to esc.storagedev@microsemi.com
- *
  */
 
 #include <linux/module.h>
--- a/drivers/scsi/hpsa.h
+++ b/drivers/scsi/hpsa.h
@@ -1,20 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *    Disk Array driver for HP Smart Array SAS controllers
  *    Copyright 2016 Microsemi Corporation
  *    Copyright 2014-2015 PMC-Sierra, Inc.
  *    Copyright 2000,2009-2015 Hewlett-Packard Development Company, L.P.
  *
- *    This program is free software; you can redistribute it and/or modify
- *    it under the terms of the GNU General Public License as published by
- *    the Free Software Foundation; version 2 of the License.
- *
- *    This program is distributed in the hope that it will be useful,
- *    but WITHOUT ANY WARRANTY; without even the implied warranty of
- *    MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
- *    NON INFRINGEMENT.  See the GNU General Public License for more details.
- *
  *    Questions/Comments/Bugfixes to esc.storagedev@microsemi.com
- *
  */
 #ifndef HPSA_H
 #define HPSA_H
--- a/drivers/scsi/hpsa_cmd.h
+++ b/drivers/scsi/hpsa_cmd.h
@@ -1,20 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *    Disk Array driver for HP Smart Array SAS controllers
  *    Copyright 2016 Microsemi Corporation
  *    Copyright 2014-2015 PMC-Sierra, Inc.
  *    Copyright 2000,2009-2015 Hewlett-Packard Development Company, L.P.
  *
- *    This program is free software; you can redistribute it and/or modify
- *    it under the terms of the GNU General Public License as published by
- *    the Free Software Foundation; version 2 of the License.
- *
- *    This program is distributed in the hope that it will be useful,
- *    but WITHOUT ANY WARRANTY; without even the implied warranty of
- *    MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
- *    NON INFRINGEMENT.  See the GNU General Public License for more details.
- *
  *    Questions/Comments/Bugfixes to esc.storagedev@microsemi.com
- *
  */
 #ifndef HPSA_CMD_H
 #define HPSA_CMD_H



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 42/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 493
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (40 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 41/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 492 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:17   ` Thomas Gleixner
  2019-06-04  8:11 ` [Batch 17 patch 43/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 494 Thomas Gleixner
                   ` (14 subsequent siblings)
  56 siblings, 1 reply; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  based on gpl ed 2 6 kernel sources [c] [marvell] [international]
  [ltd] this file is licensed under the terms of the gnu general
  public license version 2 this program is licensed as is without any
  warranty of any kind whether express or implied

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=398510c4e9ef
---
 drivers/irqchip/irq-dw-apb-ictl.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

--- a/drivers/irqchip/irq-dw-apb-ictl.c
+++ b/drivers/irqchip/irq-dw-apb-ictl.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Synopsys DW APB ICTL irqchip driver.
  *
@@ -5,10 +6,6 @@
  *
  * based on GPL'ed 2.6 kernel sources
  *  (c) Marvell International Ltd.
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2.  This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
  */
 
 #include <linux/io.h>



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 43/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 494
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (41 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 42/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 493 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:20   ` Thomas Gleixner
  2019-06-04  8:11 ` [Batch 17 patch 44/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 495 Thomas Gleixner
                   ` (13 subsequent siblings)
  56 siblings, 1 reply; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  copyright this file is distributed under the terms of the gnu
  general public license gpl copies of the gpl can be obtained from
  ftp prep ai mit edu pub gnu gpl each contributing author retains all
  rights to their own work

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=39f5ae33587b
---
 fs/udf/balloc.c    |    8 +-------
 fs/udf/dir.c       |    7 +------
 fs/udf/directory.c |    7 +------
 fs/udf/file.c      |    7 +------
 fs/udf/ialloc.c    |    8 +-------
 fs/udf/inode.c     |    7 +------
 fs/udf/lowlevel.c  |    7 +------
 fs/udf/misc.c      |    7 +------
 fs/udf/namei.c     |    7 +------
 fs/udf/partition.c |    8 +-------
 fs/udf/super.c     |    7 +------
 fs/udf/symlink.c   |    8 +-------
 fs/udf/truncate.c  |    8 +-------
 fs/udf/unicode.c   |    7 +------
 14 files changed, 14 insertions(+), 89 deletions(-)

--- a/fs/udf/balloc.c
+++ b/fs/udf/balloc.c
@@ -1,22 +1,16 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * balloc.c
  *
  * PURPOSE
  *	Block allocation handling routines for the OSTA-UDF(tm) filesystem.
  *
- * COPYRIGHT
- *	This file is distributed under the terms of the GNU General Public
- *	License (GPL). Copies of the GPL can be obtained from:
- *		ftp://prep.ai.mit.edu/pub/gnu/GPL
- *	Each contributing author retains all rights to their own work.
- *
  *  (C) 1999-2001 Ben Fennema
  *  (C) 1999 Stelias Computing Inc
  *
  * HISTORY
  *
  *  02/24/99 blf  Created.
- *
  */
 
 #include "udfdecl.h"
--- a/fs/udf/dir.c
+++ b/fs/udf/dir.c
@@ -1,15 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * dir.c
  *
  * PURPOSE
  *  Directory handling routines for the OSTA-UDF(tm) filesystem.
  *
- * COPYRIGHT
- *	This file is distributed under the terms of the GNU General Public
- *	License (GPL). Copies of the GPL can be obtained from:
- *		ftp://prep.ai.mit.edu/pub/gnu/GPL
- *	Each contributing author retains all rights to their own work.
- *
  *  (C) 1998-2004 Ben Fennema
  *
  * HISTORY
--- a/fs/udf/directory.c
+++ b/fs/udf/directory.c
@@ -1,14 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * directory.c
  *
  * PURPOSE
  *	Directory related functions
- *
- * COPYRIGHT
- *	This file is distributed under the terms of the GNU General Public
- *	License (GPL). Copies of the GPL can be obtained from:
- *		ftp://prep.ai.mit.edu/pub/gnu/GPL
- *	Each contributing author retains all rights to their own work.
  */
 
 #include "udfdecl.h"
--- a/fs/udf/file.c
+++ b/fs/udf/file.c
@@ -1,15 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * file.c
  *
  * PURPOSE
  *  File handling routines for the OSTA-UDF(tm) filesystem.
  *
- * COPYRIGHT
- *  This file is distributed under the terms of the GNU General Public
- *  License (GPL). Copies of the GPL can be obtained from:
- *    ftp://prep.ai.mit.edu/pub/gnu/GPL
- *  Each contributing author retains all rights to their own work.
- *
  *  (C) 1998-1999 Dave Boynton
  *  (C) 1998-2004 Ben Fennema
  *  (C) 1999-2000 Stelias Computing Inc
--- a/fs/udf/ialloc.c
+++ b/fs/udf/ialloc.c
@@ -1,21 +1,15 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * ialloc.c
  *
  * PURPOSE
  *	Inode allocation handling routines for the OSTA-UDF(tm) filesystem.
  *
- * COPYRIGHT
- *	This file is distributed under the terms of the GNU General Public
- *	License (GPL). Copies of the GPL can be obtained from:
- *		ftp://prep.ai.mit.edu/pub/gnu/GPL
- *	Each contributing author retains all rights to their own work.
- *
  *  (C) 1998-2001 Ben Fennema
  *
  * HISTORY
  *
  *  02/24/99 blf  Created.
- *
  */
 
 #include "udfdecl.h"
--- a/fs/udf/inode.c
+++ b/fs/udf/inode.c
@@ -1,15 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * inode.c
  *
  * PURPOSE
  *  Inode handling routines for the OSTA-UDF(tm) filesystem.
  *
- * COPYRIGHT
- *  This file is distributed under the terms of the GNU General Public
- *  License (GPL). Copies of the GPL can be obtained from:
- *    ftp://prep.ai.mit.edu/pub/gnu/GPL
- *  Each contributing author retains all rights to their own work.
- *
  *  (C) 1998 Dave Boynton
  *  (C) 1998-2004 Ben Fennema
  *  (C) 1999-2000 Stelias Computing Inc
--- a/fs/udf/lowlevel.c
+++ b/fs/udf/lowlevel.c
@@ -1,15 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * lowlevel.c
  *
  * PURPOSE
  *  Low Level Device Routines for the UDF filesystem
  *
- * COPYRIGHT
- *	This file is distributed under the terms of the GNU General Public
- *	License (GPL). Copies of the GPL can be obtained from:
- *		ftp://prep.ai.mit.edu/pub/gnu/GPL
- *	Each contributing author retains all rights to their own work.
- *
  *  (C) 1999-2001 Ben Fennema
  *
  * HISTORY
--- a/fs/udf/misc.c
+++ b/fs/udf/misc.c
@@ -1,15 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * misc.c
  *
  * PURPOSE
  *	Miscellaneous routines for the OSTA-UDF(tm) filesystem.
  *
- * COPYRIGHT
- *	This file is distributed under the terms of the GNU General Public
- *	License (GPL). Copies of the GPL can be obtained from:
- *		ftp://prep.ai.mit.edu/pub/gnu/GPL
- *	Each contributing author retains all rights to their own work.
- *
  *  (C) 1998 Dave Boynton
  *  (C) 1998-2004 Ben Fennema
  *  (C) 1999-2000 Stelias Computing Inc
--- a/fs/udf/namei.c
+++ b/fs/udf/namei.c
@@ -1,15 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * namei.c
  *
  * PURPOSE
  *      Inode name handling routines for the OSTA-UDF(tm) filesystem.
  *
- * COPYRIGHT
- *      This file is distributed under the terms of the GNU General Public
- *      License (GPL). Copies of the GPL can be obtained from:
- *              ftp://prep.ai.mit.edu/pub/gnu/GPL
- *      Each contributing author retains all rights to their own work.
- *
  *  (C) 1998-2004 Ben Fennema
  *  (C) 1999-2000 Stelias Computing Inc
  *
--- a/fs/udf/partition.c
+++ b/fs/udf/partition.c
@@ -1,21 +1,15 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * partition.c
  *
  * PURPOSE
  *      Partition handling routines for the OSTA-UDF(tm) filesystem.
  *
- * COPYRIGHT
- *      This file is distributed under the terms of the GNU General Public
- *      License (GPL). Copies of the GPL can be obtained from:
- *              ftp://prep.ai.mit.edu/pub/gnu/GPL
- *      Each contributing author retains all rights to their own work.
- *
  *  (C) 1998-2001 Ben Fennema
  *
  * HISTORY
  *
  * 12/06/98 blf  Created file.
- *
  */
 
 #include "udfdecl.h"
--- a/fs/udf/super.c
+++ b/fs/udf/super.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * super.c
  *
@@ -14,12 +15,6 @@
  *    http://www.ecma.ch/
  *    http://www.iso.org/
  *
- * COPYRIGHT
- *  This file is distributed under the terms of the GNU General Public
- *  License (GPL). Copies of the GPL can be obtained from:
- *    ftp://prep.ai.mit.edu/pub/gnu/GPL
- *  Each contributing author retains all rights to their own work.
- *
  *  (C) 1998 Dave Boynton
  *  (C) 1998-2004 Ben Fennema
  *  (C) 2000 Stelias Computing Inc
--- a/fs/udf/symlink.c
+++ b/fs/udf/symlink.c
@@ -1,22 +1,16 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * symlink.c
  *
  * PURPOSE
  *	Symlink handling routines for the OSTA-UDF(tm) filesystem.
  *
- * COPYRIGHT
- *	This file is distributed under the terms of the GNU General Public
- *	License (GPL). Copies of the GPL can be obtained from:
- *		ftp://prep.ai.mit.edu/pub/gnu/GPL
- *	Each contributing author retains all rights to their own work.
- *
  *  (C) 1998-2001 Ben Fennema
  *  (C) 1999 Stelias Computing Inc
  *
  * HISTORY
  *
  *  04/16/99 blf  Created.
- *
  */
 
 #include "udfdecl.h"
--- a/fs/udf/truncate.c
+++ b/fs/udf/truncate.c
@@ -1,22 +1,16 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * truncate.c
  *
  * PURPOSE
  *	Truncate handling routines for the OSTA-UDF(tm) filesystem.
  *
- * COPYRIGHT
- *	This file is distributed under the terms of the GNU General Public
- *	License (GPL). Copies of the GPL can be obtained from:
- *		ftp://prep.ai.mit.edu/pub/gnu/GPL
- *	Each contributing author retains all rights to their own work.
- *
  *  (C) 1999-2004 Ben Fennema
  *  (C) 1999 Stelias Computing Inc
  *
  * HISTORY
  *
  *  02/24/99 blf  Created.
- *
  */
 
 #include "udfdecl.h"
--- a/fs/udf/unicode.c
+++ b/fs/udf/unicode.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * unicode.c
  *
@@ -10,12 +11,6 @@
  *		http://www.osta.org/
  *	UTF-8 is explained in the IETF RFC XXXX.
  *		ftp://ftp.internic.net/rfc/rfcxxxx.txt
- *
- * COPYRIGHT
- *	This file is distributed under the terms of the GNU General Public
- *	License (GPL). Copies of the GPL can be obtained from:
- *		ftp://prep.ai.mit.edu/pub/gnu/GPL
- *	Each contributing author retains all rights to their own work.
  */
 
 #include "udfdecl.h"



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 44/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 495
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (42 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 43/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 494 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:52   ` Enrico Weigelt, metux IT consult
  2019-06-04 21:12   ` Allison Randal
  2019-06-04  8:11 ` [Batch 17 patch 45/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 496 Thomas Gleixner
                   ` (12 subsequent siblings)
  56 siblings, 2 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the version 2 of the gnu general public
  license as published by the free software foundation this program is
  distributed in the hope that it will be useful but without any
  warranty without even the implied warranty of merchantability or
  fitness for a particular purpose see the gnu general public license
  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 10 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=8e4c87a9ae33
---
 drivers/net/can/cc770/cc770.c                 |   10 +---------
 drivers/net/can/cc770/cc770.h                 |   10 +---------
 drivers/net/can/cc770/cc770_isa.c             |   10 +---------
 drivers/net/can/cc770/cc770_platform.c        |   10 +---------
 drivers/net/can/peak_canfd/peak_canfd.c       |   10 +---------
 drivers/net/can/peak_canfd/peak_pciefd_main.c |   10 +---------
 drivers/net/can/sja1000/ems_pcmcia.c          |   10 +---------
 drivers/net/can/sja1000/peak_pci.c            |   10 +---------
 drivers/net/can/sja1000/peak_pcmcia.c         |   10 +---------
 include/linux/can/rx-offload.h                |   10 +---------
 10 files changed, 10 insertions(+), 90 deletions(-)

--- a/drivers/net/can/cc770/cc770.c
+++ b/drivers/net/can/cc770/cc770.c
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Core driver for the CC770 and AN82527 CAN controllers
  *
  * Copyright (C) 2009, 2011 Wolfgang Grandegger <wg@grandegger.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the version 2 of the GNU General Public License
- * as published by the Free Software Foundation
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
--- a/drivers/net/can/cc770/cc770.h
+++ b/drivers/net/can/cc770/cc770.h
@@ -1,16 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Core driver for the CC770 and AN82527 CAN controllers
  *
  * Copyright (C) 2009, 2011 Wolfgang Grandegger <wg@grandegger.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the version 2 of the GNU General Public License
- * as published by the Free Software Foundation
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
  */
 
 #ifndef CC770_DEV_H
--- a/drivers/net/can/cc770/cc770_isa.c
+++ b/drivers/net/can/cc770/cc770_isa.c
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Driver for CC770 and AN82527 CAN controllers on the legacy ISA bus
  *
  * Copyright (C) 2009, 2011 Wolfgang Grandegger <wg@grandegger.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the version 2 of the GNU General Public License
- * as published by the Free Software Foundation
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
  */
 
 /*
--- a/drivers/net/can/cc770/cc770_platform.c
+++ b/drivers/net/can/cc770/cc770_platform.c
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Driver for CC770 and AN82527 CAN controllers on the platform bus
  *
  * Copyright (C) 2009, 2011 Wolfgang Grandegger <wg@grandegger.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the version 2 of the GNU General Public License
- * as published by the Free Software Foundation
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
  */
 
 /*
--- a/drivers/net/can/peak_canfd/peak_canfd.c
+++ b/drivers/net/can/peak_canfd/peak_canfd.c
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2007, 2011 Wolfgang Grandegger <wg@grandegger.com>
  * Copyright (C) 2012 Stephane Grosjean <s.grosjean@peak-system.com>
  *
  * Copyright (C) 2016  PEAK System-Technik GmbH
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the version 2 of the GNU General Public License
- * as published by the Free Software Foundation
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
  */
 
 #include <linux/can.h>
--- a/drivers/net/can/peak_canfd/peak_pciefd_main.c
+++ b/drivers/net/can/peak_canfd/peak_pciefd_main.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2007, 2011 Wolfgang Grandegger <wg@grandegger.com>
  * Copyright (C) 2012 Stephane Grosjean <s.grosjean@peak-system.com>
@@ -5,15 +6,6 @@
  * Derived from the PCAN project file driver/src/pcan_pci.c:
  *
  * Copyright (C) 2001-2006  PEAK System-Technik GmbH
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the version 2 of the GNU General Public License
- * as published by the Free Software Foundation
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
  */
 
 #include <linux/kernel.h>
--- a/drivers/net/can/sja1000/ems_pcmcia.c
+++ b/drivers/net/can/sja1000/ems_pcmcia.c
@@ -1,16 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2008 Sebastian Haas (initial chardev implementation)
  * Copyright (C) 2010 Markus Plessing <plessing@ems-wuensche.com>
  * Rework for mainline by Oliver Hartkopp <socketcan@hartkopp.net>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the version 2 of the GNU General Public License
- * as published by the Free Software Foundation
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
  */
 
 #include <linux/kernel.h>
--- a/drivers/net/can/sja1000/peak_pci.c
+++ b/drivers/net/can/sja1000/peak_pci.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2007, 2011 Wolfgang Grandegger <wg@grandegger.com>
  * Copyright (C) 2012 Stephane Grosjean <s.grosjean@peak-system.com>
@@ -5,15 +6,6 @@
  * Derived from the PCAN project file driver/src/pcan_pci.c:
  *
  * Copyright (C) 2001-2006  PEAK System-Technik GmbH
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the version 2 of the GNU General Public License
- * as published by the Free Software Foundation
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
  */
 
 #include <linux/kernel.h>
--- a/drivers/net/can/sja1000/peak_pcmcia.c
+++ b/drivers/net/can/sja1000/peak_pcmcia.c
@@ -1,18 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2010-2012 Stephane Grosjean <s.grosjean@peak-system.com>
  *
  * CAN driver for PEAK-System PCAN-PC Card
  * Derived from the PCAN project file driver/src/pcan_pccard.c
  * Copyright (C) 2006-2010 PEAK System-Technik GmbH
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the version 2 of the GNU General Public License
- * as published by the Free Software Foundation
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
  */
 #include <linux/kernel.h>
 #include <linux/module.h>
--- a/include/linux/can/rx-offload.h
+++ b/include/linux/can/rx-offload.h
@@ -1,17 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * linux/can/rx-offload.h
  *
  * Copyright (c) 2014 David Jander, Protonic Holland
  * Copyright (c) 2014-2017 Pengutronix, Marc Kleine-Budde <kernel@pengutronix.de>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the version 2 of the GNU General Public License
- * as published by the Free Software Foundation
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
  */
 
 #ifndef _CAN_RX_OFFLOAD_H



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 45/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 496
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (43 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 44/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 495 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 10:31   ` Armijn Hemel - Tjaldur Software Governance Solutions
                     ` (2 more replies)
  2019-06-04  8:11 ` [Batch 17 patch 46/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 497 Thomas Gleixner
                   ` (11 subsequent siblings)
  56 siblings, 3 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  licensed under gpl v2

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=b6a5ae72aff1
---
 sound/soc/codecs/ics43432.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- a/sound/soc/codecs/ics43432.c
+++ b/sound/soc/codecs/ics43432.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * I2S MEMS microphone driver for InvenSense ICS-43432
  *
@@ -5,8 +6,6 @@
  * - I2S interface, 64 BCLs per frame, 32 bits per channel, 24 bit data
  *
  * Copyright (c) 2015 Axis Communications AB
- *
- * Licensed under GPL v2.
  */
 
 #include <linux/module.h>



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 46/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 497
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (44 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 45/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 496 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:53   ` Enrico Weigelt, metux IT consult
                     ` (2 more replies)
  2019-06-04  8:11 ` [Batch 17 patch 47/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 498 Thomas Gleixner
                   ` (10 subsequent siblings)
  56 siblings, 3 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this file is part of the linux kernel and is made available under
  the terms of the gnu general public license version 2

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=cba69b866091
---
 arch/x86/boot/a20.c                     |    4 +---
 arch/x86/boot/apm.c                     |    4 +---
 arch/x86/boot/bitops.h                  |    4 +---
 arch/x86/boot/boot.h                    |    4 +---
 arch/x86/boot/cmdline.c                 |    4 +---
 arch/x86/boot/compressed/eboot.c        |    4 +---
 arch/x86/boot/copy.S                    |    4 +---
 arch/x86/boot/cpu.c                     |    4 +---
 arch/x86/boot/cpucheck.c                |    4 +---
 arch/x86/boot/edd.c                     |    4 +---
 arch/x86/boot/main.c                    |    4 +---
 arch/x86/boot/memory.c                  |    4 +---
 arch/x86/boot/pm.c                      |    4 +---
 arch/x86/boot/pmjump.S                  |    4 +---
 arch/x86/boot/printf.c                  |    4 +---
 arch/x86/boot/string.c                  |    4 +---
 arch/x86/boot/tty.c                     |    4 +---
 arch/x86/boot/version.c                 |    4 +---
 arch/x86/boot/video-bios.c              |    4 +---
 arch/x86/boot/video-mode.c              |    4 +---
 arch/x86/boot/video-vesa.c              |    4 +---
 arch/x86/boot/video-vga.c               |    4 +---
 arch/x86/boot/video.c                   |    4 +---
 arch/x86/boot/video.h                   |    4 +---
 arch/x86/lib/cmdline.c                  |    3 +--
 drivers/block/skd_main.c                |    4 +---
 drivers/block/skd_s1120.h               |    4 +---
 drivers/firmware/efi/libstub/arm-stub.c |    5 +----
 28 files changed, 28 insertions(+), 84 deletions(-)

--- a/arch/x86/boot/a20.c
+++ b/arch/x86/boot/a20.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* -*- linux-c -*- ------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
  *   Copyright 2007-2008 rPath, Inc. - All Rights Reserved
  *   Copyright 2009 Intel Corporation; author H. Peter Anvin
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 /*
--- a/arch/x86/boot/apm.c
+++ b/arch/x86/boot/apm.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* -*- linux-c -*- ------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
@@ -7,9 +8,6 @@
  *   Original APM BIOS checking by Stephen Rothwell, May 1994
  *   (sfr@canb.auug.org.au)
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 /*
--- a/arch/x86/boot/bitops.h
+++ b/arch/x86/boot/bitops.h
@@ -1,11 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /* -*- linux-c -*- ------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
  *   Copyright 2007 rPath, Inc. - All Rights Reserved
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 /*
--- a/arch/x86/boot/boot.h
+++ b/arch/x86/boot/boot.h
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /* -*- linux-c -*- ------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
  *   Copyright 2007 rPath, Inc. - All Rights Reserved
  *   Copyright 2009 Intel Corporation; author H. Peter Anvin
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 /*
--- a/arch/x86/boot/cmdline.c
+++ b/arch/x86/boot/cmdline.c
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* -*- linux-c -*- ------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
  *   Copyright 2007 rPath, Inc. - All Rights Reserved
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 /*
--- a/arch/x86/boot/compressed/eboot.c
+++ b/arch/x86/boot/compressed/eboot.c
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 
 /* -----------------------------------------------------------------------
  *
  *   Copyright 2011 Intel Corporation; author Matt Fleming
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 #include <linux/efi.h>
--- a/arch/x86/boot/copy.S
+++ b/arch/x86/boot/copy.S
@@ -1,11 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /* ----------------------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
  *   Copyright 2007 rPath, Inc. - All Rights Reserved
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 #include <linux/linkage.h>
--- a/arch/x86/boot/cpu.c
+++ b/arch/x86/boot/cpu.c
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* -*- linux-c -*- ------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
  *   Copyright 2007-2008 rPath, Inc. - All Rights Reserved
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 /*
--- a/arch/x86/boot/cpucheck.c
+++ b/arch/x86/boot/cpucheck.c
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* -*- linux-c -*- ------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
  *   Copyright 2007 rPath, Inc. - All Rights Reserved
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 /*
--- a/arch/x86/boot/edd.c
+++ b/arch/x86/boot/edd.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* -*- linux-c -*- ------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
  *   Copyright 2007 rPath, Inc. - All Rights Reserved
  *   Copyright 2009 Intel Corporation; author H. Peter Anvin
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 /*
--- a/arch/x86/boot/main.c
+++ b/arch/x86/boot/main.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* -*- linux-c -*- ------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
  *   Copyright 2007 rPath, Inc. - All Rights Reserved
  *   Copyright 2009 Intel Corporation; author H. Peter Anvin
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 /*
--- a/arch/x86/boot/memory.c
+++ b/arch/x86/boot/memory.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* -*- linux-c -*- ------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
  *   Copyright 2007 rPath, Inc. - All Rights Reserved
  *   Copyright 2009 Intel Corporation; author H. Peter Anvin
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 /*
--- a/arch/x86/boot/pm.c
+++ b/arch/x86/boot/pm.c
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* -*- linux-c -*- ------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
  *   Copyright 2007 rPath, Inc. - All Rights Reserved
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 /*
--- a/arch/x86/boot/pmjump.S
+++ b/arch/x86/boot/pmjump.S
@@ -1,11 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /* ----------------------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
  *   Copyright 2007 rPath, Inc. - All Rights Reserved
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 /*
--- a/arch/x86/boot/printf.c
+++ b/arch/x86/boot/printf.c
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* -*- linux-c -*- ------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
  *   Copyright 2007 rPath, Inc. - All Rights Reserved
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 /*
--- a/arch/x86/boot/string.c
+++ b/arch/x86/boot/string.c
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* -*- linux-c -*- ------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
  *   Copyright 2007 rPath, Inc. - All Rights Reserved
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 /*
--- a/arch/x86/boot/tty.c
+++ b/arch/x86/boot/tty.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* -*- linux-c -*- ------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
  *   Copyright 2007 rPath, Inc. - All Rights Reserved
  *   Copyright 2009 Intel Corporation; author H. Peter Anvin
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 /*
--- a/arch/x86/boot/version.c
+++ b/arch/x86/boot/version.c
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* -*- linux-c -*- ------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
  *   Copyright 2007 rPath, Inc. - All Rights Reserved
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 /*
--- a/arch/x86/boot/video-bios.c
+++ b/arch/x86/boot/video-bios.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* -*- linux-c -*- ------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
  *   Copyright 2007 rPath, Inc. - All Rights Reserved
  *   Copyright 2009 Intel Corporation; author H. Peter Anvin
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 /*
--- a/arch/x86/boot/video-mode.c
+++ b/arch/x86/boot/video-mode.c
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* -*- linux-c -*- ------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
  *   Copyright 2007-2008 rPath, Inc. - All Rights Reserved
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 /*
--- a/arch/x86/boot/video-vesa.c
+++ b/arch/x86/boot/video-vesa.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* -*- linux-c -*- ------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
  *   Copyright 2007 rPath, Inc. - All Rights Reserved
  *   Copyright 2009 Intel Corporation; author H. Peter Anvin
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 /*
--- a/arch/x86/boot/video-vga.c
+++ b/arch/x86/boot/video-vga.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* -*- linux-c -*- ------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
  *   Copyright 2007 rPath, Inc. - All Rights Reserved
  *   Copyright 2009 Intel Corporation; author H. Peter Anvin
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 /*
--- a/arch/x86/boot/video.c
+++ b/arch/x86/boot/video.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* -*- linux-c -*- ------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
  *   Copyright 2007 rPath, Inc. - All Rights Reserved
  *   Copyright 2009 Intel Corporation; author H. Peter Anvin
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 /*
--- a/arch/x86/boot/video.h
+++ b/arch/x86/boot/video.h
@@ -1,11 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /* -*- linux-c -*- ------------------------------------------------------- *
  *
  *   Copyright (C) 1991, 1992 Linus Torvalds
  *   Copyright 2007 rPath, Inc. - All Rights Reserved
  *
- *   This file is part of the Linux kernel, and is made available under
- *   the terms of the GNU General Public License version 2.
- *
  * ----------------------------------------------------------------------- */
 
 /*
--- a/arch/x86/lib/cmdline.c
+++ b/arch/x86/lib/cmdline.c
@@ -1,6 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
- * This file is part of the Linux kernel, and is made available under
- * the terms of the GNU General Public License version 2.
  *
  * Misc librarized functions for cmdline poking.
  */
--- a/drivers/block/skd_main.c
+++ b/drivers/block/skd_main.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Driver for sTec s1120 PCIe SSDs. sTec was acquired in 2013 by HGST and HGST
  * was acquired by Western Digital in 2012.
  *
  * Copyright 2012 sTec, Inc.
  * Copyright (c) 2017 Western Digital Corporation or its affiliates.
- *
- * This file is part of the Linux kernel, and is made available under
- * the terms of the GNU General Public License version 2.
  */
 
 #include <linux/kernel.h>
--- a/drivers/block/skd_s1120.h
+++ b/drivers/block/skd_s1120.h
@@ -1,9 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright 2012 STEC, Inc.
  * Copyright (c) 2017 Western Digital Corporation or its affiliates.
- *
- * This file is part of the Linux kernel, and is made available under
- * the terms of the GNU General Public License version 2.
  */
 
 
--- a/drivers/firmware/efi/libstub/arm-stub.c
+++ b/drivers/firmware/efi/libstub/arm-stub.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * EFI stub implementation that is shared by arm and arm64 architectures.
  * This should be #included by the EFI stub implementation files.
@@ -6,10 +7,6 @@
  *     Roy Franz <roy.franz@linaro.org
  * Copyright (C) 2013 Red Hat, Inc.
  *     Mark Salter <msalter@redhat.com>
- *
- * This file is part of the Linux kernel, and is made available under the
- * terms of the GNU General Public License version 2.
- *
  */
 
 #include <linux/efi.h>



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 47/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 498
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (45 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 46/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 497 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 10:32   ` Armijn Hemel - Tjaldur Software Governance Solutions
                     ` (3 more replies)
  2019-06-04  8:11 ` [Batch 17 patch 48/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 499 Thomas Gleixner
                   ` (9 subsequent siblings)
  56 siblings, 4 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  gplv2 only

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=aa4e29666fdd
---
 include/dt-bindings/dma/at91.h        |    3 +--
 include/dt-bindings/i2c/i2c.h         |    3 +--
 include/dt-bindings/pinctrl/at91.h    |    3 +--
 include/dt-bindings/thermal/thermal.h |    3 +--
 4 files changed, 4 insertions(+), 8 deletions(-)

--- a/include/dt-bindings/dma/at91.h
+++ b/include/dt-bindings/dma/at91.h
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * This header provides macros for at91 dma bindings.
  *
  * Copyright (C) 2013 Ludovic Desroches <ludovic.desroches@atmel.com>
- *
- * GPLv2 only
  */
 
 #ifndef __DT_BINDINGS_AT91_DMA_H__
--- a/include/dt-bindings/i2c/i2c.h
+++ b/include/dt-bindings/i2c/i2c.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * This header provides constants for I2C bindings
  *
@@ -5,8 +6,6 @@
  * Copyright (C) 2015 by Renesas Electronics Corporation
  *
  * Wolfram Sang <wsa@sang-engineering.com>
- *
- * GPLv2 only
  */
 
 #ifndef _DT_BINDINGS_I2C_I2C_H
--- a/include/dt-bindings/pinctrl/at91.h
+++ b/include/dt-bindings/pinctrl/at91.h
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * This header provides constants for most at91 pinctrl bindings.
  *
  * Copyright (C) 2013 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
- *
- * GPLv2 only
  */
 
 #ifndef __DT_BINDINGS_AT91_PINCTRL_H__
--- a/include/dt-bindings/thermal/thermal.h
+++ b/include/dt-bindings/thermal/thermal.h
@@ -1,10 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * This header provides constants for most thermal bindings.
  *
  * Copyright (C) 2013 Texas Instruments
  *	Eduardo Valentin <eduardo.valentin@ti.com>
- *
- * GPLv2 only
  */
 
 #ifndef _DT_BINDINGS_THERMAL_THERMAL_H



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 48/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 499
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (46 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 47/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 498 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:56   ` Enrico Weigelt, metux IT consult
                     ` (2 more replies)
  2019-06-04  8:11 ` [Batch 17 patch 49/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 Thomas Gleixner
                   ` (8 subsequent siblings)
  56 siblings, 3 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this work is licensed under the terms of the gnu gpl version 2 see
  the copying file in the top level directory

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=7336b2e4a635
---
 arch/x86/include/asm/kvm_host.h          |    5 +----
 arch/x86/include/asm/virtext.h           |    4 +---
 arch/x86/kvm/cpuid.c                     |    5 +----
 arch/x86/kvm/debugfs.c                   |    5 +----
 arch/x86/kvm/emulate.c                   |    4 +---
 arch/x86/kvm/hyperv.c                    |    5 +----
 arch/x86/kvm/hyperv.h                    |    5 +----
 arch/x86/kvm/lapic.c                     |    4 +---
 arch/x86/kvm/mmu.c                       |    5 +----
 arch/x86/kvm/mmu_audit.c                 |    5 +----
 arch/x86/kvm/mtrr.c                      |    4 +---
 arch/x86/kvm/page_track.c                |    4 +---
 arch/x86/kvm/paging_tmpl.h               |    5 +----
 arch/x86/kvm/pmu.c                       |    5 +----
 arch/x86/kvm/pmu_amd.c                   |    4 +---
 arch/x86/kvm/svm.c                       |    5 +----
 arch/x86/kvm/vmx/pmu_intel.c             |    5 +----
 arch/x86/kvm/vmx/vmx.c                   |    5 +----
 arch/x86/kvm/x86.c                       |    5 +----
 fs/squashfs/decompressor_multi.c         |    4 +---
 fs/squashfs/decompressor_multi_percpu.c  |    4 +---
 fs/squashfs/decompressor_single.c        |    4 +---
 fs/squashfs/file_cache.c                 |    4 +---
 fs/squashfs/file_direct.c                |    4 +---
 fs/squashfs/lz4_wrapper.c                |    4 +---
 fs/squashfs/page_actor.c                 |    4 +---
 fs/squashfs/page_actor.h                 |    4 +---
 fs/userfaultfd.c                         |    4 +---
 include/linux/kvm_host.h                 |    5 +----
 mm/huge_memory.c                         |    4 +---
 mm/mmu_notifier.c                        |    4 +---
 mm/userfaultfd.c                         |    4 +---
 tools/kvm/kvm_stat/kvm_stat              |    3 +--
 tools/testing/selftests/vm/userfaultfd.c |    4 +---
 virt/kvm/kvm_main.c                      |    5 +----
 35 files changed, 35 insertions(+), 119 deletions(-)

--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Kernel-based Virtual Machine driver for Linux
  *
  * This header defines architecture specific interfaces, x86 version
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- *
  */
 
 #ifndef _ASM_X86_KVM_HOST_H
--- a/arch/x86/include/asm/virtext.h
+++ b/arch/x86/include/asm/virtext.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /* CPU virtualization extensions handling
  *
  * This should carry the code for handling CPU virtualization extensions
@@ -8,9 +9,6 @@
  * Copyright (C) 2008, Red Hat Inc.
  *
  * Contains code from KVM, Copyright (C) 2006 Qumranet, Inc.
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
  */
 #ifndef _ASM_X86_VIRTEX_H
 #define _ASM_X86_VIRTEX_H
--- a/arch/x86/kvm/cpuid.c
+++ b/arch/x86/kvm/cpuid.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Kernel-based Virtual Machine driver for Linux
  * cpuid support routines
@@ -6,10 +7,6 @@
  *
  * Copyright 2011 Red Hat, Inc. and/or its affiliates.
  * Copyright IBM Corporation, 2008
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- *
  */
 
 #include <linux/kvm_host.h>
--- a/arch/x86/kvm/debugfs.c
+++ b/arch/x86/kvm/debugfs.c
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Kernel-based Virtual Machine driver for Linux
  *
  * Copyright 2016 Red Hat, Inc. and/or its affiliates.
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- *
  */
 #include <linux/kvm_host.h>
 #include <linux/debugfs.h>
--- a/arch/x86/kvm/emulate.c
+++ b/arch/x86/kvm/emulate.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /******************************************************************************
  * emulate.c
  *
@@ -14,9 +15,6 @@
  *   Avi Kivity <avi@qumranet.com>
  *   Yaniv Kamay <yaniv@qumranet.com>
  *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- *
  * From: xen-unstable 10676:af9809f51f81a3c43f276f00c81a52ef558afda4
  */
 
--- a/arch/x86/kvm/hyperv.c
+++ b/arch/x86/kvm/hyperv.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * KVM Microsoft Hyper-V emulation
  *
@@ -15,10 +16,6 @@
  *   Amit Shah    <amit.shah@qumranet.com>
  *   Ben-Ami Yassour <benami@il.ibm.com>
  *   Andrey Smetanin <asmetanin@virtuozzo.com>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- *
  */
 
 #include "x86.h"
--- a/arch/x86/kvm/hyperv.h
+++ b/arch/x86/kvm/hyperv.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * KVM Microsoft Hyper-V emulation
  *
@@ -15,10 +16,6 @@
  *   Amit Shah    <amit.shah@qumranet.com>
  *   Ben-Ami Yassour <benami@il.ibm.com>
  *   Andrey Smetanin <asmetanin@virtuozzo.com>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- *
  */
 
 #ifndef __ARCH_X86_KVM_HYPERV_H__
--- a/arch/x86/kvm/lapic.c
+++ b/arch/x86/kvm/lapic.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 
 /*
  * Local APIC virtualization
@@ -13,9 +14,6 @@
  *   Yaozu (Eddie) Dong <eddie.dong@intel.com>
  *
  * Based on Xen 3.1 code, Copyright (c) 2004, Intel Corporation.
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
  */
 
 #include <linux/kvm_host.h>
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Kernel-based Virtual Machine driver for Linux
  *
@@ -12,10 +13,6 @@
  * Authors:
  *   Yaniv Kamay  <yaniv@qumranet.com>
  *   Avi Kivity   <avi@qumranet.com>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- *
  */
 
 #include "irq.h"
--- a/arch/x86/kvm/mmu_audit.c
+++ b/arch/x86/kvm/mmu_audit.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * mmu_audit.c:
  *
@@ -11,10 +12,6 @@
  *   Avi Kivity   <avi@qumranet.com>
  *   Marcelo Tosatti <mtosatti@redhat.com>
  *   Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- *
  */
 
 #include <linux/ratelimit.h>
--- a/arch/x86/kvm/mtrr.c
+++ b/arch/x86/kvm/mtrr.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * vMTRR implementation
  *
@@ -11,9 +12,6 @@
  *   Marcelo Tosatti <mtosatti@redhat.com>
  *   Paolo Bonzini <pbonzini@redhat.com>
  *   Xiao Guangrong <guangrong.xiao@linux.intel.com>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
  */
 
 #include <linux/kvm_host.h>
--- a/arch/x86/kvm/page_track.c
+++ b/arch/x86/kvm/page_track.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Support KVM gust page tracking
  *
@@ -8,9 +9,6 @@
  *
  * Author:
  *   Xiao Guangrong <guangrong.xiao@linux.intel.com>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
  */
 
 #include <linux/kvm_host.h>
--- a/arch/x86/kvm/paging_tmpl.h
+++ b/arch/x86/kvm/paging_tmpl.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Kernel-based Virtual Machine driver for Linux
  *
@@ -12,10 +13,6 @@
  * Authors:
  *   Yaniv Kamay  <yaniv@qumranet.com>
  *   Avi Kivity   <avi@qumranet.com>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- *
  */
 
 /*
--- a/arch/x86/kvm/pmu.c
+++ b/arch/x86/kvm/pmu.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Kernel-based Virtual Machine -- Performance Monitoring Unit support
  *
@@ -7,10 +8,6 @@
  *   Avi Kivity   <avi@redhat.com>
  *   Gleb Natapov <gleb@redhat.com>
  *   Wei Huang    <wei@redhat.com>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- *
  */
 
 #include <linux/types.h>
--- a/arch/x86/kvm/pmu_amd.c
+++ b/arch/x86/kvm/pmu_amd.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * KVM PMU support for AMD
  *
@@ -6,9 +7,6 @@
  * Author:
  *   Wei Huang <wei@redhat.com>
  *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- *
  * Implementation is based on pmu_intel.c file
  */
 #include <linux/types.h>
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Kernel-based Virtual Machine driver for Linux
  *
@@ -9,10 +10,6 @@
  * Authors:
  *   Yaniv Kamay  <yaniv@qumranet.com>
  *   Avi Kivity   <avi@qumranet.com>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- *
  */
 
 #define pr_fmt(fmt) "SVM: " fmt
--- a/arch/x86/kvm/vmx/pmu_intel.c
+++ b/arch/x86/kvm/vmx/pmu_intel.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * KVM PMU support for Intel CPUs
  *
@@ -6,10 +7,6 @@
  * Authors:
  *   Avi Kivity   <avi@redhat.com>
  *   Gleb Natapov <gleb@redhat.com>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- *
  */
 #include <linux/types.h>
 #include <linux/kvm_host.h>
--- a/arch/x86/kvm/vmx/vmx.c
+++ b/arch/x86/kvm/vmx/vmx.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Kernel-based Virtual Machine driver for Linux
  *
@@ -10,10 +11,6 @@
  * Authors:
  *   Avi Kivity   <avi@qumranet.com>
  *   Yaniv Kamay  <yaniv@qumranet.com>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- *
  */
 
 #include <linux/frame.h>
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Kernel-based Virtual Machine driver for Linux
  *
@@ -13,10 +14,6 @@
  *   Yaniv Kamay  <yaniv@qumranet.com>
  *   Amit Shah    <amit.shah@qumranet.com>
  *   Ben-Ami Yassour <benami@il.ibm.com>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- *
  */
 
 #include <linux/kvm_host.h>
--- a/fs/squashfs/decompressor_multi.c
+++ b/fs/squashfs/decompressor_multi.c
@@ -1,9 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  Copyright (c) 2013
  *  Minchan Kim <minchan@kernel.org>
- *
- *  This work is licensed under the terms of the GNU GPL, version 2. See
- *  the COPYING file in the top-level directory.
  */
 #include <linux/types.h>
 #include <linux/mutex.h>
--- a/fs/squashfs/decompressor_multi_percpu.c
+++ b/fs/squashfs/decompressor_multi_percpu.c
@@ -1,9 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2013
  * Phillip Lougher <phillip@squashfs.org.uk>
- *
- * This work is licensed under the terms of the GNU GPL, version 2. See
- * the COPYING file in the top-level directory.
  */
 
 #include <linux/types.h>
--- a/fs/squashfs/decompressor_single.c
+++ b/fs/squashfs/decompressor_single.c
@@ -1,9 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2013
  * Phillip Lougher <phillip@squashfs.org.uk>
- *
- * This work is licensed under the terms of the GNU GPL, version 2. See
- * the COPYING file in the top-level directory.
  */
 
 #include <linux/types.h>
--- a/fs/squashfs/file_cache.c
+++ b/fs/squashfs/file_cache.c
@@ -1,9 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2013
  * Phillip Lougher <phillip@squashfs.org.uk>
- *
- * This work is licensed under the terms of the GNU GPL, version 2. See
- * the COPYING file in the top-level directory.
  */
 
 #include <linux/fs.h>
--- a/fs/squashfs/file_direct.c
+++ b/fs/squashfs/file_direct.c
@@ -1,9 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2013
  * Phillip Lougher <phillip@squashfs.org.uk>
- *
- * This work is licensed under the terms of the GNU GPL, version 2. See
- * the COPYING file in the top-level directory.
  */
 
 #include <linux/fs.h>
--- a/fs/squashfs/lz4_wrapper.c
+++ b/fs/squashfs/lz4_wrapper.c
@@ -1,9 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2013, 2014
  * Phillip Lougher <phillip@squashfs.org.uk>
- *
- * This work is licensed under the terms of the GNU GPL, version 2. See
- * the COPYING file in the top-level directory.
  */
 
 #include <linux/buffer_head.h>
--- a/fs/squashfs/page_actor.c
+++ b/fs/squashfs/page_actor.c
@@ -1,9 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2013
  * Phillip Lougher <phillip@squashfs.org.uk>
- *
- * This work is licensed under the terms of the GNU GPL, version 2. See
- * the COPYING file in the top-level directory.
  */
 
 #include <linux/kernel.h>
--- a/fs/squashfs/page_actor.h
+++ b/fs/squashfs/page_actor.h
@@ -1,11 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 #ifndef PAGE_ACTOR_H
 #define PAGE_ACTOR_H
 /*
  * Copyright (c) 2013
  * Phillip Lougher <phillip@squashfs.org.uk>
- *
- * This work is licensed under the terms of the GNU GPL, version 2. See
- * the COPYING file in the top-level directory.
  */
 
 #ifndef CONFIG_SQUASHFS_FILE_DIRECT
--- a/fs/userfaultfd.c
+++ b/fs/userfaultfd.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  fs/userfaultfd.c
  *
@@ -5,9 +6,6 @@
  *  Copyright (C) 2008-2009 Red Hat, Inc.
  *  Copyright (C) 2015  Red Hat, Inc.
  *
- *  This work is licensed under the terms of the GNU GPL, version 2. See
- *  the COPYING file in the top-level directory.
- *
  *  Some part derived from fs/eventfd.c (anon inode setup) and
  *  mm/ksm.c (mm hashing).
  */
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -1,10 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 #ifndef __KVM_HOST_H
 #define __KVM_HOST_H
 
-/*
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- */
 
 #include <linux/types.h>
 #include <linux/hardirq.h>
--- a/mm/huge_memory.c
+++ b/mm/huge_memory.c
@@ -1,8 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  Copyright (C) 2009  Red Hat, Inc.
- *
- *  This work is licensed under the terms of the GNU GPL, version 2. See
- *  the COPYING file in the top-level directory.
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
--- a/mm/mmu_notifier.c
+++ b/mm/mmu_notifier.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  linux/mm/mmu_notifier.c
  *
  *  Copyright (C) 2008  Qumranet, Inc.
  *  Copyright (C) 2008  SGI
  *             Christoph Lameter <cl@linux.com>
- *
- *  This work is licensed under the terms of the GNU GPL, version 2. See
- *  the COPYING file in the top-level directory.
  */
 
 #include <linux/rculist.h>
--- a/mm/userfaultfd.c
+++ b/mm/userfaultfd.c
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  mm/userfaultfd.c
  *
  *  Copyright (C) 2015  Red Hat, Inc.
- *
- *  This work is licensed under the terms of the GNU GPL, version 2. See
- *  the COPYING file in the top-level directory.
  */
 
 #include <linux/mm.h>
--- a/tools/kvm/kvm_stat/kvm_stat
+++ b/tools/kvm/kvm_stat/kvm_stat
@@ -1,4 +1,5 @@
 #!/usr/bin/env python3
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # top-like utility for displaying kvm statistics
 #
@@ -8,8 +9,6 @@
 # Authors:
 #  Avi Kivity <avi@redhat.com>
 #
-# This work is licensed under the terms of the GNU GPL, version 2.  See
-# the COPYING file in the top-level directory.
 """The kvm_stat module outputs statistics about running KVM VMs
 
 Three different ways of output formatting are available:
--- a/tools/testing/selftests/vm/userfaultfd.c
+++ b/tools/testing/selftests/vm/userfaultfd.c
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Stress userfaultfd syscall.
  *
  *  Copyright (C) 2015  Red Hat, Inc.
  *
- *  This work is licensed under the terms of the GNU GPL, version 2. See
- *  the COPYING file in the top-level directory.
- *
  * This test allocates two virtual areas and bounces the physical
  * memory across the two virtual areas (from area_src to area_dst)
  * using userfaultfd.
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Kernel-based Virtual Machine driver for Linux
  *
@@ -10,10 +11,6 @@
  * Authors:
  *   Avi Kivity   <avi@qumranet.com>
  *   Yaniv Kamay  <yaniv@qumranet.com>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- *
  */
 
 #include <kvm/iodev.h>



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 49/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (47 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 48/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 499 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:57   ` Enrico Weigelt, metux IT consult
                     ` (3 more replies)
  2019-06-04  8:11 ` [Batch 17 patch 50/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 501 Thomas Gleixner
                   ` (7 subsequent siblings)
  56 siblings, 4 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 2 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license version 2 as
  published by the free software foundation

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license version 2 as
  published by the free software foundation #

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=5789687aed34
---
 arch/arc/Kconfig                                                     |    5 +----
 arch/arc/Makefile                                                    |    5 +----
 arch/arc/boot/dts/axc001.dtsi                                        |    5 +----
 arch/arc/boot/dts/axc003.dtsi                                        |    5 +----
 arch/arc/boot/dts/axc003_idu.dtsi                                    |    5 +----
 arch/arc/boot/dts/axs101.dts                                         |    5 +----
 arch/arc/boot/dts/axs103.dts                                         |    5 +----
 arch/arc/boot/dts/axs103_idu.dts                                     |    5 +----
 arch/arc/boot/dts/axs10x_mb.dtsi                                     |    5 +----
 arch/arc/boot/dts/haps_hs.dts                                        |    5 +----
 arch/arc/boot/dts/haps_hs_idu.dts                                    |    5 +----
 arch/arc/boot/dts/hsdk.dts                                           |    5 +----
 arch/arc/boot/dts/nsim_700.dts                                       |    5 +----
 arch/arc/boot/dts/nsim_hs.dts                                        |    5 +----
 arch/arc/boot/dts/nsim_hs_idu.dts                                    |    5 +----

<SNIP>

 arch/x86/mm/mem_encrypt_boot.S                                       |    5 +----
 arch/x86/mm/mem_encrypt_identity.c                                   |    5 +----
 arch/x86/platform/geode/alix.c                                       |    6 +-----
 arch/x86/platform/geode/geos.c                                       |    5 +----
 arch/x86/platform/geode/net5501.c                                    |    6 +-----
 arch/x86/um/delay.c                                                  |    5 +----
 arch/x86/um/mem_32.c                                                 |    5 +----
 arch/x86/um/vdso/um_vdso.c                                           |    5 +----
 arch/x86/um/vdso/vma.c                                               |    5 +----
 arch/xtensa/boot/boot-elf/boot.lds.S                                 |    5 +----
 arch/xtensa/include/asm/futex.h                                      |    5 +----
 arch/xtensa/include/asm/pgalloc.h                                    |    5 +----
 arch/xtensa/include/asm/pgtable.h                                    |    5 +----
 arch/xtensa/kernel/perf_event.c                                      |    5 +----
 arch/xtensa/mm/ioremap.c                                             |    5 +----
 crypto/aes_ti.c                                                      |    5 +----
 crypto/gcm.c                                                         |    5 +----
 crypto/ghash-generic.c                                               |    5 +----
 crypto/michael_mic.c                                                 |    5 +----
 drivers/acpi/acpi_amba.c                                             |    5 +----
 drivers/acpi/acpi_apd.c                                              |    5 +----
 drivers/acpi/acpi_cmos_rtc.c                                         |    5 +----
 drivers/acpi/acpi_configfs.c                                         |    5 +----

<SNIP>

 drivers/watchdog/mt7621_wdt.c                                        |    5 +----
 drivers/watchdog/rt2880_wdt.c                                        |    5 +----
 drivers/watchdog/txx9wdt.c                                           |    5 +----
 drivers/watchdog/wdat_wdt.c                                          |    5 +----
 drivers/xen/sys-hypervisor.c                                         |    5 +----
 fs/adfs/dir.c                                                        |    5 +----
 fs/adfs/dir_f.c                                                      |    5 +----
 fs/adfs/dir_f.h                                                      |    5 +----
 fs/adfs/dir_fplus.c                                                  |    5 +----
 fs/adfs/dir_fplus.h                                                  |    5 +----
 fs/adfs/inode.c                                                      |    5 +----
 fs/adfs/map.c                                                        |    5 +----
 fs/adfs/super.c                                                      |    5 +----
 fs/compat.c                                                          |    5 +----
 fs/efivarfs/file.c                                                   |    5 +----
 fs/efivarfs/inode.c                                                  |    5 +----
 fs/efivarfs/internal.h                                               |    5 +----
 fs/efivarfs/super.c                                                  |    5 +----
 fs/overlayfs/copy_up.c                                               |    5 +----
 fs/overlayfs/dir.c                                                   |    5 +----
 fs/overlayfs/export.c                                                |    5 +----
 fs/overlayfs/file.c                                                  |    5 +----
 fs/overlayfs/inode.c                                                 |    5 +----
 fs/overlayfs/namei.c                                                 |    5 +----
 fs/overlayfs/overlayfs.h                                             |    5 +----
 fs/overlayfs/ovl_entry.h                                             |    5 +----
 fs/overlayfs/readdir.c                                               |    5 +----
 fs/overlayfs/super.c                                                 |    5 +----
 fs/overlayfs/util.c                                                  |    5 +----
 fs/tracefs/inode.c                                                   |    6 +-----
 include/asm-generic/ftrace.h                                         |    5 +----
 include/asm-generic/seccomp.h                                        |    5 +----
 include/crypto/sha1_base.h                                           |    5 +----
 include/crypto/sha256_base.h                                         |    5 +----
 include/crypto/sha512_base.h                                         |    5 +----
 include/drm/bridge/mhl.h                                             |    5 +----
 include/drm/drm_mipi_dsi.h                                           |    5 +----
 include/dt-bindings/clock/ath79-clk.h                                |    6 +-----
 include/dt-bindings/clock/axis,artpec6-clkctrl.h                     |    5 +----
 include/dt-bindings/clock/clps711x-clock.h                           |    6 +-----

<SNIP>

 include/video/platform_lcd.h                                         |    6 +-----
 include/video/pxa168fb.h                                             |    5 +----
 include/video/samsung_fimd.h                                         |    5 +----
 include/video/w100fb.h                                               |    5 +----
 kernel/bpf/inode.c                                                   |    5 +----
 kernel/compat.c                                                      |    5 +----
 kernel/sched/debug.c                                                 |    5 +----
 lib/clz_ctz.c                                                        |    4 +---
 lib/cpu_rmap.c                                                       |    5 +----
 lib/decompress_unlz4.c                                               |    5 +----
 lib/jedec_ddr_data.c                                                 |    5 +----
 lib/raid6/neon.c                                                     |    5 +----
 lib/rhashtable.c                                                     |    5 +----
 lib/test_kasan.c                                                     |    6 +-----
 lib/test_rhashtable.c                                                |    5 +----
 lib/ubsan.c                                                          |    6 +-----
 mm/usercopy.c                                                        |    6 +-----
 mm/vmpressure.c                                                      |    5 +----
 net/802/garp.c                                                       |    5 +----
 net/802/mrp.c                                                        |    5 +----
 net/802/stp.c                                                        |    5 +----

<SNIP>

 net/sched/sch_sfb.c                                                  |    6 +-----
 net/strparser/strparser.c                                            |    5 +----
 net/wireless/debugfs.c                                               |    5 +----
 net/wireless/ocb.c                                                   |    5 +----
 samples/vfio-mdev/mtty.c                                             |    6 +-----
 scripts/adjust_autoksyms.sh                                          |    4 +---
 security/inode.c                                                     |    5 +----
 security/lsm_audit.c                                                 |    5 +----
 security/selinux/avc.c                                               |    5 +----
 security/selinux/hooks.c                                             |    5 +----
 security/selinux/include/audit.h                                     |    5 +----
 security/selinux/include/netif.h                                     |    5 +----
 security/selinux/include/objsec.h                                    |    5 +----
 security/selinux/netif.c                                             |    5 +----
 security/selinux/netlink.c                                           |    5 +----
 security/selinux/nlmsgtab.c                                          |    5 +----
 security/selinux/ss/status.c                                         |    5 +----
 security/selinux/xfrm.c                                              |    5 +----
 security/smack/smack_lsm.c                                           |    5 +----
 security/smack/smack_netfilter.c                                     |    5 +----
 security/yama/yama_lsm.c                                             |    6 +-----
 sound/ac97/ac97_core.h                                               |    5 +----
 sound/ac97/bus.c                                                     |    5 +----
 sound/ac97/codec.c                                                   |    5 +----
 sound/ac97/snd_ac97_compat.c                                         |    5 +----

<SNIP>

 sound/soc/ux500/ux500_msp_i2s.h                                      |    5 +----
 sound/soc/ux500/ux500_pcm.c                                          |    5 +----
 sound/soc/ux500/ux500_pcm.h                                          |    5 +----
 sound/soc/xtensa/xtfpga-i2s.c                                        |    5 +----
 sound/spi/at73c213.c                                                 |    5 +----
 tools/firmware/ihex2fw.c                                             |    5 +----
 tools/gpio/gpio-event-mon.c                                          |    5 +----
 tools/gpio/gpio-hammer.c                                             |    5 +----
 tools/gpio/gpio-utils.c                                              |    5 +----
 tools/gpio/gpio-utils.h                                              |    4 +---
 tools/gpio/lsgpio.c                                                  |    5 +----
 tools/iio/iio_event_monitor.c                                        |    5 +----
 tools/iio/iio_generic_buffer.c                                       |    6 +-----
 tools/iio/iio_utils.c                                                |    5 +----
 tools/iio/iio_utils.h                                                |    5 +----
 tools/iio/lsiio.c                                                    |    5 +----
 tools/perf/arch/arm/util/dwarf-regs.c                                |    5 +----
 tools/perf/arch/arm64/util/dwarf-regs.c                              |    5 +----
 tools/perf/arch/arm64/util/sym-handling.c                            |    4 +---
 tools/perf/arch/powerpc/util/sym-handling.c                          |    4 +---
 tools/perf/util/namespaces.c                                         |    4 +---
 tools/perf/util/namespaces.h                                         |    4 +---
 tools/power/acpi/tools/acpidbg/acpidbg.c                             |    5 +----
 tools/testing/selftests/gpio/gpio-mockup-chardev.c                   |    5 +----
 tools/testing/selftests/ia64/aliasing-test.c                         |    5 +----
 tools/testing/selftests/powerpc/dscr/dscr.h                          |    5 +----
 tools/testing/selftests/powerpc/dscr/dscr_default_test.c             |    5 +----
 tools/testing/selftests/powerpc/dscr/dscr_explicit_test.c            |    5 +----
 tools/testing/selftests/powerpc/dscr/dscr_inherit_exec_test.c        |    5 +----
 tools/testing/selftests/powerpc/dscr/dscr_inherit_test.c             |    5 +----
 tools/testing/selftests/powerpc/dscr/dscr_sysfs_test.c               |    5 +----
 tools/testing/selftests/powerpc/dscr/dscr_sysfs_thread_test.c        |    5 +----
 tools/testing/selftests/powerpc/dscr/dscr_user_test.c                |    5 +----
 tools/wmi/dell-smbios-example.c                                      |    5 +----
 virt/kvm/vfio.c                                                      |    5 +----
 virt/lib/irqbypass.c                                                 |    5 +----
 4119 files changed, 4119 insertions(+), 17022 deletions(-)

--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -1,10 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
 
 config ARC
 	def_bool y
--- a/arch/arc/Makefile
+++ b/arch/arc/Makefile
@@ -1,10 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
 #
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
-#
 
 KBUILD_DEFCONFIG := nsim_hs_defconfig
 
--- a/arch/arc/boot/dts/axc001.dtsi
+++ b/arch/arc/boot/dts/axc001.dtsi
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 /*
--- a/arch/arc/boot/dts/axc003.dtsi
+++ b/arch/arc/boot/dts/axc003.dtsi
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 /*
--- a/arch/arc/boot/dts/axc003_idu.dtsi
+++ b/arch/arc/boot/dts/axc003_idu.dtsi
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2014, 2015 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 /*
--- a/arch/arc/boot/dts/axs101.dts
+++ b/arch/arc/boot/dts/axs101.dts
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com)
  *
  * ARC AXS101 S/W development platform
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 /dts-v1/;
 
--- a/arch/arc/boot/dts/axs103.dts
+++ b/arch/arc/boot/dts/axs103.dts
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 /*
--- a/arch/arc/boot/dts/axs103_idu.dts
+++ b/arch/arc/boot/dts/axs103_idu.dts
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 /*
--- a/arch/arc/boot/dts/axs10x_mb.dtsi
+++ b/arch/arc/boot/dts/axs10x_mb.dtsi
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Support for peripherals on the AXS10x mainboard
  *
  * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 / {
--- a/arch/arc/boot/dts/haps_hs.dts
+++ b/arch/arc/boot/dts/haps_hs.dts
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2016-2014 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 /dts-v1/;
 
--- a/arch/arc/boot/dts/haps_hs_idu.dts
+++ b/arch/arc/boot/dts/haps_hs_idu.dts
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2016-2014 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 /dts-v1/;
 
--- a/arch/arc/boot/dts/hsdk.dts
+++ b/arch/arc/boot/dts/hsdk.dts
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2017 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 /*
--- a/arch/arc/boot/dts/nsim_700.dts
+++ b/arch/arc/boot/dts/nsim_700.dts
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 /dts-v1/;
 
--- a/arch/arc/boot/dts/nsim_hs.dts
+++ b/arch/arc/boot/dts/nsim_hs.dts
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 /dts-v1/;
 
--- a/arch/arc/boot/dts/nsim_hs_idu.dts
+++ b/arch/arc/boot/dts/nsim_hs_idu.dts
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 /dts-v1/;
 
--- a/arch/arc/boot/dts/nsimosci.dts
+++ b/arch/arc/boot/dts/nsimosci.dts
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 /dts-v1/;
 
--- a/arch/arc/boot/dts/nsimosci_hs.dts
+++ b/arch/arc/boot/dts/nsimosci_hs.dts
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 /dts-v1/;
 
--- a/arch/arc/boot/dts/nsimosci_hs_idu.dts
+++ b/arch/arc/boot/dts/nsimosci_hs_idu.dts
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 /dts-v1/;
 
--- a/arch/arc/boot/dts/skeleton.dtsi
+++ b/arch/arc/boot/dts/skeleton.dtsi
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 /*
--- a/arch/arc/boot/dts/skeleton_hs.dtsi
+++ b/arch/arc/boot/dts/skeleton_hs.dtsi
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 / {
--- a/arch/arc/boot/dts/skeleton_hs_idu.dtsi
+++ b/arch/arc/boot/dts/skeleton_hs_idu.dtsi
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 / {
--- a/arch/arc/boot/dts/vdk_axc003.dtsi
+++ b/arch/arc/boot/dts/vdk_axc003.dtsi
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2013, 2014 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 /*
--- a/arch/arc/boot/dts/vdk_axc003_idu.dtsi
+++ b/arch/arc/boot/dts/vdk_axc003_idu.dtsi
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2014, 2015 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 /*
--- a/arch/arc/boot/dts/vdk_axs10x_mb.dtsi
+++ b/arch/arc/boot/dts/vdk_axs10x_mb.dtsi
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Support for peripherals on the AXS10x mainboard (VDK version)
  *
  * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 / {
--- a/arch/arc/boot/dts/vdk_hs38.dts
+++ b/arch/arc/boot/dts/vdk_hs38.dts
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com)
  *
  * ARC HS38 Virtual Development Kit (VDK)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 /dts-v1/;
 
--- a/arch/arc/boot/dts/vdk_hs38_smp.dts
+++ b/arch/arc/boot/dts/vdk_hs38_smp.dts
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com)
  *
  * ARC HS38 Virtual Development Kit, SMP version (VDK)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 /dts-v1/;
 
--- a/arch/arc/include/asm/arcregs.h
+++ b/arch/arc/include/asm/arcregs.h
@@ -1,9 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #ifndef _ASM_ARC_ARCREGS_H
--- a/arch/arc/include/asm/asm-offsets.h
+++ b/arch/arc/include/asm/asm-offsets.h
@@ -1,9 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #include <generated/asm-offsets.h>
--- a/arch/arc/include/asm/atomic.h
+++ b/arch/arc/include/asm/atomic.h
@@ -1,9 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #ifndef _ASM_ARC_ATOMIC_H
--- a/arch/arc/include/asm/barrier.h
+++ b/arch/arc/include/asm/barrier.h
@@ -1,9 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #ifndef __ASM_BARRIER_H
--- a/arch/arc/include/asm/bitops.h
+++ b/arch/arc/include/asm/bitops.h
@@ -1,9 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #ifndef _ASM_BITOPS_H
--- a/arch/arc/include/asm/bug.h
+++ b/arch/arc/include/asm/bug.h
@@ -1,9 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #ifndef _ASM_ARC_BUG_H
--- a/arch/arc/include/asm/cache.h
+++ b/arch/arc/include/asm/cache.h
@@ -1,9 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #ifndef __ARC_ASM_CACHE_H
--- a/arch/arc/include/asm/cacheflush.h
+++ b/arch/arc/include/asm/cacheflush.h
@@ -1,10 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
  *  vineetg: May 2011: for Non-aliasing VIPT D-cache following can be NOPs
  *   -flush_cache_dup_mm (fork)
  *   -likewise for flush_cache_mm (exit/execve)
--- a/arch/arc/include/asm/checksum.h
+++ b/arch/arc/include/asm/checksum.h
@@ -1,10 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
  * Joern Rennecke  <joern.rennecke@embecosm.com>: Jan 2012
  *  -Insn Scheduling improvements to csum core routines.
  *      = csum_fold( ) largely derived from ARM version.
--- a/arch/arc/include/asm/cmpxchg.h
+++ b/arch/arc/include/asm/cmpxchg.h
@@ -1,9 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #ifndef __ASM_ARC_CMPXCHG_H
--- a/arch/arc/include/asm/current.h
+++ b/arch/arc/include/asm/current.h
@@ -1,10 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
  * Vineetg: May 16th, 2008
  *  - Current macro is now implemented as "global register" r25
  */
--- a/arch/arc/include/asm/delay.h
+++ b/arch/arc/include/asm/delay.h
@@ -1,10 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
  * Delay routines using pre computed loops_per_jiffy value.
  *
  * vineetg: Feb 2012
--- a/arch/arc/include/asm/disasm.h
+++ b/arch/arc/include/asm/disasm.h
@@ -1,12 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * several functions that help interpret ARC instructions
  * used for unaligned accesses, kprobes and kgdb
  *
  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #ifndef __ARC_DISASM_H__
--- a/arch/arc/include/asm/dma.h
+++ b/arch/arc/include/asm/dma.h
@@ -1,9 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #ifndef ASM_ARC_DMA_H
--- a/arch/arc/include/asm/dwarf.h
+++ b/arch/arc/include/asm/dwarf.h
@@ -1,9 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2016-17 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #ifndef _ASM_ARC_DWARF_H
--- a/arch/arc/include/asm/elf.h
+++ b/arch/arc/include/asm/elf.h
@@ -1,9 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #ifndef __ASM_ARC_ELF_H
--- a/arch/arc/include/asm/entry-compact.h
+++ b/arch/arc/include/asm/entry-compact.h
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com)
  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
  * Vineetg: March 2009 (Supporting 2 levels of Interrupts)
  *  Stack switching code can no longer reliably rely on the fact that
  *  if we are NOT in user mode, stack is switched to kernel mode.
--- a/arch/arc/include/asm/entry.h
+++ b/arch/arc/include/asm/entry.h
@@ -1,10 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com)
  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #ifndef __ASM_ARC_ENTRY_H
--- a/arch/arc/include/asm/exec.h
+++ b/arch/arc/include/asm/exec.h
@@ -1,9 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
  */
 
 #ifndef __ASM_ARC_EXEC_H
--- a/arch/arc/include/asm/futex.h
+++ b/arch/arc/include/asm/futex.h
@@ -1,10 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
  * Vineetg: August 2010: From Android kernel work
  */
 
--- a/arch/arc/include/asm/highmem.h
+++ b/arch/arc/include/asm/highmem.h
@@ -1,10 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2015 Synopsys, Inc. (www.synopsys.com)
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
  */
 
 #ifndef _ASM_HIGHMEM_H
--- a/arch/arc/include/asm/hugepage.h
+++ b/arch/arc/include/asm/hugepage.h
@@ -1,9 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 50/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 501
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (48 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 49/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:58   ` Enrico Weigelt, metux IT consult
                     ` (2 more replies)
  2019-06-04  8:11 ` [Batch 17 patch 51/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 502 Thomas Gleixner
                   ` (6 subsequent siblings)
  56 siblings, 3 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license version 2 as
  published by the free software foundation see readme and copying 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 9 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=ace80c483e53
---
 drivers/net/wireless/admtek/adm8211.c              |    6 +-----
 drivers/net/wireless/intel/ipw2x00/libipw.h        |    6 +-----
 drivers/net/wireless/intel/ipw2x00/libipw_rx.c     |    6 +-----
 drivers/net/wireless/intersil/hostap/hostap_hw.c   |    6 +-----
 drivers/net/wireless/intersil/hostap/hostap_main.c |    6 +-----
 lib/hexdump.c                                      |    6 +-----
 net/wireless/lib80211_crypt_ccmp.c                 |    6 +-----
 net/wireless/lib80211_crypt_tkip.c                 |    6 +-----
 net/wireless/lib80211_crypt_wep.c                  |    6 +-----
 9 files changed, 9 insertions(+), 45 deletions(-)

--- a/drivers/net/wireless/admtek/adm8211.c
+++ b/drivers/net/wireless/admtek/adm8211.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 
 /*
  * Linux device driver for ADMtek ADM8211 (IEEE 802.11b MAC/BBP)
@@ -8,11 +9,6 @@
  * and used with permission.
  *
  * Much thanks to Infineon-ADMtek for their support of this driver.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation. See README and COPYING for
- * more details.
  */
 
 #include <linux/interrupt.h>
--- a/drivers/net/wireless/intel/ipw2x00/libipw.h
+++ b/drivers/net/wireless/intel/ipw2x00/libipw.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Merged with mainline ieee80211.h in Aug 2004.  Original ieee802_11
  * remains copyright by the original authors
@@ -13,11 +14,6 @@
  * <jketreno@linux.intel.com>
  * Copyright (c) 2004-2005, Intel Corporation
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation. See README and COPYING for
- * more details.
- *
  * API Version History
  * 1.0.x -- Initial version
  * 1.1.x -- Added radiotap, QoS, TIM, libipw_geo APIs,
--- a/drivers/net/wireless/intel/ipw2x00/libipw_rx.c
+++ b/drivers/net/wireless/intel/ipw2x00/libipw_rx.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Original code based Host AP (software wireless LAN access point) driver
  * for Intersil Prism2/2.5/3 - hostap.o module, common routines
@@ -6,11 +7,6 @@
  * <j@w1.fi>
  * Copyright (c) 2002-2003, Jouni Malinen <j@w1.fi>
  * Copyright (c) 2004-2005, Intel Corporation
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation. See README and COPYING for
- * more details.
  */
 
 #include <linux/compiler.h>
--- a/drivers/net/wireless/intersil/hostap/hostap_hw.c
+++ b/drivers/net/wireless/intersil/hostap/hostap_hw.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Host AP (software wireless LAN access point) driver for
  * Intersil Prism2/2.5/3.
@@ -6,11 +7,6 @@
  * <j@w1.fi>
  * Copyright (c) 2002-2005, Jouni Malinen <j@w1.fi>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation. See README and COPYING for
- * more details.
- *
  * FIX:
  * - there is currently no way of associating TX packets to correct wds device
  *   when TX Exc/OK event occurs, so all tx_packets and some
--- a/drivers/net/wireless/intersil/hostap/hostap_main.c
+++ b/drivers/net/wireless/intersil/hostap/hostap_main.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Host AP (software wireless LAN access point) driver for
  * Intersil Prism2/2.5/3 - hostap.o module, common routines
@@ -5,11 +6,6 @@
  * Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen
  * <j@w1.fi>
  * Copyright (c) 2002-2005, Jouni Malinen <j@w1.fi>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation. See README and COPYING for
- * more details.
  */
 
 #include <linux/module.h>
--- a/lib/hexdump.c
+++ b/lib/hexdump.c
@@ -1,10 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * lib/hexdump.c
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation. See README and COPYING for
- * more details.
  */
 
 #include <linux/types.h>
--- a/net/wireless/lib80211_crypt_ccmp.c
+++ b/net/wireless/lib80211_crypt_ccmp.c
@@ -1,13 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * lib80211 crypt: host-based CCMP encryption implementation for lib80211
  *
  * Copyright (c) 2003-2004, Jouni Malinen <j@w1.fi>
  * Copyright (c) 2008, John W. Linville <linville@tuxdriver.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation. See README and COPYING for
- * more details.
  */
 
 #include <linux/kernel.h>
--- a/net/wireless/lib80211_crypt_tkip.c
+++ b/net/wireless/lib80211_crypt_tkip.c
@@ -1,13 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * lib80211 crypt: host-based TKIP encryption implementation for lib80211
  *
  * Copyright (c) 2003-2004, Jouni Malinen <j@w1.fi>
  * Copyright (c) 2008, John W. Linville <linville@tuxdriver.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation. See README and COPYING for
- * more details.
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
--- a/net/wireless/lib80211_crypt_wep.c
+++ b/net/wireless/lib80211_crypt_wep.c
@@ -1,13 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * lib80211 crypt: host-based WEP encryption implementation for lib80211
  *
  * Copyright (c) 2002-2004, Jouni Malinen <j@w1.fi>
  * Copyright (c) 2008, John W. Linville <linville@tuxdriver.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation. See README and COPYING for
- * more details.
  */
 
 #include <linux/err.h>



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 51/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 502
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (49 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 50/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 501 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:58   ` Enrico Weigelt, metux IT consult
                     ` (2 more replies)
  2019-06-04  8:11 ` [Batch 17 patch 52/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 503 Thomas Gleixner
                   ` (5 subsequent siblings)
  56 siblings, 3 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation version 2 of the license this program
  is distributed in the hope that it will be useful but without any
  warranty without even the implied warranty of merchantability or
  fitness for a particular purpose see the gnu general public license
  for more details you should have received a copy of the gnu general
  public license along with this program if not write to the free
  software foundation inc 51 franklin st fifth floor boston ma 02110
  1301 usa

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=6b25d34d4e8b
---
 drivers/scsi/scsi_transport_srp.c |   16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

--- a/drivers/scsi/scsi_transport_srp.c
+++ b/drivers/scsi/scsi_transport_srp.c
@@ -1,22 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * SCSI RDMA (SRP) transport class
  *
  * Copyright (C) 2007 FUJITA Tomonori <tomof@acm.org>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation, version 2 of the
- * License.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA
  */
 #include <linux/init.h>
 #include <linux/module.h>



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 52/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 503
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (50 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 51/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 502 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:58   ` Enrico Weigelt, metux IT consult
                     ` (2 more replies)
  2019-06-04  8:11 ` [Batch 17 patch 53/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 504 Thomas Gleixner
                   ` (4 subsequent siblings)
  56 siblings, 3 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation either version 2 of the license this
  program is distributed in the hope that it will be useful but
  without any warranty without even the implied warranty of
  merchantability or fitness for a particular purpose see the gnu
  general public license for more details you should have received a
  copy of the gnu general public license along with this program if
  not write to the free software foundation 51 franklin street fifth
  floor boston ma 02110 1301 usa

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=557424f693bb
---
 include/linux/kvm_types.h |   16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

--- a/include/linux/kvm_types.h
+++ b/include/linux/kvm_types.h
@@ -1,18 +1,4 @@
-/*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
- *
- */
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 #ifndef __KVM_TYPES_H__
 #define __KVM_TYPES_H__



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 53/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 504
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (51 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 52/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 503 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:59   ` Enrico Weigelt, metux IT consult
                     ` (2 more replies)
  2019-06-04  8:11 ` [Batch 17 patch 54/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505 Thomas Gleixner
                   ` (3 subsequent siblings)
  56 siblings, 3 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this file is free software you can redistribute it and or modify it
  under the terms of version 2 of the gnu general public license as
  published by the free software foundation this program is
  distributed in the hope that it will be useful but without any
  warranty without even the implied warranty of merchantability or
  fitness for a particular purpose see the gnu general public license
  for more details you should have received a copy of the gnu general
  public license along with this program if not write to the free
  software foundation inc 51 franklin st fifth floor boston ma 02110
  1301 usa

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=14f4844ab080
---
 arch/mips/lib/iomap_copy.c   |   15 +--------------
 arch/x86/lib/iomap_copy_64.S |   14 +-------------
 include/linux/io-mapping.h   |   14 +-------------
 include/linux/io.h           |   14 +-------------
 lib/iomap_copy.c             |   14 +-------------
 virt/kvm/async_pf.c          |   14 +-------------
 virt/kvm/async_pf.h          |   14 +-------------
 virt/kvm/eventfd.c           |   14 +-------------
 8 files changed, 8 insertions(+), 105 deletions(-)

--- a/arch/mips/lib/iomap_copy.c
+++ b/arch/mips/lib/iomap_copy.c
@@ -1,17 +1,4 @@
-/*
- * This file is free software; you can redistribute it and/or modify
- * it under the terms of version 2 of the GNU General Public License
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
- */
+// SPDX-License-Identifier: GPL-2.0-only
 
 #include <linux/export.h>
 #include <linux/io.h>
--- a/arch/x86/lib/iomap_copy_64.S
+++ b/arch/x86/lib/iomap_copy_64.S
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright 2006 PathScale, Inc.  All Rights Reserved.
- *
- * This file is free software; you can redistribute it and/or modify
- * it under the terms of version 2 of the GNU General Public License
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
 #include <linux/linkage.h>
--- a/include/linux/io-mapping.h
+++ b/include/linux/io-mapping.h
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright © 2008 Keith Packard <keithp@keithp.com>
- *
- * This file is free software; you can redistribute it and/or modify
- * it under the terms of version 2 of the GNU General Public License
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
 #ifndef _LINUX_IO_MAPPING_H
--- a/include/linux/io.h
+++ b/include/linux/io.h
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright 2006 PathScale, Inc.  All Rights Reserved.
- *
- * This file is free software; you can redistribute it and/or modify
- * it under the terms of version 2 of the GNU General Public License
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
 #ifndef _LINUX_IO_H
--- a/lib/iomap_copy.c
+++ b/lib/iomap_copy.c
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright 2006 PathScale, Inc.  All Rights Reserved.
- *
- * This file is free software; you can redistribute it and/or modify
- * it under the terms of version 2 of the GNU General Public License
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
 #include <linux/export.h>
--- a/virt/kvm/async_pf.c
+++ b/virt/kvm/async_pf.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * kvm asynchronous fault support
  *
@@ -5,19 +6,6 @@
  *
  * Author:
  *      Gleb Natapov <gleb@redhat.com>
- *
- * This file is free software; you can redistribute it and/or modify
- * it under the terms of version 2 of the GNU General Public License
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
 #include <linux/kvm_host.h>
--- a/virt/kvm/async_pf.h
+++ b/virt/kvm/async_pf.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * kvm asynchronous fault support
  *
@@ -5,19 +6,6 @@
  *
  * Author:
  *      Gleb Natapov <gleb@redhat.com>
- *
- * This file is free software; you can redistribute it and/or modify
- * it under the terms of version 2 of the GNU General Public License
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
 #ifndef __KVM_ASYNC_PF_H__
--- a/virt/kvm/eventfd.c
+++ b/virt/kvm/eventfd.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * kvm eventfd support - use eventfd objects to signal various KVM events
  *
@@ -6,19 +7,6 @@
  *
  * Author:
  *	Gregory Haskins <ghaskins@novell.com>
- *
- * This file is free software; you can redistribute it and/or modify
- * it under the terms of version 2 of the GNU General Public License
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
 #include <linux/kvm_host.h>



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 54/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (52 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 53/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 504 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 12:04   ` Enrico Weigelt, metux IT consult
                     ` (2 more replies)
  2019-06-04  8:11 ` [Batch 17 patch 55/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 506 Thomas Gleixner
                   ` (2 subsequent siblings)
  56 siblings, 3 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  gplv2

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=ff781afa4180
---
 arch/powerpc/kernel/swsusp_64.c                          |    3 +--
 arch/powerpc/kernel/swsusp_asm64.S                       |    3 +--
 drivers/char/tpm/tpmrm-dev.c                             |    3 +--
 lib/test_stackinit.c                                     |    2 +-
 net/mac80211/debugfs.c                                   |    4 +---
 samples/bpf/xdp_redirect_cpu_user.c                      |    3 ++-
 scripts/coccinelle/api/alloc/alloc_cast.cocci            |    5 +++--
 scripts/coccinelle/api/alloc/pool_zalloc-simple.cocci    |    3 ++-
 scripts/coccinelle/api/alloc/zalloc-simple.cocci         |    7 ++++---
 scripts/coccinelle/api/check_bq27xxx_data.cocci          |    3 ++-
 scripts/coccinelle/api/err_cast.cocci                    |    7 ++++---
 scripts/coccinelle/api/kstrdup.cocci                     |    7 ++++---
 scripts/coccinelle/api/memdup.cocci                      |    7 ++++---
 scripts/coccinelle/api/memdup_user.cocci                 |    7 ++++---
 scripts/coccinelle/api/pm_runtime.cocci                  |    3 ++-
 scripts/coccinelle/api/ptr_ret.cocci                     |    5 +++--
 scripts/coccinelle/api/resource_size.cocci               |    7 ++++---
 scripts/coccinelle/free/clk_put.cocci                    |    5 +++--
 scripts/coccinelle/free/devm_free.cocci                  |    5 +++--
 scripts/coccinelle/free/ifnullfree.cocci                 |    3 ++-
 scripts/coccinelle/free/iounmap.cocci                    |    5 +++--
 scripts/coccinelle/free/kfree.cocci                      |    7 ++++---
 scripts/coccinelle/free/kfreeaddr.cocci                  |    3 ++-
 scripts/coccinelle/free/pci_free_consistent.cocci        |    3 ++-
 scripts/coccinelle/iterators/device_node_continue.cocci  |    3 ++-
 scripts/coccinelle/iterators/fen.cocci                   |    7 ++++---
 scripts/coccinelle/iterators/itnull.cocci                |    7 ++++---
 scripts/coccinelle/iterators/list_entry_update.cocci     |    7 ++++---
 scripts/coccinelle/iterators/use_after_iter.cocci        |    5 +++--
 scripts/coccinelle/locks/call_kern.cocci                 |    7 ++++---
 scripts/coccinelle/locks/double_lock.cocci               |    7 ++++---
 scripts/coccinelle/locks/flags.cocci                     |    7 ++++---
 scripts/coccinelle/locks/mini_lock.cocci                 |    7 ++++---
 scripts/coccinelle/misc/array_size.cocci                 |    3 ++-
 scripts/coccinelle/misc/badty.cocci                      |    3 ++-
 scripts/coccinelle/misc/boolconv.cocci                   |    3 ++-
 scripts/coccinelle/misc/boolinit.cocci                   |    5 +++--
 scripts/coccinelle/misc/bugon.cocci                      |    3 ++-
 scripts/coccinelle/misc/cond_no_effect.cocci             |    3 ++-
 scripts/coccinelle/misc/cstptr.cocci                     |    5 +++--
 scripts/coccinelle/misc/doubleinit.cocci                 |    7 ++++---
 scripts/coccinelle/misc/ifaddr.cocci                     |    5 +++--
 scripts/coccinelle/misc/ifcol.cocci                      |    7 ++++---
 scripts/coccinelle/misc/noderef.cocci                    |    5 +++--
 scripts/coccinelle/misc/orplus.cocci                     |    5 +++--
 scripts/coccinelle/misc/returnvar.cocci                  |    3 ++-
 scripts/coccinelle/misc/semicolon.cocci                  |    3 ++-
 scripts/coccinelle/misc/warn.cocci                       |    5 +++--
 scripts/coccinelle/null/badzero.cocci                    |    5 +++--
 scripts/coccinelle/null/deref_null.cocci                 |    7 ++++---
 scripts/coccinelle/null/eno.cocci                        |    7 ++++---
 scripts/coccinelle/null/kmerr.cocci                      |    7 ++++---
 scripts/coccinelle/tests/doublebitand.cocci              |    7 ++++---
 scripts/coccinelle/tests/doubletest.cocci                |    7 ++++---
 scripts/coccinelle/tests/odd_ptr_err.cocci               |    5 +++--
 scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci |    3 ++-
 tools/laptop/freefall/freefall.c                         |    3 +--
 57 files changed, 164 insertions(+), 119 deletions(-)

--- a/arch/powerpc/kernel/swsusp_64.c
+++ b/arch/powerpc/kernel/swsusp_64.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * PowerPC 64-bit swsusp implementation
  *
  * Copyright 2006 Johannes Berg <johannes@sipsolutions.net>
- *
- * GPLv2
  */
 
 #include <asm/iommu.h>
--- a/arch/powerpc/kernel/swsusp_asm64.S
+++ b/arch/powerpc/kernel/swsusp_asm64.S
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * PowerPC 64-bit swsusp implementation
  *
  * Copyright 2006 Johannes Berg <johannes@sipsolutions.net>
- *
- * GPLv2
  */
 
 #include <linux/threads.h>
--- a/drivers/char/tpm/tpmrm-dev.c
+++ b/drivers/char/tpm/tpmrm-dev.c
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2017 James.Bottomley@HansenPartnership.com
- *
- * GPLv2
  */
 #include <linux/slab.h>
 #include "tpm-dev.h"
--- a/lib/test_stackinit.c
+++ b/lib/test_stackinit.c
@@ -1,4 +1,4 @@
-// SPDX-Licenses: GPLv2
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Test cases for compiler-based stack variable zeroing via future
  * compiler flags or CONFIG_GCC_PLUGIN_STRUCTLEAK*.
--- a/net/mac80211/debugfs.c
+++ b/net/mac80211/debugfs.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * mac80211 debugfs for wireless PHYs
  *
  * Copyright 2007	Johannes Berg <johannes@sipsolutions.net>
  * Copyright 2013-2014  Intel Mobile Communications GmbH
  * Copyright (C) 2018 - 2019 Intel Corporation
- *
- * GPLv2
- *
  */
 
 #include <linux/debugfs.h>
--- a/samples/bpf/xdp_redirect_cpu_user.c
+++ b/samples/bpf/xdp_redirect_cpu_user.c
@@ -1,4 +1,5 @@
-/* GPLv2 Copyright(c) 2017 Jesper Dangaard Brouer, Red Hat, Inc.
+// SPDX-License-Identifier: GPL-2.0-only
+/* Copyright(c) 2017 Jesper Dangaard Brouer, Red Hat, Inc.
  */
 static const char *__doc__ =
 	" XDP redirect with a CPU-map type \"BPF_MAP_TYPE_CPUMAP\"";
--- a/scripts/coccinelle/api/alloc/alloc_cast.cocci
+++ b/scripts/coccinelle/api/alloc/alloc_cast.cocci
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Remove casting the values returned by memory allocation functions
 /// like kmalloc, kzalloc, kmem_cache_alloc, kmem_cache_zalloc etc.
 ///
@@ -8,8 +9,8 @@
 //# need some reformatting.
 //
 // Confidence: High
-// Copyright: (C) 2014 Himangi Saraogi GPLv2.
-// Copyright: (C) 2017 Himanshu Jha GPLv2.
+// Copyright: (C) 2014 Himangi Saraogi
+// Copyright: (C) 2017 Himanshu Jha
 // Comments:
 // Options: --no-includes --include-headers
 //
--- a/scripts/coccinelle/api/alloc/pool_zalloc-simple.cocci
+++ b/scripts/coccinelle/api/alloc/pool_zalloc-simple.cocci
@@ -1,7 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 ///
 /// Use *_pool_zalloc rather than *_pool_alloc followed by memset with 0
 ///
-// Copyright: (C) 2015 Intel Corp.  GPLv2.
+// Copyright: (C) 2015 Intel Corp.
 // Options: --no-includes --include-headers
 //
 // Keywords: dma_pool_zalloc, pci_pool_zalloc
--- a/scripts/coccinelle/api/alloc/zalloc-simple.cocci
+++ b/scripts/coccinelle/api/alloc/zalloc-simple.cocci
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 ///
 /// Use zeroing allocator rather than allocator followed by memset with 0
 ///
@@ -6,9 +7,9 @@
 /// matched code has to be contiguous
 ///
 // Confidence: High
-// Copyright: (C) 2009-2010 Julia Lawall, Nicolas Palix, DIKU.  GPLv2.
-// Copyright: (C) 2009-2010 Gilles Muller, INRIA/LiP6.  GPLv2.
-// Copyright: (C) 2017 Himanshu Jha GPLv2.
+// Copyright: (C) 2009-2010 Julia Lawall, Nicolas Palix, DIKU.
+// Copyright: (C) 2009-2010 Gilles Muller, INRIA/LiP6.
+// Copyright: (C) 2017 Himanshu Jha
 // URL: http://coccinelle.lip6.fr/rules/kzalloc.html
 // Options: --no-includes --include-headers
 //
--- a/scripts/coccinelle/api/check_bq27xxx_data.cocci
+++ b/scripts/coccinelle/api/check_bq27xxx_data.cocci
@@ -1,10 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Detect BQ27XXX_DATA structures with identical registers, dm registers or
 /// properties.
 //# Doesn't unfold macros used in register or property fields.
 //# Requires OCaml scripting
 ///
 // Confidence: High
-// Copyright: (C) 2017 Julia Lawall, Inria/LIP6, GPLv2.
+// Copyright: (C) 2017 Julia Lawall, Inria/LIP6,
 // URL: http://coccinelle.lip6.fr/
 // Requires: 1.0.7
 // Keywords: BQ27XXX_DATA
--- a/scripts/coccinelle/api/err_cast.cocci
+++ b/scripts/coccinelle/api/err_cast.cocci
@@ -1,10 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-only
 ///
 /// Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...))
 ///
 // Confidence: High
-// Copyright: (C) 2009, 2010 Nicolas Palix, DIKU.  GPLv2.
-// Copyright: (C) 2009, 2010 Julia Lawall, DIKU.  GPLv2.
-// Copyright: (C) 2009, 2010 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2009, 2010 Nicolas Palix, DIKU.
+// Copyright: (C) 2009, 2010 Julia Lawall, DIKU.
+// Copyright: (C) 2009, 2010 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Options:
 //
--- a/scripts/coccinelle/api/kstrdup.cocci
+++ b/scripts/coccinelle/api/kstrdup.cocci
@@ -1,9 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Use kstrdup rather than duplicating its implementation
 ///
 // Confidence: High
-// Copyright: (C) 2010-2012 Nicolas Palix.  GPLv2.
-// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2010-2012 Nicolas Palix.
+// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.
+// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments:
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/api/memdup.cocci
+++ b/scripts/coccinelle/api/memdup.cocci
@@ -1,9 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Use kmemdup rather than duplicating its implementation
 ///
 // Confidence: High
-// Copyright: (C) 2010-2012 Nicolas Palix.  GPLv2.
-// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2010-2012 Nicolas Palix.
+// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.
+// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments:
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/api/memdup_user.cocci
+++ b/scripts/coccinelle/api/memdup_user.cocci
@@ -1,10 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Use memdup_user rather than duplicating its implementation
 /// This is a little bit restricted to reduce false positives
 ///
 // Confidence: High
-// Copyright: (C) 2010-2012 Nicolas Palix.  GPLv2.
-// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2010-2012 Nicolas Palix.
+// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.
+// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments:
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/api/pm_runtime.cocci
+++ b/scripts/coccinelle/api/pm_runtime.cocci
@@ -1,8 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Make sure pm_runtime_* calls does not use unnecessary IS_ERR_VALUE
 ///
 // Keywords: pm_runtime
 // Confidence: Medium
-// Copyright (C) 2013 Texas Instruments Incorporated - GPLv2.
+// Copyright (C) 2013 Texas Instruments Incorporated -
 // URL: http://coccinelle.lip6.fr/
 // Options: --include-headers
 
--- a/scripts/coccinelle/api/ptr_ret.cocci
+++ b/scripts/coccinelle/api/ptr_ret.cocci
@@ -1,9 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 ///
 /// Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
 ///
 // Confidence: High
-// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.
+// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Options: --no-includes --include-headers
 //
--- a/scripts/coccinelle/api/resource_size.cocci
+++ b/scripts/coccinelle/api/resource_size.cocci
@@ -1,11 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0-only
 ///
 /// Use resource_size function on resource object
 /// instead of explicit computation.
 ///
 //  Confidence: High
-//  Copyright: (C) 2009, 2010 Nicolas Palix, DIKU.  GPLv2.
-//  Copyright: (C) 2009, 2010 Julia Lawall, DIKU.  GPLv2.
-//  Copyright: (C) 2009, 2010 Gilles Muller, INRIA/LiP6.  GPLv2.
+//  Copyright: (C) 2009, 2010 Nicolas Palix, DIKU.
+//  Copyright: (C) 2009, 2010 Julia Lawall, DIKU.
+//  Copyright: (C) 2009, 2010 Gilles Muller, INRIA/LiP6.
 //  URL: http://coccinelle.lip6.fr/
 //  Options:
 //
--- a/scripts/coccinelle/free/clk_put.cocci
+++ b/scripts/coccinelle/free/clk_put.cocci
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Find missing clk_puts.
 ///
 //# This only signals a missing clk_put when there is a clk_put later
@@ -5,8 +6,8 @@
 //# False positives can be due to loops.
 //
 // Confidence: Moderate
-// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.
+// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments:
 // Options:
--- a/scripts/coccinelle/free/devm_free.cocci
+++ b/scripts/coccinelle/free/devm_free.cocci
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Find uses of standard freeing functons on values allocated using devm_
 /// functions.  Values allocated using the devm_functions are freed when
 /// the device is detached, and thus the use of the standard freeing
@@ -14,8 +15,8 @@
 /// less reliable in these cases.
 ///
 // Confidence: Moderate
-// Copyright: (C) 2011 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2011 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2011 Julia Lawall, INRIA/LIP6.
+// Copyright: (C) 2011 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments:
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/free/ifnullfree.cocci
+++ b/scripts/coccinelle/free/ifnullfree.cocci
@@ -1,10 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// NULL check before some freeing functions is not needed.
 ///
 /// Based on checkpatch warning
 /// "kfree(NULL) is safe this check is probably not required"
 /// and kfreeaddr.cocci by Julia Lawall.
 ///
-// Copyright: (C) 2014 Fabian Frederick.  GPLv2.
+// Copyright: (C) 2014 Fabian Frederick.
 // Comments: -
 // Options: --no-includes --include-headers
 
--- a/scripts/coccinelle/free/iounmap.cocci
+++ b/scripts/coccinelle/free/iounmap.cocci
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Find missing iounmaps.
 ///
 //# This only signals a missing iounmap when there is an iounmap later
@@ -5,8 +6,8 @@
 //# False positives can be due to loops.
 //
 // Confidence: Moderate
-// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.
+// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments:
 // Options:
--- a/scripts/coccinelle/free/kfree.cocci
+++ b/scripts/coccinelle/free/kfree.cocci
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Find a use after free.
 //# Values of variables may imply that some
 //# execution paths are not possible, resulting in false positives.
@@ -5,9 +6,9 @@
 //# SCTP_DBG_OBJCNT_DEC that do not actually evaluate their argument
 ///
 // Confidence: Moderate
-// Copyright: (C) 2010-2012 Nicolas Palix.  GPLv2.
-// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2010-2012 Nicolas Palix.
+// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.
+// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments:
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/free/kfreeaddr.cocci
+++ b/scripts/coccinelle/free/kfreeaddr.cocci
@@ -1,7 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Free of a structure field
 ///
 // Confidence: High
-// Copyright: (C) 2013 Julia Lawall, INRIA/LIP6.  GPLv2.
+// Copyright: (C) 2013 Julia Lawall, INRIA/LIP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments:
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/free/pci_free_consistent.cocci
+++ b/scripts/coccinelle/free/pci_free_consistent.cocci
@@ -1,7 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Find missing pci_free_consistent for every pci_alloc_consistent.
 ///
 // Confidence: Moderate
-// Copyright: (C) 2013 Petr Strnad.  GPLv2.
+// Copyright: (C) 2013 Petr Strnad.
 // URL: http://coccinelle.lip6.fr/
 // Keywords: pci_free_consistent, pci_alloc_consistent
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/iterators/device_node_continue.cocci
+++ b/scripts/coccinelle/iterators/device_node_continue.cocci
@@ -1,8 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Device node iterators put the previous value of the index variable, so an
 /// explicit put causes a double put.
 ///
 // Confidence: High
-// Copyright: (C) 2015 Julia Lawall, Inria. GPLv2.
+// Copyright: (C) 2015 Julia Lawall, Inria.
 // URL: http://coccinelle.lip6.fr/
 // Options: --no-includes --include-headers
 // Requires: 1.0.4
--- a/scripts/coccinelle/iterators/fen.cocci
+++ b/scripts/coccinelle/iterators/fen.cocci
@@ -1,10 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// These iterators only exit normally when the loop cursor is NULL, so there
 /// is no point to call of_node_put on the final value.
 ///
 // Confidence: High
-// Copyright: (C) 2010-2012 Nicolas Palix.  GPLv2.
-// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2010-2012 Nicolas Palix.
+// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.
+// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments:
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/iterators/itnull.cocci
+++ b/scripts/coccinelle/iterators/itnull.cocci
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Many iterators have the property that the first argument is always bound
 /// to a real list element, never NULL.
 //# False positives arise for some iterators that do not have this property,
@@ -6,9 +7,9 @@
 //# or return).
 ///
 // Confidence: Moderate
-// Copyright: (C) 2010-2012 Nicolas Palix.  GPLv2.
-// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2010-2012 Nicolas Palix.
+// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.
+// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments:
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/iterators/list_entry_update.cocci
+++ b/scripts/coccinelle/iterators/list_entry_update.cocci
@@ -1,12 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// list_for_each_entry uses its first argument to get from one element of
 /// the list to the next, so it is usually not a good idea to reassign it.
 /// The first rule finds such a reassignment and the second rule checks
 /// that there is a path from the reassignment back to the top of the loop.
 ///
 // Confidence: High
-// Copyright: (C) 2010 Nicolas Palix, DIKU.  GPLv2.
-// Copyright: (C) 2010 Julia Lawall, DIKU.  GPLv2.
-// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2010 Nicolas Palix, DIKU.
+// Copyright: (C) 2010 Julia Lawall, DIKU.
+// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments:
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/iterators/use_after_iter.cocci
+++ b/scripts/coccinelle/iterators/use_after_iter.cocci
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// If list_for_each_entry, etc complete a traversal of the list, the iterator
 /// variable ends up pointing to an address at an offset from the list head,
 /// and not a meaningful structure.  Thus this value should not be used after
@@ -7,8 +8,8 @@
 //#may also cause a report to be a false positive.
 ///
 // Confidence: Moderate
-// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2012 Gilles Muller, INRIA/LIP6.  GPLv2.
+// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.
+// Copyright: (C) 2012 Gilles Muller, INRIA/LIP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments:
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/locks/call_kern.cocci
+++ b/scripts/coccinelle/locks/call_kern.cocci
@@ -1,12 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Find functions that refer to GFP_KERNEL but are called with locks held.
 //# The proposed change of converting the GFP_KERNEL is not necessarily the
 //# correct one.  It may be desired to unlock the lock, or to not call the
 //# function under the lock in the first place.
 ///
 // Confidence: Moderate
-// Copyright: (C) 2012 Nicolas Palix.  GPLv2.
-// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2012 Nicolas Palix.
+// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.
+// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments:
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/locks/double_lock.cocci
+++ b/scripts/coccinelle/locks/double_lock.cocci
@@ -1,11 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Find double locks.  False positives may occur when some paths cannot
 /// occur at execution, due to the values of variables, and when there is
 /// an intervening function call that releases the lock.
 ///
 // Confidence: Moderate
-// Copyright: (C) 2010 Nicolas Palix, DIKU.  GPLv2.
-// Copyright: (C) 2010 Julia Lawall, DIKU.  GPLv2.
-// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2010 Nicolas Palix, DIKU.
+// Copyright: (C) 2010 Julia Lawall, DIKU.
+// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments:
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/locks/flags.cocci
+++ b/scripts/coccinelle/locks/flags.cocci
@@ -1,9 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Find nested lock+irqsave functions that use the same flags variables
 ///
 // Confidence: High
-// Copyright: (C) 2010-2012 Nicolas Palix.  GPLv2.
-// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2010-2012 Nicolas Palix.
+// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.
+// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments:
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/locks/mini_lock.cocci
+++ b/scripts/coccinelle/locks/mini_lock.cocci
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Find missing unlocks.  This semantic match considers the specific case
 /// where the unlock is missing from an if branch, and there is a lock
 /// before the if and an unlock after the if.  False positives are due to
@@ -6,9 +7,9 @@
 /// function call that releases the lock.
 ///
 // Confidence: Moderate
-// Copyright: (C) 2010-2012 Nicolas Palix.  GPLv2.
-// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2010-2012 Nicolas Palix.
+// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.
+// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments:
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/misc/array_size.cocci
+++ b/scripts/coccinelle/misc/array_size.cocci
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element
 ///
 //# This makes an effort to find cases where ARRAY_SIZE can be used such as
@@ -6,7 +7,7 @@
 //# division of the two sizeofs by ARRAY_SIZE.
 //
 // Confidence: High
-// Copyright: (C) 2014 Himangi Saraogi.  GPLv2.
+// Copyright: (C) 2014 Himangi Saraogi.
 // Comments:
 // Options: --no-includes --include-headers
 
--- a/scripts/coccinelle/misc/badty.cocci
+++ b/scripts/coccinelle/misc/badty.cocci
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Correct the size argument to alloc functions
 ///
 //# This makes an effort to find cases where the argument to sizeof is wrong
@@ -8,7 +9,7 @@
 //# may need some reformatting.
 //
 // Confidence: Moderate
-// Copyright: (C) 2014 Himangi Saraogi.  GPLv2.
+// Copyright: (C) 2014 Himangi Saraogi.
 // Comments:
 // Options:
 
--- a/scripts/coccinelle/misc/boolconv.cocci
+++ b/scripts/coccinelle/misc/boolconv.cocci
@@ -1,9 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Remove unneeded conversion to bool
 ///
 //# Relational and logical operators evaluate to bool,
 //# explicit conversion is overly verbose and unneeded.
 //
-// Copyright: (C) 2016 Andrew F. Davis <afd@ti.com> GPLv2.
+// Copyright: (C) 2016 Andrew F. Davis <afd@ti.com>
 
 virtual patch
 virtual context
--- a/scripts/coccinelle/misc/boolinit.cocci
+++ b/scripts/coccinelle/misc/boolinit.cocci
@@ -1,10 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Bool initializations should use true and false.  Bool tests don't need
 /// comparisons.  Based on contributions from Joe Perches, Rusty Russell
 /// and Bruce W Allan.
 ///
 // Confidence: High
-// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.
+// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Options: --include-headers
 
--- a/scripts/coccinelle/misc/bugon.cocci
+++ b/scripts/coccinelle/misc/bugon.cocci
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Use BUG_ON instead of a if condition followed by BUG.
 ///
 //# This makes an effort to find cases where BUG() follows an if
@@ -6,7 +7,7 @@
 //# as argument.
 //
 // Confidence: High
-// Copyright: (C) 2014 Himangi Saraogi.  GPLv2.
+// Copyright: (C) 2014 Himangi Saraogi.
 // Comments:
 // Options: --no-includes --include-headers
 
--- a/scripts/coccinelle/misc/cond_no_effect.cocci
+++ b/scripts/coccinelle/misc/cond_no_effect.cocci
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 ///Find conditions where if and else branch are functionally
 // identical.
 //
@@ -37,7 +38,7 @@
 // All other cases look like bugs or at least lack of documentation
 //
 // Confidence: Moderate
-// Copyright: (C) 2016 Nicholas Mc Guire, OSADL.  GPLv2.
+// Copyright: (C) 2016 Nicholas Mc Guire, OSADL.
 // Comments:
 // Options: --no-includes --include-headers
 
--- a/scripts/coccinelle/misc/cstptr.cocci
+++ b/scripts/coccinelle/misc/cstptr.cocci
@@ -1,9 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// PTR_ERR should be applied before its argument is reassigned, typically
 /// to NULL
 ///
 // Confidence: High
-// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.
+// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments:
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/misc/doubleinit.cocci
+++ b/scripts/coccinelle/misc/doubleinit.cocci
@@ -1,11 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Find duplicate field initializations.  This has a high rate of false
 /// positives due to #ifdefs, which Coccinelle is not aware of in a structure
 /// initialization.
 ///
 // Confidence: Low
-// Copyright: (C) 2010-2012 Nicolas Palix.  GPLv2.
-// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2010-2012 Nicolas Palix.
+// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.
+// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments: requires at least Coccinelle 0.2.4, lex or parse error otherwise
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/misc/ifaddr.cocci
+++ b/scripts/coccinelle/misc/ifaddr.cocci
@@ -1,8 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// The address of a variable or field is likely always to be non-zero.
 ///
 // Confidence: High
-// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.
+// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments:
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/misc/ifcol.cocci
+++ b/scripts/coccinelle/misc/ifcol.cocci
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Find confusingly indented code in or after an if.  An if branch should
 /// be indented.  The code following an if should not be indented.
 /// Sometimes, code after an if that is indented is actually intended to be
@@ -8,9 +9,9 @@
 //# is not visually aligned may be considered to be in the same column.
 //
 // Confidence: Low
-// Copyright: (C) 2010 Nicolas Palix, DIKU.  GPLv2.
-// Copyright: (C) 2010 Julia Lawall, DIKU.  GPLv2.
-// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2010 Nicolas Palix, DIKU.
+// Copyright: (C) 2010 Julia Lawall, DIKU.
+// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments:
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/misc/noderef.cocci
+++ b/scripts/coccinelle/misc/noderef.cocci
@@ -1,9 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// sizeof when applied to a pointer typed expression gives the size of
 /// the pointer
 ///
 // Confidence: High
-// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.
+// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments:
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/misc/orplus.cocci
+++ b/scripts/coccinelle/misc/orplus.cocci
@@ -1,10 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Check for constants that are added but are used elsewhere as bitmasks
 /// The results should be checked manually to ensure that the nonzero
 /// bits in the two constants are actually disjoint.
 ///
 // Confidence: Moderate
-// Copyright: (C) 2013 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2013 Gilles Muller, INRIA/LIP6.  GPLv2.
+// Copyright: (C) 2013 Julia Lawall, INRIA/LIP6.
+// Copyright: (C) 2013 Gilles Muller, INRIA/LIP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments:
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/misc/returnvar.cocci
+++ b/scripts/coccinelle/misc/returnvar.cocci
@@ -1,8 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 ///
 /// Remove unneeded variable used to store return value.
 ///
 // Confidence: Moderate
-// Copyright: (C) 2012 Peter Senna Tschudin, INRIA/LIP6.  GPLv2.
+// Copyright: (C) 2012 Peter Senna Tschudin, INRIA/LIP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments: Comments on code can be deleted if near code that is removed.
 //           "when strict" can be removed to get more hits, but adds false
--- a/scripts/coccinelle/misc/semicolon.cocci
+++ b/scripts/coccinelle/misc/semicolon.cocci
@@ -1,8 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 ///
 /// Remove unneeded semicolon.
 ///
 // Confidence: Moderate
-// Copyright: (C) 2012 Peter Senna Tschudin, INRIA/LIP6.  GPLv2.
+// Copyright: (C) 2012 Peter Senna Tschudin, INRIA/LIP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments: Some false positives on empty default cases in switch statements.
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/misc/warn.cocci
+++ b/scripts/coccinelle/misc/warn.cocci
@@ -1,8 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Use WARN(1,...) rather than printk followed by WARN_ON(1)
 ///
 // Confidence: High
-// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.
+// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments:
 // Options: --no-includes --include-headers
--- a/scripts/coccinelle/null/badzero.cocci
+++ b/scripts/coccinelle/null/badzero.cocci
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// Compare pointer-typed values to NULL rather than 0
 ///
 //# This makes an effort to choose between !x and x == NULL.  !x is used
@@ -7,8 +8,8 @@
 //# include path.
 //
 // Confidence: High
-// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6.
+// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Requires: 1.0.0
 // Options:
--- a/scripts/coccinelle/null/deref_null.cocci
+++ b/scripts/coccinelle/null/deref_null.cocci
@@ -1,11 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0-only
 ///
 /// A variable is dereferenced under a NULL test.
 /// Even though it is known to be NULL.
 ///
 // Confidence: Moderate
-// Copyright: (C) 2010 Nicolas Palix, DIKU.  GPLv2.
-// Copyright: (C) 2010 Julia Lawall, DIKU.  GPLv2.
-// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2010 Nicolas Palix, DIKU.
+// Copyright: (C) 2010 Julia Lawall, DIKU.
+// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6.
 // URL: http://coccinelle.lip6.fr/
 // Comments: -I ... -all_includes can give more complete results
 // Options:
--- a/scripts/coccinelle/null/eno.cocci
+++ b/scripts/coccinelle/null/eno.cocci
@@ -1,9 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /// The various basic memory allocation functions don't return ERR_PTR
 ///
 // Confidence: High
-// Copyright: (C) 2010-2012 Nicolas Palix.  GPLv2.
-// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.  GPLv2.
-// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.  GPLv2.
+// Copyright: (C) 2010-2012 Nicolas Palix.
+// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 55/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 506
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (53 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 54/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 12:05   ` Enrico Weigelt, metux IT consult
                     ` (2 more replies)
  2019-06-04  8:11 ` [Batch 17 patch 56/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 507 Thomas Gleixner
  2019-06-04  8:11 ` [Batch 17 patch 57/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 508 Thomas Gleixner
  56 siblings, 3 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this software program is licensed subject to the gnu general public
  license gpl version 2 june 1991 available at http www fsf org
  copyleft gpl html

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=34d512cc9ce3
---
 arch/arm/mach-mmp/pm-mmp2.c   |    4 +---
 arch/arm/mach-mmp/pm-mmp2.h   |    4 +---
 arch/arm/mach-mmp/pm-pxa910.c |    4 +---
 arch/arm/mach-mmp/pm-pxa910.h |    4 +---
 4 files changed, 4 insertions(+), 12 deletions(-)

--- a/arch/arm/mach-mmp/pm-mmp2.c
+++ b/arch/arm/mach-mmp/pm-mmp2.c
@@ -1,9 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * MMP2 Power Management Routines
  *
- * This software program is licensed subject to the GNU General Public License
- * (GPL).Version 2,June 1991, available at http://www.fsf.org/copyleft/gpl.html
- *
  * (C) Copyright 2012 Marvell International Ltd.
  * All Rights Reserved
  */
--- a/arch/arm/mach-mmp/pm-mmp2.h
+++ b/arch/arm/mach-mmp/pm-mmp2.h
@@ -1,9 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * MMP2 Power Management Routines
  *
- * This software program is licensed subject to the GNU General Public License
- * (GPL).Version 2,June 1991, available at http://www.fsf.org/copyleft/gpl.html
- *
  * (C) Copyright 2010 Marvell International Ltd.
  * All Rights Reserved
  */
--- a/arch/arm/mach-mmp/pm-pxa910.c
+++ b/arch/arm/mach-mmp/pm-pxa910.c
@@ -1,9 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * PXA910 Power Management Routines
  *
- * This software program is licensed subject to the GNU General Public License
- * (GPL).Version 2,June 1991, available at http://www.fsf.org/copyleft/gpl.html
- *
  * (C) Copyright 2009 Marvell International Ltd.
  * All Rights Reserved
  */
--- a/arch/arm/mach-mmp/pm-pxa910.h
+++ b/arch/arm/mach-mmp/pm-pxa910.h
@@ -1,9 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * PXA910 Power Management Routines
  *
- * This software program is licensed subject to the GNU General Public License
- * (GPL).Version 2,June 1991, available at http://www.fsf.org/copyleft/gpl.html
- *
  * (C) Copyright 2009 Marvell International Ltd.
  * All Rights Reserved
  */



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 56/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 507
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (54 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 55/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 506 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 12:05   ` Enrico Weigelt, metux IT consult
                     ` (2 more replies)
  2019-06-04  8:11 ` [Batch 17 patch 57/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 508 Thomas Gleixner
  56 siblings, 3 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of version 2 of the gnu general public license as
  published by the free software foundation this program is
  distributed in the hope that it will be useful but without any
  warranty without even the implied warranty of merchantability or
  fitness for a particular purpose see the gnu general public license
  for more details you should have received a copy of the gnu general
  public license along with this program if not write to the free
  software foundation inc 59 temple place suite 330 boston ma 02111
  1307 usa the full gnu general public license is included in this
  distribution in the file called license

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=7bac6db0369e
---
 drivers/net/wireless/intel/ipw2x00/ipw2100.c       |   16 +---------------
 drivers/net/wireless/intel/ipw2x00/ipw2100.h       |   16 +---------------
 drivers/net/wireless/intel/ipw2x00/ipw2200.c       |   16 +---------------
 drivers/net/wireless/intel/ipw2x00/ipw2200.h       |   16 +---------------
 drivers/net/wireless/intel/ipw2x00/libipw_geo.c    |   16 +---------------
 drivers/net/wireless/intel/ipw2x00/libipw_module.c |   16 +---------------
 drivers/net/wireless/intel/ipw2x00/libipw_tx.c     |   16 +---------------
 drivers/net/wireless/intel/ipw2x00/libipw_wx.c     |   16 +---------------
 8 files changed, 8 insertions(+), 120 deletions(-)

--- a/drivers/net/wireless/intel/ipw2x00/ipw2100.c
+++ b/drivers/net/wireless/intel/ipw2x00/ipw2100.c
@@ -1,22 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /******************************************************************************
 
   Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved.
 
-  This program is free software; you can redistribute it and/or modify it
-  under the terms of version 2 of the GNU General Public License as
-  published by the Free Software Foundation.
-
-  This program is distributed in the hope that it will be useful, but WITHOUT
-  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-  more details.
-
-  You should have received a copy of the GNU General Public License along with
-  this program; if not, write to the Free Software Foundation, Inc., 59
-  Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-
-  The full GNU General Public License is included in this distribution in the
-  file called LICENSE.
 
   Contact Information:
   Intel Linux Wireless <ilw@linux.intel.com>
--- a/drivers/net/wireless/intel/ipw2x00/ipw2100.h
+++ b/drivers/net/wireless/intel/ipw2x00/ipw2100.h
@@ -1,22 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /******************************************************************************
 
   Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved.
 
-  This program is free software; you can redistribute it and/or modify it
-  under the terms of version 2 of the GNU General Public License as
-  published by the Free Software Foundation.
-
-  This program is distributed in the hope that it will be useful, but WITHOUT
-  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-  more details.
-
-  You should have received a copy of the GNU General Public License along with
-  this program; if not, write to the Free Software Foundation, Inc., 59
-  Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-
-  The full GNU General Public License is included in this distribution in the
-  file called LICENSE.
 
   Contact Information:
   Intel Linux Wireless <ilw@linux.intel.com>
--- a/drivers/net/wireless/intel/ipw2x00/ipw2200.c
+++ b/drivers/net/wireless/intel/ipw2x00/ipw2200.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /******************************************************************************
 
   Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved.
@@ -8,21 +9,6 @@
     By Gerald Combs <gerald@ethereal.com>
     Copyright 1998 Gerald Combs
 
-  This program is free software; you can redistribute it and/or modify it
-  under the terms of version 2 of the GNU General Public License as
-  published by the Free Software Foundation.
-
-  This program is distributed in the hope that it will be useful, but WITHOUT
-  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-  more details.
-
-  You should have received a copy of the GNU General Public License along with
-  this program; if not, write to the Free Software Foundation, Inc., 59
-  Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-
-  The full GNU General Public License is included in this distribution in the
-  file called LICENSE.
 
   Contact Information:
   Intel Linux Wireless <ilw@linux.intel.com>
--- a/drivers/net/wireless/intel/ipw2x00/ipw2200.h
+++ b/drivers/net/wireless/intel/ipw2x00/ipw2200.h
@@ -1,22 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /******************************************************************************
 
   Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved.
 
-  This program is free software; you can redistribute it and/or modify it
-  under the terms of version 2 of the GNU General Public License as
-  published by the Free Software Foundation.
-
-  This program is distributed in the hope that it will be useful, but WITHOUT
-  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-  more details.
-
-  You should have received a copy of the GNU General Public License along with
-  this program; if not, write to the Free Software Foundation, Inc., 59
-  Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-
-  The full GNU General Public License is included in this distribution in the
-  file called LICENSE.
 
   Contact Information:
   Intel Linux Wireless <ilw@linux.intel.com>
--- a/drivers/net/wireless/intel/ipw2x00/libipw_geo.c
+++ b/drivers/net/wireless/intel/ipw2x00/libipw_geo.c
@@ -1,22 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /******************************************************************************
 
   Copyright(c) 2005 Intel Corporation. All rights reserved.
 
-  This program is free software; you can redistribute it and/or modify it
-  under the terms of version 2 of the GNU General Public License as
-  published by the Free Software Foundation.
-
-  This program is distributed in the hope that it will be useful, but WITHOUT
-  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-  more details.
-
-  You should have received a copy of the GNU General Public License along with
-  this program; if not, write to the Free Software Foundation, Inc., 59
-  Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-
-  The full GNU General Public License is included in this distribution in the
-  file called LICENSE.
 
   Contact Information:
   Intel Linux Wireless <ilw@linux.intel.com>
--- a/drivers/net/wireless/intel/ipw2x00/libipw_module.c
+++ b/drivers/net/wireless/intel/ipw2x00/libipw_module.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*******************************************************************************
 
   Copyright(c) 2004-2005 Intel Corporation. All rights reserved.
@@ -8,21 +9,6 @@
   <j@w1.fi>
   Copyright (c) 2002-2003, Jouni Malinen <j@w1.fi>
 
-  This program is free software; you can redistribute it and/or modify it
-  under the terms of version 2 of the GNU General Public License as
-  published by the Free Software Foundation.
-
-  This program is distributed in the hope that it will be useful, but WITHOUT
-  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-  more details.
-
-  You should have received a copy of the GNU General Public License along with
-  this program; if not, write to the Free Software Foundation, Inc., 59
-  Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-
-  The full GNU General Public License is included in this distribution in the
-  file called LICENSE.
 
   Contact Information:
   Intel Linux Wireless <ilw@linux.intel.com>
--- a/drivers/net/wireless/intel/ipw2x00/libipw_tx.c
+++ b/drivers/net/wireless/intel/ipw2x00/libipw_tx.c
@@ -1,22 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /******************************************************************************
 
   Copyright(c) 2003 - 2005 Intel Corporation. All rights reserved.
 
-  This program is free software; you can redistribute it and/or modify it
-  under the terms of version 2 of the GNU General Public License as
-  published by the Free Software Foundation.
-
-  This program is distributed in the hope that it will be useful, but WITHOUT
-  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-  more details.
-
-  You should have received a copy of the GNU General Public License along with
-  this program; if not, write to the Free Software Foundation, Inc., 59
-  Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-
-  The full GNU General Public License is included in this distribution in the
-  file called LICENSE.
 
   Contact Information:
   Intel Linux Wireless <ilw@linux.intel.com>
--- a/drivers/net/wireless/intel/ipw2x00/libipw_wx.c
+++ b/drivers/net/wireless/intel/ipw2x00/libipw_wx.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /******************************************************************************
 
   Copyright(c) 2004-2005 Intel Corporation. All rights reserved.
@@ -8,21 +9,6 @@
   <j@w1.fi>
   Copyright (c) 2002-2003, Jouni Malinen <j@w1.fi>
 
-  This program is free software; you can redistribute it and/or modify it
-  under the terms of version 2 of the GNU General Public License as
-  published by the Free Software Foundation.
-
-  This program is distributed in the hope that it will be useful, but WITHOUT
-  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
-  more details.
-
-  You should have received a copy of the GNU General Public License along with
-  this program; if not, write to the Free Software Foundation, Inc., 59
-  Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-
-  The full GNU General Public License is included in this distribution in the
-  file called LICENSE.
 
   Contact Information:
   Intel Linux Wireless <ilw@linux.intel.com>



^ permalink raw reply	[flat|nested] 193+ messages in thread

* [Batch 17 patch 57/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 508
  2019-06-04  8:10 [Batch 17 patch 00/57] Batch 17 of random GPL notices/references Thomas Gleixner
                   ` (55 preceding siblings ...)
  2019-06-04  8:11 ` [Batch 17 patch 56/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 507 Thomas Gleixner
@ 2019-06-04  8:11 ` Thomas Gleixner
  2019-06-04 11:23   ` Thomas Gleixner
  56 siblings, 1 reply; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04  8:11 UTC (permalink / raw)
  To: linux-spdx

From: Thomas Gleixner tglx@linutronix.de

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the modified gnu general public license
  delivered with the linux kernel source this program is distributed
  in the hope that it will be useful but without any warranty without
  even the implied warranty of merchantability or fitness for a
  particular purpose see the gnu general public license for more
  details you should find a copy of the gnu general public license in
  usr src linux copying

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=742abb0bab2c
---
 arch/arm/kernel/fiqasm.S   |    1 +
 drivers/net/hamradio/scc.c |   12 +-----------
 2 files changed, 2 insertions(+), 11 deletions(-)

--- a/arch/arm/kernel/fiqasm.S
+++ b/arch/arm/kernel/fiqasm.S
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *  linux/arch/arm/kernel/fiqasm.S
  *
--- a/drivers/net/hamradio/scc.c
+++ b/drivers/net/hamradio/scc.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 #define RCS_ID "$Id: scc.c,v 1.75 1998/11/04 15:15:01 jreuter Exp jreuter $"
 
 #define VERSION "3.0"
@@ -41,17 +42,6 @@
    allowance/licence from the designer of the SCC Board and/or the
    MODEM. 
 
-   This program is free software; you can redistribute it and/or modify 
-   it under the terms of the (modified) GNU General Public License 
-   delivered with the Linux kernel source.
-   
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should find a copy of the GNU General Public License in 
-   /usr/src/linux/COPYING; 
    
    ******************************************************************** 
 



^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 45/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 496
  2019-06-04  8:11 ` [Batch 17 patch 45/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 496 Thomas Gleixner
@ 2019-06-04 10:31   ` Armijn Hemel - Tjaldur Software Governance Solutions
  2019-06-04 11:52   ` Enrico Weigelt, metux IT consult
  2019-06-04 21:12   ` Allison Randal
  2 siblings, 0 replies; 193+ messages in thread
From: Armijn Hemel - Tjaldur Software Governance Solutions @ 2019-06-04 10:31 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 6/4/19 10:11 AM, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
>
> Based on 1 normalized pattern(s):
>
>   licensed under gpl v2
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-only
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Reviewed-by: Armijn Hemel <armijn@tjaldur.nl>

-- 
Armijn Hemel, MSc
Tjaldur Software Governance Solutions


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 47/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 498
  2019-06-04  8:11 ` [Batch 17 patch 47/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 498 Thomas Gleixner
@ 2019-06-04 10:32   ` Armijn Hemel - Tjaldur Software Governance Solutions
  2019-06-04 11:54   ` Enrico Weigelt, metux IT consult
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 193+ messages in thread
From: Armijn Hemel - Tjaldur Software Governance Solutions @ 2019-06-04 10:32 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 6/4/19 10:11 AM, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
>
> Based on 1 normalized pattern(s):
>
>   gplv2 only
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-only
>
> has been chosen to replace the boilerplate/reference in 4 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Reviewed-by: Armijn Hemel <armijn@tjaldur.nl>

-- 
Armijn Hemel, MSc
Tjaldur Software Governance Solutions


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 01/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 451
  2019-06-04  8:10 ` [Batch 17 patch 01/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 451 Thomas Gleixner
@ 2019-06-04 10:51   ` Enrico Weigelt, metux IT consult
  2019-06-04 18:34   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 10:51 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:10, Thomas Gleixner wrote:
> 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).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> 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@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>
> 
> 

Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 02/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 452
  2019-06-04  8:10 ` [Batch 17 patch 02/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 452 Thomas Gleixner
@ 2019-06-04 10:52   ` Enrico Weigelt, metux IT consult
  2019-06-04 18:35   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 10:52 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:10, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this program is free software void you can redistribute it and or
>    modify it under the terms of the gnu general public license version
>    2 as published by the free software foundation this program is
>    distributed in the hope that it will be useful but without any
>    warranty without even the implied warranty of merchantability or
>    fitness for a particular purpose see the gnu general public license
>    for more details you should have received a copy of the gnu general
>    public license along with this program if not see http void www gnu
>    org licenses
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=ac10859af892
> ---
>   arch/arm64/kernel/sys32.c |   13 +------------
>   1 file changed, 1 insertion(+), 12 deletions(-)
> 
> --- a/arch/arm64/kernel/sys32.c
> +++ b/arch/arm64/kernel/sys32.c
> @@ -1,19 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * arch/arm64/kernel/sys32.c
>    *
>    * Copyright (C) 2015 ARM Ltd.
> - *
> - * This program is free software(void); you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program.  If not, see <http(void);//www.gnu.org/licenses/>.
>    */
>   
>   /*
> 
> 

Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 03/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 453
  2019-06-04  8:10 ` [Batch 17 patch 03/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 453 Thomas Gleixner
@ 2019-06-04 10:52   ` Enrico Weigelt, metux IT consult
  2019-06-04 10:58   ` Armijn Hemel - Tjaldur Software Governance Solutions
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 10:52 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:10, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 2 normalized pattern(s):
> 
>    this file is provided under a gplv2 license when using or
>    redistributing this file you may do so under that license gpl
>    license summary [copyright] [c] [2016] [t] [platforms] [all]
>    [rights] [reserved] this program is free software you can
>    redistribute it and or modify it under the terms and conditions of
>    the gnu general public license version 2 as published by the free
>    software foundation this program is distributed in the hope that it
>    will be useful but without any warranty without even the implied
>    warranty of merchantability or fitness for a particular purpose see
>    the gnu general public license for more details you should have
>    received a copy of the gnu general public license along with this
>    program if not it can be found http www gnu org licenses the full
>    gnu general public license is included in this distribution in the
>    file called copying this software is provided by the copyright
>    holders and contributors as is and any express or implied warranties
>    including but not limited to the implied warranties of
>    merchantability and fitness for a particular purpose are disclaimed
>    in no event shall the copyright owner or contributors be liable for
>    any direct indirect incidental special exemplary or consequential
>    damages including but not limited to procurement of substitute goods
>    or services loss of use data or profits or business interruption
>    however caused and on any theory of liability whether in contract
>    strict liability or tort including negligence or otherwise arising
>    in any way out of the use of this software even if advised of the
>    possibility of such damage
> 
>    this file is provided under a gplv2 license when using or
>    redistributing this file you may do so under that license gpl
>    license summary [copyright] [c] [2016] [2018] [t] [platforms] [jsc]
>    [all] [rights] [reserved] this program is free software you can
>    redistribute it and or modify it under the terms and conditions of
>    the gnu general public license version 2 as published by the free
>    software foundation this program is distributed in the hope that it
>    will be useful but without any warranty without even the implied
>    warranty of merchantability or fitness for a particular purpose see
>    the gnu general public license for more details you should have
>    received a copy of the gnu general public license along with this
>    program if not [one] can be found http www gnu org licenses the full
>    gnu general public license is included in this distribution in the
>    file called copying this software is provided by the copyright
>    holders and contributors as is and any express or implied warranties
>    including but not limited to the implied warranties of
>    merchantability and fitness for a particular purpose are disclaimed
>    in no event shall the copyright owner or contributors be liable for
>    any direct indirect incidental special exemplary or consequential
>    damages including but not limited to procurement of substitute goods
>    or services loss of use data or profits or business interruption
>    however caused and on any theory of liability whether in contract
>    strict liability or tort including negligence or otherwise arising
>    in any way out of the use of this software even if advised of the
>    possibility of such damage
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 3 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=7060a33d0101
> ---
>   drivers/misc/eeprom/idt_89hpesx.c |   33 +--------------------------------
>   drivers/ntb/hw/idt/ntb_hw_idt.c   |   33 +--------------------------------
>   drivers/ntb/hw/idt/ntb_hw_idt.h   |   33 +--------------------------------
>   3 files changed, 3 insertions(+), 96 deletions(-)
> 
> --- a/drivers/misc/eeprom/idt_89hpesx.c
> +++ b/drivers/misc/eeprom/idt_89hpesx.c
> @@ -1,38 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
> - *   This file is provided under a GPLv2 license.  When using or
> - *   redistributing this file, you may do so under that license.
> - *
> - *   GPL LICENSE SUMMARY
> - *
>    *   Copyright (C) 2016 T-Platforms. All Rights Reserved.
>    *
> - *   This program is free software; you can redistribute it and/or modify it
> - *   under the terms and conditions of the GNU General Public License,
> - *   version 2, as published by the Free Software Foundation.
> - *
> - *   This program is distributed in the hope that it will be useful, but WITHOUT
> - *   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> - *   FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
> - *   more details.
> - *
> - *   You should have received a copy of the GNU General Public License along
> - *   with this program; if not, it can be found <http://www.gnu.org/licenses/>.
> - *
> - *   The full GNU General Public License is included in this distribution in
> - *   the file called "COPYING".
> - *
> - *   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
> - *   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
> - *   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
> - *   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
> - *   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
> - *   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
> - *   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
> - *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
> - *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
> - *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
> - *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
> - *
>    * IDT PCIe-switch NTB Linux driver
>    *
>    * Contact Information:
> --- a/drivers/ntb/hw/idt/ntb_hw_idt.c
> +++ b/drivers/ntb/hw/idt/ntb_hw_idt.c
> @@ -1,38 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
> - *   This file is provided under a GPLv2 license.  When using or
> - *   redistributing this file, you may do so under that license.
> - *
> - *   GPL LICENSE SUMMARY
> - *
>    *   Copyright (C) 2016-2018 T-Platforms JSC All Rights Reserved.
>    *
> - *   This program is free software; you can redistribute it and/or modify it
> - *   under the terms and conditions of the GNU General Public License,
> - *   version 2, as published by the Free Software Foundation.
> - *
> - *   This program is distributed in the hope that it will be useful, but
> - *   WITHOUT ANY WARRANTY; without even the implied warranty of
> - *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
> - *   Public License for more details.
> - *
> - *   You should have received a copy of the GNU General Public License along
> - *   with this program; if not, one can be found http://www.gnu.org/licenses/.
> - *
> - *   The full GNU General Public License is included in this distribution in
> - *   the file called "COPYING".
> - *
> - *   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
> - *   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
> - *   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
> - *   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
> - *   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
> - *   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
> - *   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
> - *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
> - *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
> - *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
> - *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
> - *
>    * IDT PCIe-switch NTB Linux driver
>    *
>    * Contact Information:
> --- a/drivers/ntb/hw/idt/ntb_hw_idt.h
> +++ b/drivers/ntb/hw/idt/ntb_hw_idt.h
> @@ -1,38 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
> - *   This file is provided under a GPLv2 license.  When using or
> - *   redistributing this file, you may do so under that license.
> - *
> - *   GPL LICENSE SUMMARY
> - *
>    *   Copyright (C) 2016-2018 T-Platforms JSC All Rights Reserved.
>    *
> - *   This program is free software; you can redistribute it and/or modify it
> - *   under the terms and conditions of the GNU General Public License,
> - *   version 2, as published by the Free Software Foundation.
> - *
> - *   This program is distributed in the hope that it will be useful, but
> - *   WITHOUT ANY WARRANTY; without even the implied warranty of
> - *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
> - *   Public License for more details.
> - *
> - *   You should have received a copy of the GNU General Public License along
> - *   with this program; if not, one can be found http://www.gnu.org/licenses/.
> - *
> - *   The full GNU General Public License is included in this distribution in
> - *   the file called "COPYING".
> - *
> - *   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
> - *   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
> - *   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
> - *   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
> - *   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
> - *   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
> - *   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
> - *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
> - *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
> - *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
> - *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
> - *
>    * IDT PCIe-switch NTB Linux driver
>    *
>    * Contact Information:
> 
> 

Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 04/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 454
  2019-06-04  8:10 ` [Batch 17 patch 04/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 454 Thomas Gleixner
@ 2019-06-04 10:53   ` Enrico Weigelt, metux IT consult
  2019-06-04 18:36   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 10:53 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:10, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this program is free software you can distribute it and or modify it
>    under the terms of the gnu general public license as published by
>    the free software foundation version 2 of the license
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 8 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=a69dd74ff3f0
> ---
>   arch/mips/math-emu/dp_2008class.c |    5 +----
>   arch/mips/math-emu/dp_fmax.c      |    5 +----
>   arch/mips/math-emu/dp_fmin.c      |    5 +----
>   arch/mips/math-emu/dp_maddf.c     |    5 +----
>   arch/mips/math-emu/sp_2008class.c |    5 +----
>   arch/mips/math-emu/sp_fmax.c      |    5 +----
>   arch/mips/math-emu/sp_fmin.c      |    5 +----
>   arch/mips/math-emu/sp_maddf.c     |    5 +----
>   8 files changed, 8 insertions(+), 32 deletions(-)
> 
> --- a/arch/mips/math-emu/dp_2008class.c
> +++ b/arch/mips/math-emu/dp_2008class.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * IEEE754 floating point arithmetic
>    * double precision: CLASS.f
> @@ -6,10 +7,6 @@
>    * MIPS floating point support
>    * Copyright (C) 2015 Imagination Technologies, Ltd.
>    * Author: Markos Chandras <markos.chandras@imgtec.com>
> - *
> - *  This program is free software; you can distribute it and/or modify it
> - *  under the terms of the GNU General Public License as published by the
> - *  Free Software Foundation; version 2 of the License.
>    */
>   
>   #include "ieee754dp.h"
> --- a/arch/mips/math-emu/dp_fmax.c
> +++ b/arch/mips/math-emu/dp_fmax.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * IEEE754 floating point arithmetic
>    * double precision: MIN{,A}.f
> @@ -10,10 +11,6 @@
>    * MIPS floating point support
>    * Copyright (C) 2015 Imagination Technologies, Ltd.
>    * Author: Markos Chandras <markos.chandras@imgtec.com>
> - *
> - *  This program is free software; you can distribute it and/or modify it
> - *  under the terms of the GNU General Public License as published by the
> - *  Free Software Foundation; version 2 of the License.
>    */
>   
>   #include "ieee754dp.h"
> --- a/arch/mips/math-emu/dp_fmin.c
> +++ b/arch/mips/math-emu/dp_fmin.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * IEEE754 floating point arithmetic
>    * double precision: MIN{,A}.f
> @@ -10,10 +11,6 @@
>    * MIPS floating point support
>    * Copyright (C) 2015 Imagination Technologies, Ltd.
>    * Author: Markos Chandras <markos.chandras@imgtec.com>
> - *
> - *  This program is free software; you can distribute it and/or modify it
> - *  under the terms of the GNU General Public License as published by the
> - *  Free Software Foundation; version 2 of the License.
>    */
>   
>   #include "ieee754dp.h"
> --- a/arch/mips/math-emu/dp_maddf.c
> +++ b/arch/mips/math-emu/dp_maddf.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * IEEE754 floating point arithmetic
>    * double precision: MADDF.f (Fused Multiply Add)
> @@ -6,10 +7,6 @@
>    * MIPS floating point support
>    * Copyright (C) 2015 Imagination Technologies, Ltd.
>    * Author: Markos Chandras <markos.chandras@imgtec.com>
> - *
> - *  This program is free software; you can distribute it and/or modify it
> - *  under the terms of the GNU General Public License as published by the
> - *  Free Software Foundation; version 2 of the License.
>    */
>   
>   #include "ieee754dp.h"
> --- a/arch/mips/math-emu/sp_2008class.c
> +++ b/arch/mips/math-emu/sp_2008class.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * IEEE754 floating point arithmetic
>    * single precision: CLASS.f
> @@ -6,10 +7,6 @@
>    * MIPS floating point support
>    * Copyright (C) 2015 Imagination Technologies, Ltd.
>    * Author: Markos Chandras <markos.chandras@imgtec.com>
> - *
> - *  This program is free software; you can distribute it and/or modify it
> - *  under the terms of the GNU General Public License as published by the
> - *  Free Software Foundation; version 2 of the License.
>    */
>   
>   #include "ieee754sp.h"
> --- a/arch/mips/math-emu/sp_fmax.c
> +++ b/arch/mips/math-emu/sp_fmax.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * IEEE754 floating point arithmetic
>    * single precision: MAX{,A}.f
> @@ -10,10 +11,6 @@
>    * MIPS floating point support
>    * Copyright (C) 2015 Imagination Technologies, Ltd.
>    * Author: Markos Chandras <markos.chandras@imgtec.com>
> - *
> - *  This program is free software; you can distribute it and/or modify it
> - *  under the terms of the GNU General Public License as published by the
> - *  Free Software Foundation; version 2 of the License.
>    */
>   
>   #include "ieee754sp.h"
> --- a/arch/mips/math-emu/sp_fmin.c
> +++ b/arch/mips/math-emu/sp_fmin.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * IEEE754 floating point arithmetic
>    * single precision: MIN{,A}.f
> @@ -10,10 +11,6 @@
>    * MIPS floating point support
>    * Copyright (C) 2015 Imagination Technologies, Ltd.
>    * Author: Markos Chandras <markos.chandras@imgtec.com>
> - *
> - *  This program is free software; you can distribute it and/or modify it
> - *  under the terms of the GNU General Public License as published by the
> - *  Free Software Foundation; version 2 of the License.
>    */
>   
>   #include "ieee754sp.h"
> --- a/arch/mips/math-emu/sp_maddf.c
> +++ b/arch/mips/math-emu/sp_maddf.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * IEEE754 floating point arithmetic
>    * single precision: MADDF.f (Fused Multiply Add)
> @@ -6,10 +7,6 @@
>    * MIPS floating point support
>    * Copyright (C) 2015 Imagination Technologies, Ltd.
>    * Author: Markos Chandras <markos.chandras@imgtec.com>
> - *
> - *  This program is free software; you can distribute it and/or modify it
> - *  under the terms of the GNU General Public License as published by the
> - *  Free Software Foundation; version 2 of the License.
>    */
>   
>   #include "ieee754sp.h"
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 05/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 455
  2019-06-04  8:10 ` [Batch 17 patch 05/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 455 Thomas Gleixner
@ 2019-06-04 10:54   ` Enrico Weigelt, metux IT consult
  2019-06-04 18:53   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 10:54 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:10, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this package is free software you can redistribute it and or modify
>    it under the terms of the gnu general public license version 2 and
>    only version 2 as published by the free software foundation
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=92692d16f0d0
> ---
>   drivers/power/supply/max14656_charger_detector.c |    6 +-----
>   1 file changed, 1 insertion(+), 5 deletions(-)
> 
> --- a/drivers/power/supply/max14656_charger_detector.c
> +++ b/drivers/power/supply/max14656_charger_detector.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Maxim MAX14656 / AL32 USB Charger Detector driver
>    *
> @@ -7,11 +8,6 @@
>    * Components from Maxim AL32 Charger detection Driver for MX50 Yoshi Board
>    * Copyright (C) Amazon Technologies Inc. All rights reserved.
>    * Manish Lachwani (lachwani@lab126.com)
> - *
> - * This package is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 and
> - * only version 2 as published by the Free Software Foundation.
> - *
>    */
>   #include <linux/module.h>
>   #include <linux/init.h>
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 06/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 456
  2019-06-04  8:10 ` [Batch 17 patch 06/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 456 Thomas Gleixner
@ 2019-06-04 10:54   ` Enrico Weigelt, metux IT consult
  2019-06-04 18:54   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 10:54 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:10, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    driver is free software you can redistribute it and or modify it
>    under the terms of the gnu general public license as published by
>    the free software foundation version 2 the [audiowerk2] [alsa]
>    driver is distributed in the hope that it will be useful but without
>    any warranty without even the implied warranty of merchantability or
>    fitness for a particular purpose see the gnu general public license
>    for more details you should have received a copy of the gnu general
>    public license along with the [audiowerk2] [alsa] driver if not
>    write to the free software foundation inc 51 franklin street fifth
>    floor boston ma 02110 1301 usa
> 
> 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@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=72436dcf4678
> ---
>   sound/pci/aw2/aw2-alsa.c    |   15 +--------------
>   sound/pci/aw2/aw2-saa7146.c |   15 +--------------
>   sound/pci/aw2/aw2-saa7146.h |   15 +--------------
>   sound/pci/aw2/aw2-tsl.c     |   15 +--------------
>   sound/pci/aw2/saa7146.h     |   15 +--------------
>   5 files changed, 5 insertions(+), 70 deletions(-)
> 
> --- a/sound/pci/aw2/aw2-alsa.c
> +++ b/sound/pci/aw2/aw2-alsa.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*****************************************************************************
>    *
>    * Copyright (C) 2008 Cedric Bregardis <cedric.bregardis@free.fr> and
> @@ -5,20 +6,6 @@
>    *
>    * This file is part of the Audiowerk2 ALSA driver
>    *
> - * The Audiowerk2 ALSA driver is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; version 2.
> - *
> - * The Audiowerk2 ALSA driver is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with the Audiowerk2 ALSA driver; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
> - * USA.
> - *
>    *****************************************************************************/
>   #include <linux/init.h>
>   #include <linux/pci.h>
> --- a/sound/pci/aw2/aw2-saa7146.c
> +++ b/sound/pci/aw2/aw2-saa7146.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*****************************************************************************
>    *
>    * Copyright (C) 2008 Cedric Bregardis <cedric.bregardis@free.fr> and
> @@ -5,20 +6,6 @@
>    *
>    * This file is part of the Audiowerk2 ALSA driver
>    *
> - * The Audiowerk2 ALSA driver is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; version 2.
> - *
> - * The Audiowerk2 ALSA driver is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with the Audiowerk2 ALSA driver; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
> - * USA.
> - *
>    *****************************************************************************/
>   
>   #define AW2_SAA7146_M
> --- a/sound/pci/aw2/aw2-saa7146.h
> +++ b/sound/pci/aw2/aw2-saa7146.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*****************************************************************************
>    *
>    * Copyright (C) 2008 Cedric Bregardis <cedric.bregardis@free.fr> and
> @@ -5,20 +6,6 @@
>    *
>    * This file is part of the Audiowerk2 ALSA driver
>    *
> - * The Audiowerk2 ALSA driver is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; version 2.
> - *
> - * The Audiowerk2 ALSA driver is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with the Audiowerk2 ALSA driver; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
> - * USA.
> - *
>    *****************************************************************************/
>   
>   #ifndef AW2_SAA7146_H
> --- a/sound/pci/aw2/aw2-tsl.c
> +++ b/sound/pci/aw2/aw2-tsl.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*****************************************************************************
>    *
>    * Copyright (C) 2008 Cedric Bregardis <cedric.bregardis@free.fr> and
> @@ -7,20 +8,6 @@
>    *
>    * This file is part of the Audiowerk2 ALSA driver
>    *
> - * The Audiowerk2 ALSA driver is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; version 2.
> - *
> - * The Audiowerk2 ALSA driver is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with the Audiowerk2 ALSA driver; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
> - * USA.
> - *
>    *****************************************************************************/
>   
>   #define TSL_WS0		(1UL << 31)
> --- a/sound/pci/aw2/saa7146.h
> +++ b/sound/pci/aw2/saa7146.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*****************************************************************************
>    *
>    * Copyright (C) 2008 Cedric Bregardis <cedric.bregardis@free.fr> and
> @@ -5,20 +6,6 @@
>    *
>    * This file is part of the Audiowerk2 ALSA driver
>    *
> - * The Audiowerk2 ALSA driver is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; version 2.
> - *
> - * The Audiowerk2 ALSA driver is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with the Audiowerk2 ALSA driver; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
> - * USA.
> - *
>    *****************************************************************************/
>   
>   /* SAA7146 registers */
> 
> 

Reviewed-By: Enrico Weigelt <info@metux.net>
-- 
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info@metux.net -- +49-151-27565287

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 07/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 457
  2019-06-04  8:10 ` [Batch 17 patch 07/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 457 Thomas Gleixner
@ 2019-06-04 10:55   ` Enrico Weigelt, metux IT consult
  2019-06-04 18:55   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 10:55 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:10, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 2 normalized pattern(s):
> 
>    this file is licensed under gplv2 this file is part of the [aic94xx]
>    driver the [aic94xx] driver is free software you can redistribute it
>    and or modify it under the terms of the gnu general public license
>    as published by the free software foundation version 2 of the
>    license the [aic94xx] driver is distributed in the hope that it will
>    be useful but without any warranty without even the implied warranty
>    of merchantability or fitness for a particular purpose see the gnu
>    general public license for more details you should have received a
>    copy of the gnu general public license along with [aic94xx] driver
>    if not write to the free software foundation inc 51 franklin st
>    fifth floor boston ma 02110 1301 usa
> 
>    this file is licensed under gplv2 this file is part of the
>    [88se64xx] [88se94xx] driver the [88se64xx] [88se94xx] driver is
>    free software you can redistribute it and or modify it under the
>    terms of the gnu general public license as published by the free
>    software foundation version 2 of the license the [88se64xx]
>    [88se94xx] driver is distributed in the hope that it will be useful
>    but without any warranty without even the implied warranty of
>    merchantability or fitness for a particular purpose see the gnu
>    general public license for more details you should have received a
>    copy of the gnu general public license along with [88se64xx]
>    [88se94xx] driver if not write to the free software foundation inc
>    51 franklin st fifth floor boston ma 02110 1301 usa
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 2 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=44cea5666279
> ---
>   drivers/scsi/aic94xx/Kconfig |   20 +-------------------
>   drivers/scsi/mvsas/Kconfig   |   20 +-------------------
>   2 files changed, 2 insertions(+), 38 deletions(-)
> 
> --- a/drivers/scsi/aic94xx/Kconfig
> +++ b/drivers/scsi/aic94xx/Kconfig
> @@ -1,28 +1,10 @@
> +# SPDX-License-Identifier: GPL-2.0-only
>   #
>   # Kernel configuration file for aic94xx SAS/SATA driver.
>   #
>   # Copyright (c) 2005 Adaptec, Inc.  All rights reserved.
>   # Copyright (c) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
>   #
> -# This file is licensed under GPLv2.
> -#
> -# This file is part of the aic94xx driver.
> -#
> -# The aic94xx driver is free software; you can redistribute it and/or
> -# modify it under the terms of the GNU General Public License as
> -# published by the Free Software Foundation; version 2 of the
> -# License.
> -#
> -# The aic94xx driver is distributed in the hope that it will be useful,
> -# but WITHOUT ANY WARRANTY; without even the implied warranty of
> -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> -# General Public License for more details.
> -#
> -# You should have received a copy of the GNU General Public License
> -# along with Aic94xx Driver; if not, write to the Free Software
> -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
> -#
> -#
>   
>   config SCSI_AIC94XX
>   	tristate "Adaptec AIC94xx SAS/SATA support"
> --- a/drivers/scsi/mvsas/Kconfig
> +++ b/drivers/scsi/mvsas/Kconfig
> @@ -1,3 +1,4 @@
> +# SPDX-License-Identifier: GPL-2.0-only
>   #
>   # Kernel configuration file for 88SE64XX/88SE94XX SAS/SATA driver.
>   #
> @@ -5,25 +6,6 @@
>   # Copyright 2008 Marvell. <kewei@marvell.com>
>   # Copyright 2009-2011 Marvell. <yuxiangl@marvell.com>
>   #
> -# This file is licensed under GPLv2.
> -#
> -# This file is part of the 88SE64XX/88SE94XX driver.
> -#
> -# The 88SE64XX/88SE94XX driver is free software; you can redistribute
> -# it and/or modify it under the terms of the GNU General Public License
> -# as published by the Free Software Foundation; version 2 of the
> -# License.
> -#
> -# The 88SE64XX/88SE94XX driver is distributed in the hope that it will be
> -# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
> -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> -# General Public License for more details.
> -#
> -# You should have received a copy of the GNU General Public License
> -# along with 88SE64XX/88SE94XX Driver; if not, write to the Free Software
> -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
> -#
> -#
>   
>   config SCSI_MVSAS
>   	tristate "Marvell 88SE64XX/88SE94XX SAS/SATA support"
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 03/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 453
  2019-06-04  8:10 ` [Batch 17 patch 03/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 453 Thomas Gleixner
  2019-06-04 10:52   ` Enrico Weigelt, metux IT consult
@ 2019-06-04 10:58   ` Armijn Hemel - Tjaldur Software Governance Solutions
  2019-06-04 11:08     ` Thomas Gleixner
  1 sibling, 1 reply; 193+ messages in thread
From: Armijn Hemel - Tjaldur Software Governance Solutions @ 2019-06-04 10:58 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 6/4/19 10:10 AM, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
>
> Based on 2 normalized pattern(s):
>
>   this file is provided under a gplv2 license when using or
>   redistributing this file you may do so under that license gpl
>   license summary [copyright] [c] [2016] [t] [platforms] [all]
>   [rights] [reserved] this program is free software you can
>   redistribute it and or modify it under the terms and conditions of
>   the gnu general public license version 2 as published by the free
>   software foundation this program is distributed in the hope that it
>   will be useful but without any warranty without even the implied
>   warranty of merchantability or fitness for a particular purpose see
>   the gnu general public license for more details you should have
>   received a copy of the gnu general public license along with this
>   program if not it can be found http www gnu org licenses the full
>   gnu general public license is included in this distribution in the
>   file called copying this software is provided by the copyright
>   holders and contributors as is and any express or implied warranties
>   including but not limited to the implied warranties of
>   merchantability and fitness for a particular purpose are disclaimed
>   in no event shall the copyright owner or contributors be liable for
>   any direct indirect incidental special exemplary or consequential
>   damages including but not limited to procurement of substitute goods
>   or services loss of use data or profits or business interruption
>   however caused and on any theory of liability whether in contract
>   strict liability or tort including negligence or otherwise arising
>   in any way out of the use of this software even if advised of the
>   possibility of such damage
>
>   this file is provided under a gplv2 license when using or
>   redistributing this file you may do so under that license gpl
>   license summary [copyright] [c] [2016] [2018] [t] [platforms] [jsc]
>   [all] [rights] [reserved] this program is free software you can
>   redistribute it and or modify it under the terms and conditions of
>   the gnu general public license version 2 as published by the free
>   software foundation this program is distributed in the hope that it
>   will be useful but without any warranty without even the implied
>   warranty of merchantability or fitness for a particular purpose see
>   the gnu general public license for more details you should have
>   received a copy of the gnu general public license along with this
>   program if not [one] can be found http www gnu org licenses the full
>   gnu general public license is included in this distribution in the
>   file called copying this software is provided by the copyright
>   holders and contributors as is and any express or implied warranties
>   including but not limited to the implied warranties of
>   merchantability and fitness for a particular purpose are disclaimed
>   in no event shall the copyright owner or contributors be liable for
>   any direct indirect incidental special exemplary or consequential
>   damages including but not limited to procurement of substitute goods
>   or services loss of use data or profits or business interruption
>   however caused and on any theory of liability whether in contract
>   strict liability or tort including negligence or otherwise arising
>   in any way out of the use of this software even if advised of the
>   possibility of such damage
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-only
>
> has been chosen to replace the boilerplate/reference in 3 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=7060a33d0101
> ---
>  drivers/misc/eeprom/idt_89hpesx.c |   33 +--------------------------------
>  drivers/ntb/hw/idt/ntb_hw_idt.c   |   33 +--------------------------------
>  drivers/ntb/hw/idt/ntb_hw_idt.h   |   33 +--------------------------------
>  3 files changed, 3 insertions(+), 96 deletions(-)
>
> --- a/drivers/misc/eeprom/idt_89hpesx.c
> +++ b/drivers/misc/eeprom/idt_89hpesx.c
> @@ -1,38 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>  /*
> - *   This file is provided under a GPLv2 license.  When using or
> - *   redistributing this file, you may do so under that license.
> - *
> - *   GPL LICENSE SUMMARY
> - *
>   *   Copyright (C) 2016 T-Platforms. All Rights Reserved.
>   *
> - *   This program is free software; you can redistribute it and/or modify it
> - *   under the terms and conditions of the GNU General Public License,
> - *   version 2, as published by the Free Software Foundation.
> - *
> - *   This program is distributed in the hope that it will be useful, but WITHOUT
> - *   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> - *   FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
> - *   more details.
> - *
> - *   You should have received a copy of the GNU General Public License along
> - *   with this program; if not, it can be found <http://www.gnu.org/licenses/>.
> - *
> - *   The full GNU General Public License is included in this distribution in
> - *   the file called "COPYING".
> - *
> - *   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
> - *   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
> - *   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
> - *   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
> - *   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
> - *   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
> - *   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
> - *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
> - *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
> - *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
> - *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
> - *
>   * IDT PCIe-switch NTB Linux driver
>   *
>   * Contact Information:


Add to "review later", custom disclaimer.


armijn


-- 
Armijn Hemel, MSc
Tjaldur Software Governance Solutions


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 08/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 459
  2019-06-04  8:10 ` [Batch 17 patch 08/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 459 Thomas Gleixner
@ 2019-06-04 10:58   ` Enrico Weigelt, metux IT consult
  2019-06-04 18:56   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 10:58 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:10, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this program is free software you can redistribute it and or modify
>    it under the terms of the gnu general public license version 2 as
>    published by the free software foundation the gpl this program is
>    distributed in the hope that it will be useful but without any
>    warranty without even the implied warranty of merchantability or
>    fitness for a particular purpose see the gnu general public license
>    version 2 gplv2 for more details you should have received a copy of
>    the gnu general public license version 2 gplv2 along with this
>    source code
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 16 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=17536451b960
> ---
>   drivers/acpi/pci_mcfg.c           |   13 +------------
>   drivers/clk/bcm/clk-sr.c          |   13 +------------
>   drivers/crypto/bcm/cipher.c       |   13 +------------
>   drivers/crypto/bcm/cipher.h       |   13 +------------
>   drivers/crypto/bcm/spu.c          |   13 +------------
>   drivers/crypto/bcm/spu.h          |   13 +------------
>   drivers/crypto/bcm/spu2.c         |   13 +------------
>   drivers/crypto/bcm/spu2.h         |   13 +------------
>   drivers/crypto/bcm/spum.h         |   13 +------------
>   drivers/crypto/bcm/util.c         |   13 +------------
>   drivers/crypto/bcm/util.h         |   13 +------------
>   drivers/iio/adc/bcm_iproc_adc.c   |   13 +------------
>   drivers/mailbox/bcm-pdc-mailbox.c |   13 +------------
>   drivers/spi/spi-bcm-qspi.c        |   13 +------------
>   drivers/spi/spi-bcm-qspi.h        |   13 +------------
>   drivers/spi/spi-brcmstb-qspi.c    |   13 +------------
>   16 files changed, 16 insertions(+), 192 deletions(-)
> 
> --- a/drivers/acpi/pci_mcfg.c
> +++ b/drivers/acpi/pci_mcfg.c
> @@ -1,20 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2016 Broadcom
>    *	Author: Jayachandran C <jchandra@broadcom.com>
>    * Copyright (C) 2016 Semihalf
>    * 	Author: Tomasz Nowicki <tn@semihalf.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License, version 2, as
> - * published by the Free Software Foundation (the "GPL").
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License version 2 (GPLv2) for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * version 2 (GPLv2) along with this source code.
>    */
>   
>   #define pr_fmt(fmt) "ACPI: " fmt
> --- a/drivers/clk/bcm/clk-sr.c
> +++ b/drivers/clk/bcm/clk-sr.c
> @@ -1,17 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright 2017 Broadcom
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License, version 2, as
> - * published by the Free Software Foundation (the "GPL").
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License version 2 (GPLv2) for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * version 2 (GPLv2) along with this source code.
>    */
>   
>   #include <linux/err.h>
> --- a/drivers/crypto/bcm/cipher.c
> +++ b/drivers/crypto/bcm/cipher.c
> @@ -1,17 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright 2016 Broadcom
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License, version 2, as
> - * published by the Free Software Foundation (the "GPL").
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License version 2 (GPLv2) for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * version 2 (GPLv2) along with this source code.
>    */
>   
>   #include <linux/err.h>
> --- a/drivers/crypto/bcm/cipher.h
> +++ b/drivers/crypto/bcm/cipher.h
> @@ -1,17 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Copyright 2016 Broadcom
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License, version 2, as
> - * published by the Free Software Foundation (the "GPL").
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License version 2 (GPLv2) for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * version 2 (GPLv2) along with this source code.
>    */
>   
>   #ifndef _CIPHER_H
> --- a/drivers/crypto/bcm/spu.c
> +++ b/drivers/crypto/bcm/spu.c
> @@ -1,17 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright 2016 Broadcom
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License, version 2, as
> - * published by the Free Software Foundation (the "GPL").
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License version 2 (GPLv2) for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * version 2 (GPLv2) along with this source code.
>    */
>   
>   #include <linux/kernel.h>
> --- a/drivers/crypto/bcm/spu.h
> +++ b/drivers/crypto/bcm/spu.h
> @@ -1,17 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Copyright 2016 Broadcom
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License, version 2, as
> - * published by the Free Software Foundation (the "GPL").
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License version 2 (GPLv2) for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * version 2 (GPLv2) along with this source code.
>    */
>   
>   /*
> --- a/drivers/crypto/bcm/spu2.c
> +++ b/drivers/crypto/bcm/spu2.c
> @@ -1,17 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright 2016 Broadcom
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License, version 2, as
> - * published by the Free Software Foundation (the "GPL").
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License version 2 (GPLv2) for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * version 2 (GPLv2) along with this source code.
>    */
>   
>   /*
> --- a/drivers/crypto/bcm/spu2.h
> +++ b/drivers/crypto/bcm/spu2.h
> @@ -1,17 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Copyright 2016 Broadcom
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License, version 2, as
> - * published by the Free Software Foundation (the "GPL").
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License version 2 (GPLv2) for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * version 2 (GPLv2) along with this source code.
>    */
>   
>   /*
> --- a/drivers/crypto/bcm/spum.h
> +++ b/drivers/crypto/bcm/spum.h
> @@ -1,17 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Copyright 2016 Broadcom
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License, version 2, as
> - * published by the Free Software Foundation (the "GPL").
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License version 2 (GPLv2) for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * version 2 (GPLv2) along with this source code.
>    */
>   
>   /*
> --- a/drivers/crypto/bcm/util.c
> +++ b/drivers/crypto/bcm/util.c
> @@ -1,17 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright 2016 Broadcom
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License, version 2, as
> - * published by the Free Software Foundation (the "GPL").
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License version 2 (GPLv2) for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * version 2 (GPLv2) along with this source code.
>    */
>   
>   #include <linux/debugfs.h>
> --- a/drivers/crypto/bcm/util.h
> +++ b/drivers/crypto/bcm/util.h
> @@ -1,17 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Copyright 2016 Broadcom
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License, version 2, as
> - * published by the Free Software Foundation (the "GPL").
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License version 2 (GPLv2) for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * version 2 (GPLv2) along with this source code.
>    */
>   
>   #ifndef _UTIL_H
> --- a/drivers/iio/adc/bcm_iproc_adc.c
> +++ b/drivers/iio/adc/bcm_iproc_adc.c
> @@ -1,17 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright 2016 Broadcom
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License, version 2, as
> - * published by the Free Software Foundation (the "GPL").
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License version 2 (GPLv2) for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * version 2 (GPLv2) along with this source code.
>    */
>   
>   #include <linux/module.h>
> --- a/drivers/mailbox/bcm-pdc-mailbox.c
> +++ b/drivers/mailbox/bcm-pdc-mailbox.c
> @@ -1,17 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright 2016 Broadcom
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License, version 2, as
> - * published by the Free Software Foundation (the "GPL").
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License version 2 (GPLv2) for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * version 2 (GPLv2) along with this source code.
>    */
>   
>   /*
> --- a/drivers/spi/spi-bcm-qspi.c
> +++ b/drivers/spi/spi-bcm-qspi.c
> @@ -1,19 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Driver for Broadcom BRCMSTB, NSP,  NS2, Cygnus SPI Controllers
>    *
>    * Copyright 2016 Broadcom
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License, version 2, as
> - * published by the Free Software Foundation (the "GPL").
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License version 2 (GPLv2) for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * version 2 (GPLv2) along with this source code.
>    */
>   
>   #include <linux/clk.h>
> --- a/drivers/spi/spi-bcm-qspi.h
> +++ b/drivers/spi/spi-bcm-qspi.h
> @@ -1,17 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Copyright 2016 Broadcom
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License, version 2, as
> - * published by the Free Software Foundation (the "GPL").
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License version 2 (GPLv2) for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * version 2 (GPLv2) along with this source code.
>    */
>   
>   #ifndef __SPI_BCM_QSPI_H__
> --- a/drivers/spi/spi-brcmstb-qspi.c
> +++ b/drivers/spi/spi-brcmstb-qspi.c
> @@ -1,17 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright 2016 Broadcom
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License, version 2, as
> - * published by the Free Software Foundation (the "GPL").
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License version 2 (GPLv2) for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * version 2 (GPLv2) along with this source code.
>    */
>   
>   #include <linux/device.h>
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 09/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 460
  2019-06-04  8:10 ` [Batch 17 patch 09/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 460 Thomas Gleixner
@ 2019-06-04 11:02   ` Enrico Weigelt, metux IT consult
  2019-06-04 18:57   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:02 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:10, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this program is free software you can redistribute it and or modify
>    it under the terms of the gnu general public license version 2 as
>    published by the free software foundation http www opensource org
>    licenses gpl license html http www gnu org copyleft gpl html
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 3 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=fb1e50b89a20
> ---
>   drivers/clk/imx/clk-cpu.c |    8 +-------
>   drivers/nvmem/imx-iim.c   |    8 +-------
>   drivers/nvmem/imx-ocotp.c |    8 +-------
>   3 files changed, 3 insertions(+), 21 deletions(-)
> 
> --- a/drivers/clk/imx/clk-cpu.c
> +++ b/drivers/clk/imx/clk-cpu.c
> @@ -1,12 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (c) 2014 Lucas Stach <l.stach@pengutronix.de>, Pengutronix
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation.
> - *
> - * http://www.opensource.org/licenses/gpl-license.html
> - * http://www.gnu.org/copyleft/gpl.html
>    */
>   
>   #include <linux/clk.h>
> --- a/drivers/nvmem/imx-iim.c
> +++ b/drivers/nvmem/imx-iim.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * i.MX IIM driver
>    *
> @@ -6,13 +7,6 @@
>    * Based on the barebox iim driver,
>    * Copyright (c) 2010 Baruch Siach <baruch@tkos.co.il>,
>    *	Orex Computed Radiography
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2
> - * as published by the Free Software Foundation.
> - *
> - * http://www.opensource.org/licenses/gpl-license.html
> - * http://www.gnu.org/copyleft/gpl.html
>    */
>   
>   #include <linux/device.h>
> --- a/drivers/nvmem/imx-ocotp.c
> +++ b/drivers/nvmem/imx-ocotp.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * i.MX6 OCOTP fusebox driver
>    *
> @@ -9,13 +10,6 @@
>    *
>    * Write support based on the fsl_otp driver,
>    * Copyright (C) 2010-2013 Freescale Semiconductor, Inc
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2
> - * as published by the Free Software Foundation.
> - *
> - * http://www.opensource.org/licenses/gpl-license.html
> - * http://www.gnu.org/copyleft/gpl.html
>    */
>   
>   #include <linux/clk.h>
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 10/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 461
  2019-06-04  8:10 ` [Batch 17 patch 10/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 461 Thomas Gleixner
@ 2019-06-04 11:03   ` Enrico Weigelt, metux IT consult
  2019-06-04 18:58   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:03 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:10, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this program is free software you can redistribute it and or modify
>    it under the terms of the gnu general public license version 2 only
>    as published by the free software foundation this program is
>    distributed in the hope that it will be useful but without any
>    warranty without even the implied warranty of merchantability or
>    fitness for a particular purpose see the gnu general public license
>    for more details to obtain the license point your browser to http
>    www gnu org copyleft gpl html
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 12 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=4df9a894caf1
> ---
>   drivers/media/dvb-frontends/drxd.h          |   14 +-------------
>   drivers/media/dvb-frontends/drxd_firm.c     |   14 +-------------
>   drivers/media/dvb-frontends/drxd_firm.h     |   14 +-------------
>   drivers/media/dvb-frontends/drxd_hard.c     |   14 +-------------
>   drivers/media/dvb-frontends/drxd_map_firm.h |   14 +-------------
>   drivers/media/dvb-frontends/drxk_hard.c     |   14 +-------------
>   drivers/media/dvb-frontends/tda18271c2dd.c  |   15 +--------------
>   drivers/media/pci/ngene/ngene-cards.c       |   15 +--------------
>   drivers/media/pci/ngene/ngene-core.c        |   15 +--------------
>   drivers/media/pci/ngene/ngene-dvb.c         |   15 +--------------
>   drivers/media/pci/ngene/ngene-i2c.c         |   15 +--------------
>   drivers/media/pci/ngene/ngene.h             |   14 +-------------
>   12 files changed, 12 insertions(+), 161 deletions(-)
> 
> --- a/drivers/media/dvb-frontends/drxd.h
> +++ b/drivers/media/dvb-frontends/drxd.h
> @@ -1,20 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * drxd.h: DRXD DVB-T demodulator driver
>    *
>    * Copyright (C) 2005-2007 Micronas
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * version 2 only, as published by the Free Software Foundation.
> - *
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
>    */
>   
>   #ifndef _DRXD_H_
> --- a/drivers/media/dvb-frontends/drxd_firm.c
> +++ b/drivers/media/dvb-frontends/drxd_firm.c
> @@ -1,20 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * drxd_firm.c : DRXD firmware tables
>    *
>    * Copyright (C) 2006-2007 Micronas
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * version 2 only, as published by the Free Software Foundation.
> - *
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
>    */
>   
>   /* TODO: generate this file with a script from a settings file */
> --- a/drivers/media/dvb-frontends/drxd_firm.h
> +++ b/drivers/media/dvb-frontends/drxd_firm.h
> @@ -1,20 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * drxd_firm.h
>    *
>    * Copyright (C) 2006-2007 Micronas
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * version 2 only, as published by the Free Software Foundation.
> - *
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
>    */
>   
>   #ifndef _DRXD_FIRM_H_
> --- a/drivers/media/dvb-frontends/drxd_hard.c
> +++ b/drivers/media/dvb-frontends/drxd_hard.c
> @@ -1,20 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * drxd_hard.c: DVB-T Demodulator Micronas DRX3975D-A2,DRX397xD-B1
>    *
>    * Copyright (C) 2003-2007 Micronas
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * version 2 only, as published by the Free Software Foundation.
> - *
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
>    */
>   
>   #include <linux/kernel.h>
> --- a/drivers/media/dvb-frontends/drxd_map_firm.h
> +++ b/drivers/media/dvb-frontends/drxd_map_firm.h
> @@ -1,20 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * drx3973d_map_firm.h
>    *
>    * Copyright (C) 2006-2007 Micronas
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * version 2 only, as published by the Free Software Foundation.
> - *
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
>    */
>   
>   #ifndef __DRX3973D_MAP__H__
> --- a/drivers/media/dvb-frontends/drxk_hard.c
> +++ b/drivers/media/dvb-frontends/drxk_hard.c
> @@ -1,20 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * drxk_hard: DRX-K DVB-C/T demodulator driver
>    *
>    * Copyright (C) 2010-2011 Digital Devices GmbH
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * version 2 only, as published by the Free Software Foundation.
> - *
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
>    */
>   
>   #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/drivers/media/dvb-frontends/tda18271c2dd.c
> +++ b/drivers/media/dvb-frontends/tda18271c2dd.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * tda18271c2dd: Driver for the TDA18271C2 tuner
>    *
>    * Copyright (C) 2010 Digital Devices GmbH
> - *
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * version 2 only, as published by the Free Software Foundation.
> - *
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
>    */
>   
>   #include <linux/kernel.h>
> --- a/drivers/media/pci/ngene/ngene-cards.c
> +++ b/drivers/media/pci/ngene/ngene-cards.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * ngene-cards.c: nGene PCIe bridge driver - card specific info
>    *
> @@ -7,20 +8,6 @@
>    *                         Modifications for new nGene firmware,
>    *                         support for EEPROM-copying,
>    *                         support for new dual DVB-S2 card prototype
> - *
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * version 2 only, as published by the Free Software Foundation.
> - *
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
>    */
>   
>   #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/drivers/media/pci/ngene/ngene-core.c
> +++ b/drivers/media/pci/ngene/ngene-core.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * ngene.c: nGene PCIe bridge driver
>    *
> @@ -7,20 +8,6 @@
>    *                         Modifications for new nGene firmware,
>    *                         support for EEPROM-copying,
>    *                         support for new dual DVB-S2 card prototype
> - *
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * version 2 only, as published by the Free Software Foundation.
> - *
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
>    */
>   
>   #include <linux/module.h>
> --- a/drivers/media/pci/ngene/ngene-dvb.c
> +++ b/drivers/media/pci/ngene/ngene-dvb.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * ngene-dvb.c: nGene PCIe bridge driver - DVB functions
>    *
> @@ -7,20 +8,6 @@
>    *                         Modifications for new nGene firmware,
>    *                         support for EEPROM-copying,
>    *                         support for new dual DVB-S2 card prototype
> - *
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * version 2 only, as published by the Free Software Foundation.
> - *
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
>    */
>   
>   #include <linux/module.h>
> --- a/drivers/media/pci/ngene/ngene-i2c.c
> +++ b/drivers/media/pci/ngene/ngene-i2c.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * ngene-i2c.c: nGene PCIe bridge driver i2c functions
>    *
> @@ -7,20 +8,6 @@
>    *                         Modifications for new nGene firmware,
>    *                         support for EEPROM-copying,
>    *                         support for new dual DVB-S2 card prototype
> - *
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * version 2 only, as published by the Free Software Foundation.
> - *
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
>    */
>   
>   /* FIXME - some of these can probably be removed */
> --- a/drivers/media/pci/ngene/ngene.h
> +++ b/drivers/media/pci/ngene/ngene.h
> @@ -1,20 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * ngene.h: nGene PCIe bridge driver
>    *
>    * Copyright (C) 2005-2007 Micronas
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * version 2 only, as published by the Free Software Foundation.
> - *
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
>    */
>   
>   #ifndef _NGENE_H_
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 11/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 462
  2019-06-04  8:10 ` [Batch 17 patch 11/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 462 Thomas Gleixner
@ 2019-06-04 11:03   ` Enrico Weigelt, metux IT consult
  2019-06-04 18:59   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:03 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:10, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    license gpl v2
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=f71bf3b8d968
> ---
>   drivers/i2c/busses/i2c-pxa-pci.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/drivers/i2c/busses/i2c-pxa-pci.c
> +++ b/drivers/i2c/busses/i2c-pxa-pci.c
> @@ -1,7 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * CE4100 PCI-I2C glue code for PXA's driver
>    * Author: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
> - * License: GPL v2
>    *
>    * The CE4100's I2C device is more or less the same one as found on PXA.
>    * It does not support slave mode, the register slightly moved. This PCI
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 12/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 463
  2019-06-04  8:10 ` [Batch 17 patch 12/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 463 Thomas Gleixner
@ 2019-06-04 11:04   ` Enrico Weigelt, metux IT consult
  2019-06-04 19:00   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:04 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:10, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this program is free software you can redistribute it and or modify
>    it under the terms of version 2 of the gnu general public license as
>    published by the free software foundation this program is
>    distributed in the hope that it will be useful but without any
>    warranty without even the implied warranty of merchantability or
>    fitness for a particular purpose see the gnu general public license
>    for more details you should have received a copy of the gnu general
>    public license along with this program if not see http www gnu org
>    licenses the full gnu general public license is included in this
>    distribution in the file called copying
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 4 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=7afb477f9cb1
> ---
>   drivers/irqchip/irq-meson-gpio.c    |   15 +--------------
>   drivers/mmc/host/meson-gx-mmc.c     |   15 +--------------
>   sound/soc/codecs/es7134.c           |   15 +--------------
>   sound/soc/codecs/simple-amplifier.c |   15 +--------------
>   4 files changed, 4 insertions(+), 56 deletions(-)
> 
> --- a/drivers/irqchip/irq-meson-gpio.c
> +++ b/drivers/irqchip/irq-meson-gpio.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (c) 2015 Endless Mobile, Inc.
>    * Author: Carlo Caione <carlo@endlessm.com>
>    * Copyright (c) 2016 BayLibre, SAS.
>    * Author: Jerome Brunet <jbrunet@baylibre.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of version 2 of the GNU General Public License as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, see <http://www.gnu.org/licenses/>.
> - * The full GNU General Public License is included in this distribution
> - * in the file called COPYING.
>    */
>   
>   #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/drivers/mmc/host/meson-gx-mmc.c
> +++ b/drivers/mmc/host/meson-gx-mmc.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Amlogic SD/eMMC driver for the GX/S905 family SoCs
>    *
>    * Copyright (c) 2016 BayLibre, SAS.
>    * Author: Kevin Hilman <khilman@baylibre.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of version 2 of the GNU General Public License as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, see <http://www.gnu.org/licenses/>.
> - * The full GNU General Public License is included in this distribution
> - * in the file called COPYING.
>    */
>   #include <linux/kernel.h>
>   #include <linux/module.h>
> --- a/sound/soc/codecs/es7134.c
> +++ b/sound/soc/codecs/es7134.c
> @@ -1,20 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (c) 2017 BayLibre, SAS.
>    * Author: Jerome Brunet <jbrunet@baylibre.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of version 2 of the GNU General Public License as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, see <http://www.gnu.org/licenses/>.
> - * The full GNU General Public License is included in this distribution
> - * in the file called COPYING.
>    */
>   
>   #include <linux/of_platform.h>
> --- a/sound/soc/codecs/simple-amplifier.c
> +++ b/sound/soc/codecs/simple-amplifier.c
> @@ -1,20 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (c) 2017 BayLibre, SAS.
>    * Author: Jerome Brunet <jbrunet@baylibre.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of version 2 of the GNU General Public License as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, see <http://www.gnu.org/licenses/>.
> - * The full GNU General Public License is included in this distribution
> - * in the file called COPYING.
>    */
>   
>   #include <linux/gpio/consumer.h>
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 13/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 464
  2019-06-04  8:10 ` [Batch 17 patch 13/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 464 Thomas Gleixner
@ 2019-06-04 11:04   ` Enrico Weigelt, metux IT consult
  2019-06-04 19:00   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:04 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:10, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    license terms gnu general public license version 2
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 11 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=9df34cfa7d38
> ---
>   drivers/gpio/gpio-stmpe.c               |    2 +-
>   drivers/gpio/gpio-tc3589x.c             |    2 +-
>   drivers/input/keyboard/stmpe-keypad.c   |    2 +-
>   drivers/input/keyboard/tc3589x-keypad.c |    3 +--
>   drivers/mfd/stmpe-i2c.c                 |    2 +-
>   drivers/mfd/stmpe-spi.c                 |    2 +-
>   drivers/mfd/stmpe.c                     |    2 +-
>   drivers/mfd/stmpe.h                     |    2 +-
>   drivers/mfd/tc3589x.c                   |    2 +-
>   include/linux/mfd/stmpe.h               |    2 +-
>   include/linux/mfd/tc3589x.h             |    3 +--
>   11 files changed, 11 insertions(+), 13 deletions(-)
> 
> --- a/drivers/gpio/gpio-stmpe.c
> +++ b/drivers/gpio/gpio-stmpe.c
> @@ -1,7 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) ST-Ericsson SA 2010
>    *
> - * License Terms: GNU General Public License, version 2
>    * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
>    */
>   
> --- a/drivers/gpio/gpio-tc3589x.c
> +++ b/drivers/gpio/gpio-tc3589x.c
> @@ -1,7 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) ST-Ericsson SA 2010
>    *
> - * License Terms: GNU General Public License, version 2
>    * Author: Hanumath Prasad <hanumath.prasad@stericsson.com> for ST-Ericsson
>    * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
>    */
> --- a/drivers/input/keyboard/stmpe-keypad.c
> +++ b/drivers/input/keyboard/stmpe-keypad.c
> @@ -1,7 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) ST-Ericsson SA 2010
>    *
> - * License Terms: GNU General Public License, version 2
>    * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
>    */
>   
> --- a/drivers/input/keyboard/tc3589x-keypad.c
> +++ b/drivers/input/keyboard/tc3589x-keypad.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) ST-Ericsson SA 2010
>    *
>    * Author: Jayeeta Banerjee <jayeeta.banerjee@stericsson.com>
>    * Author: Sundar Iyer <sundar.iyer@stericsson.com>
>    *
> - * License Terms: GNU General Public License, version 2
> - *
>    * TC35893 MFD Keypad Controller driver
>    */
>   
> --- a/drivers/mfd/stmpe-i2c.c
> +++ b/drivers/mfd/stmpe-i2c.c
> @@ -1,10 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * ST Microelectronics MFD: stmpe's i2c client specific driver
>    *
>    * Copyright (C) ST-Ericsson SA 2010
>    * Copyright (C) ST Microelectronics SA 2011
>    *
> - * License Terms: GNU General Public License, version 2
>    * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
>    * Author: Viresh Kumar <vireshk@kernel.org> for ST Microelectronics
>    */
> --- a/drivers/mfd/stmpe-spi.c
> +++ b/drivers/mfd/stmpe-spi.c
> @@ -1,9 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * ST Microelectronics MFD: stmpe's spi client specific driver
>    *
>    * Copyright (C) ST Microelectronics SA 2011
>    *
> - * License Terms: GNU General Public License, version 2
>    * Author: Viresh Kumar <vireshk@kernel.org> for ST Microelectronics
>    */
>   
> --- a/drivers/mfd/stmpe.c
> +++ b/drivers/mfd/stmpe.c
> @@ -1,9 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * ST Microelectronics MFD: stmpe's driver
>    *
>    * Copyright (C) ST-Ericsson SA 2010
>    *
> - * License Terms: GNU General Public License, version 2
>    * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
>    */
>   
> --- a/drivers/mfd/stmpe.h
> +++ b/drivers/mfd/stmpe.h
> @@ -1,7 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Copyright (C) ST-Ericsson SA 2010
>    *
> - * License Terms: GNU General Public License, version 2
>    * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
>    */
>   
> --- a/drivers/mfd/tc3589x.c
> +++ b/drivers/mfd/tc3589x.c
> @@ -1,7 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) ST-Ericsson SA 2010
>    *
> - * License Terms: GNU General Public License, version 2
>    * Author: Hanumath Prasad <hanumath.prasad@stericsson.com> for ST-Ericsson
>    * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
>    */
> --- a/include/linux/mfd/stmpe.h
> +++ b/include/linux/mfd/stmpe.h
> @@ -1,7 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Copyright (C) ST-Ericsson SA 2010
>    *
> - * License Terms: GNU General Public License, version 2
>    * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
>    */
>   
> --- a/include/linux/mfd/tc3589x.h
> +++ b/include/linux/mfd/tc3589x.h
> @@ -1,7 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Copyright (C) ST-Ericsson SA 2010
> - *
> - * License Terms: GNU General Public License, version 2
>    */
>   
>   #ifndef __LINUX_MFD_TC3589x_H
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 14/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 465
  2019-06-04  8:10 ` [Batch 17 patch 14/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 465 Thomas Gleixner
@ 2019-06-04 11:05   ` Enrico Weigelt, metux IT consult
  2019-06-04 19:01   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:05 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:10, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    released under the gpl version 2 only
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 4 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=fcbf0d609abd
> ---
>   samples/kfifo/bytestream-example.c |    4 +---
>   samples/kfifo/dma-example.c        |    4 +---
>   samples/kfifo/inttype-example.c    |    4 +---
>   samples/kfifo/record-example.c     |    4 +---
>   4 files changed, 4 insertions(+), 12 deletions(-)
> 
> --- a/samples/kfifo/bytestream-example.c
> +++ b/samples/kfifo/bytestream-example.c
> @@ -1,10 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Sample kfifo byte stream implementation
>    *
>    * Copyright (C) 2010 Stefani Seibold <stefani@seibold.net>
> - *
> - * Released under the GPL version 2 only.
> - *
>    */
>   
>   #include <linux/init.h>
> --- a/samples/kfifo/dma-example.c
> +++ b/samples/kfifo/dma-example.c
> @@ -1,10 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Sample fifo dma implementation
>    *
>    * Copyright (C) 2010 Stefani Seibold <stefani@seibold.net>
> - *
> - * Released under the GPL version 2 only.
> - *
>    */
>   
>   #include <linux/init.h>
> --- a/samples/kfifo/inttype-example.c
> +++ b/samples/kfifo/inttype-example.c
> @@ -1,10 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Sample kfifo int type implementation
>    *
>    * Copyright (C) 2010 Stefani Seibold <stefani@seibold.net>
> - *
> - * Released under the GPL version 2 only.
> - *
>    */
>   
>   #include <linux/init.h>
> --- a/samples/kfifo/record-example.c
> +++ b/samples/kfifo/record-example.c
> @@ -1,10 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Sample dynamic sized record fifo implementation
>    *
>    * Copyright (C) 2010 Stefani Seibold <stefani@seibold.net>
> - *
> - * Released under the GPL version 2 only.
> - *
>    */
>   
>   #include <linux/init.h>
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 03/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 453
  2019-06-04 10:58   ` Armijn Hemel - Tjaldur Software Governance Solutions
@ 2019-06-04 11:08     ` Thomas Gleixner
  0 siblings, 0 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04 11:08 UTC (permalink / raw)
  To: Armijn Hemel - Tjaldur Software Governance Solutions; +Cc: linux-spdx

On Tue, 4 Jun 2019, Armijn Hemel - Tjaldur Software Governance Solutions wrote:
> On 6/4/19 10:10 AM, Thomas Gleixner wrote:
> > - *   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
> > - *   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
> > - *   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
> > - *   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
> > - *   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
> > - *   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
> > - *   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
> > - *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
> > - *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
> > - *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
> > - *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
> > - *
> >   * IDT PCIe-switch NTB Linux driver
> >   *
> >   * Contact Information:
> 
> 
> Add to "review later", custom disclaimer.

Indeed.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 15/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 466
  2019-06-04  8:10 ` [Batch 17 patch 15/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 466 Thomas Gleixner
@ 2019-06-04 11:12   ` Thomas Gleixner
  2019-06-04 19:02     ` Allison Randal
  2019-06-04 11:15   ` Enrico Weigelt, metux IT consult
  1 sibling, 1 reply; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04 11:12 UTC (permalink / raw)
  To: linux-spdx

On Tue, 4 Jun 2019, Thomas Gleixner wrote:

> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>   license__ = gpl version 2
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Note, that this does not remove anything because the license information is
part of the code.

> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=48ced429262c
> ---
>  tools/power/x86/intel_pstate_tracer/intel_pstate_tracer.py |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- a/tools/power/x86/intel_pstate_tracer/intel_pstate_tracer.py
> +++ b/tools/power/x86/intel_pstate_tracer/intel_pstate_tracer.py
> @@ -1,4 +1,5 @@
>  #!/usr/bin/python
> +# SPDX-License-Identifier: GPL-2.0-only
>  # -*- coding: utf-8 -*-
>  #
>  """ This utility can be used to debug and tune the performance of the
> 
> 
> 

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 19/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 470
  2019-06-04  8:11 ` [Batch 17 patch 19/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 470 Thomas Gleixner
@ 2019-06-04 11:13   ` Thomas Gleixner
  2019-06-04 11:19   ` Enrico Weigelt, metux IT consult
  1 sibling, 0 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04 11:13 UTC (permalink / raw)
  To: linux-spdx

On Tue, 4 Jun 2019, Thomas Gleixner wrote:

> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>   this file is licensed under the terms of the gnu general public
>   license version 2 this program is licensed as is without any
>   warranty of any kind whether express or implied

Goes into the 'as is' bucket for now.

Thanks,

	tglx



^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 27/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 478
  2019-06-04  8:11 ` [Batch 17 patch 27/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 478 Thomas Gleixner
@ 2019-06-04 11:15   ` Thomas Gleixner
  0 siblings, 0 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04 11:15 UTC (permalink / raw)
  To: linux-spdx

On Tue, 4 Jun 2019, Thomas Gleixner wrote:

> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>   this program is free software you can redistribute it and or modify
>   it under the terms of the gnu general public license as published by
>   the free software foundation either version 2 of the license or at
>   your option any later version see the copying file in the top level
>   directory or visit http www gnu org licenses gpl 2 0 html this
>   program is distributed in the hope that it will be useful but
>   without any warranty without even the implied warranty of
>   merchantability or fitness for a particular purpose see the gnu
>   general public license for more details this program is provided as
>   is and with all faults and without warranty of any kind you are
>   solely responsible for determining the appropriateness of using and
>   distributing the program and assume all risks associated with your
>   exercise of rights with respect to the program including but not
>   limited to infringement of third party rights the risks and costs of
>   program errors damage to or loss of data programs or equipment and
>   unavailability or interruption of operations under no circumstances
>   will the contributor of this program be liable for any damages of
>   any kind arising from your use or distribution of this program the
>   linux foundation chooses to take subject only to the gplv2 license
>   terms and distributes only under these terms

Custom disclaimer bucket. On hold.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 15/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 466
  2019-06-04  8:10 ` [Batch 17 patch 15/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 466 Thomas Gleixner
  2019-06-04 11:12   ` Thomas Gleixner
@ 2019-06-04 11:15   ` Enrico Weigelt, metux IT consult
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:15 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:10, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    license__ = gpl version 2
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=48ced429262c
> ---
>   tools/power/x86/intel_pstate_tracer/intel_pstate_tracer.py |    1 +
>   1 file changed, 1 insertion(+)
> 
> --- a/tools/power/x86/intel_pstate_tracer/intel_pstate_tracer.py
> +++ b/tools/power/x86/intel_pstate_tracer/intel_pstate_tracer.py
> @@ -1,4 +1,5 @@
>   #!/usr/bin/python
> +# SPDX-License-Identifier: GPL-2.0-only
>   # -*- coding: utf-8 -*-
>   #
>   """ This utility can be used to debug and tune the performance of the
> 
> 

Reviewed-By: Enrico Weigelt <info@metux.net>


just a minor question: is there any standard on this __license__ field ?
haven't found anything - seems that just some authors use this, but
couldn't find any PEP for it.


--mtx


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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 32/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 483
  2019-06-04  8:11 ` [Batch 17 patch 32/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 483 Thomas Gleixner
@ 2019-06-04 11:16   ` Thomas Gleixner
  2019-06-04 11:31   ` Enrico Weigelt, metux IT consult
  1 sibling, 0 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04 11:16 UTC (permalink / raw)
  To: linux-spdx

On Tue, 4 Jun 2019, Thomas Gleixner wrote:

> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>   this software is licensed under the gnu general license version 2
>   june 1991 as shown in the file copying in the top level directory of
>   this source tree the copyright holders and or other parties provide
>   the program as is without warranty of any kind either expressed or
>   implied including but not limited to the implied warranties of
>   merchantability and fitness for a particular purpose the entire risk
>   as to the quality and performance of the program is with you should
>   the program prove defective you assume the cost of all necessary
>   servicing repair or correction

Custom disclaimer.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 16/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 467
  2019-06-04  8:11 ` [Batch 17 patch 16/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 467 Thomas Gleixner
@ 2019-06-04 11:16   ` Enrico Weigelt, metux IT consult
  2019-06-04 19:03   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:16 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    licensed under version 2 of the gnu general public licence
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=89e6a6147339
> ---
>   drivers/mtd/maps/vmu-flash.c |    4 +---
>   1 file changed, 1 insertion(+), 3 deletions(-)
> 
> --- a/drivers/mtd/maps/vmu-flash.c
> +++ b/drivers/mtd/maps/vmu-flash.c
> @@ -1,11 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* vmu-flash.c
>    * Driver for SEGA Dreamcast Visual Memory Unit
>    *
>    * Copyright (c) Adrian McMenamin 2002 - 2009
>    * Copyright (c) Paul Mundt 2001
> - *
> - * Licensed under version 2 of the
> - * GNU General Public Licence
>    */
>   #include <linux/init.h>
>   #include <linux/slab.h>
> 
> 

Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 17/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 468
  2019-06-04  8:11 ` [Batch 17 patch 17/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 468 Thomas Gleixner
@ 2019-06-04 11:17   ` Enrico Weigelt, metux IT consult
  2019-06-04 19:04   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:17 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    based on gpl code from [dibcom] which has [copyright] [c] [2004]
>    [amaury] [demol] [for] [dibcom] this program is free software you
>    can redistribute it and or modify it under the terms of the gnu
>    general public license as published by the free software foundation
>    version 2
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 4 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=71087db24bb1
> ---
>   drivers/media/dvb-frontends/dib3000.h   |    6 +-----
>   drivers/media/dvb-frontends/dib3000mb.c |    6 +-----
>   drivers/media/usb/dvb-usb/dibusb-mb.c   |    5 +----
>   drivers/media/usb/dvb-usb/dibusb-mc.c   |    5 +----
>   4 files changed, 4 insertions(+), 18 deletions(-)
> 
> --- a/drivers/media/dvb-frontends/dib3000.h
> +++ b/drivers/media/dvb-frontends/dib3000.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * public header file of the frontend drivers for mobile DVB-T demodulators
>    * DiBcom 3000M-B and DiBcom 3000P/M-C (http://www.dibcom.fr/)
> @@ -8,17 +9,12 @@
>    *
>    * Copyright (C) 2004 Amaury Demol for DiBcom
>    *
> - *	This program is free software; you can redistribute it and/or
> - *	modify it under the terms of the GNU General Public License as
> - *	published by the Free Software Foundation, version 2.
> - *
>    * Acknowledgements
>    *
>    *  Amaury Demol from DiBcom for providing specs and driver
>    *  sources, on which this driver (and the dvb-dibusb) are based.
>    *
>    * see Documentation/media/dvb-drivers/dvb-usb.rst for more information
> - *
>    */
>   
>   #ifndef DIB3000_H
> --- a/drivers/media/dvb-frontends/dib3000mb.c
> +++ b/drivers/media/dvb-frontends/dib3000mb.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Frontend driver for mobile DVB-T demodulator DiBcom 3000M-B
>    * DiBcom (http://www.dibcom.fr/)
> @@ -8,17 +9,12 @@
>    *
>    * Copyright (C) 2004 Amaury Demol for DiBcom
>    *
> - *	This program is free software; you can redistribute it and/or
> - *	modify it under the terms of the GNU General Public License as
> - *	published by the Free Software Foundation, version 2.
> - *
>    * Acknowledgements
>    *
>    *  Amaury Demol from DiBcom for providing specs and driver
>    *  sources, on which this driver (and the dvb-dibusb) are based.
>    *
>    * see Documentation/media/dvb-drivers/dvb-usb.rst for more information
> - *
>    */
>   
>   #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/drivers/media/usb/dvb-usb/dibusb-mb.c
> +++ b/drivers/media/usb/dvb-usb/dibusb-mb.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* DVB USB compliant linux driver for mobile DVB-T USB devices based on
>    * reference designs made by DiBcom (http://www.dibcom.fr/) (DiB3000M-B)
>    *
> @@ -6,10 +7,6 @@
>    * based on GPL code from DiBcom, which has
>    * Copyright (C) 2004 Amaury Demol for DiBcom
>    *
> - *	This program is free software; you can redistribute it and/or modify it
> - *	under the terms of the GNU General Public License as published by the Free
> - *	Software Foundation, version 2.
> - *
>    * see Documentation/media/dvb-drivers/dvb-usb.rst for more information
>    */
>   #include "dibusb.h"
> --- a/drivers/media/usb/dvb-usb/dibusb-mc.c
> +++ b/drivers/media/usb/dvb-usb/dibusb-mc.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* DVB USB compliant linux driver for mobile DVB-T USB devices based on
>    * reference designs made by DiBcom (http://www.dibcom.fr/) (DiB3000M-C/P)
>    *
> @@ -6,10 +7,6 @@
>    * based on GPL code from DiBcom, which has
>    * Copyright (C) 2004 Amaury Demol for DiBcom
>    *
> - *	This program is free software; you can redistribute it and/or modify it
> - *	under the terms of the GNU General Public License as published by the Free
> - *	Software Foundation, version 2.
> - *
>    * see Documentation/media/dvb-drivers/dvb-usb.rst for more information
>    */
>   #include "dibusb.h"
> 
> 

Reviewed-By: Enrico Weigelt <info@metux.net>


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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 42/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 493
  2019-06-04  8:11 ` [Batch 17 patch 42/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 493 Thomas Gleixner
@ 2019-06-04 11:17   ` Thomas Gleixner
  0 siblings, 0 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04 11:17 UTC (permalink / raw)
  To: linux-spdx

On Tue, 4 Jun 2019, Thomas Gleixner wrote:

> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>   based on gpl ed 2 6 kernel sources [c] [marvell] [international]
>   [ltd] this file is licensed under the terms of the gnu general
>   public license version 2 this program is licensed as is without any
>   warranty of any kind whether express or implied

"as is" bucket

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 18/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 469
  2019-06-04  8:11 ` [Batch 17 patch 18/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 469 Thomas Gleixner
@ 2019-06-04 11:17   ` Enrico Weigelt, metux IT consult
  2019-06-04 19:07   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:17 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this program is free software you can redistribute it and or modify
>    it under the terms of the gnu general public license version 2 as
>    published by the free software foundation this program is
>    distributed in the hope that it will be useful but without any
>    warranty without even the implied warranty of mergchantability or
>    fitness for a particular purpose see the gnu general public license
>    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 2 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=854c2aa1aa45
> ---
>   drivers/fsi/fsi-scom.c      |   10 +---------
>   include/linux/fsi-sbefifo.h |   10 +---------
>   2 files changed, 2 insertions(+), 18 deletions(-)
> 
> --- a/drivers/fsi/fsi-scom.c
> +++ b/drivers/fsi/fsi-scom.c
> @@ -1,16 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * SCOM FSI Client device driver
>    *
>    * Copyright (C) IBM Corporation 2016
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERGCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
>    */
>   
>   #include <linux/fsi.h>
> --- a/include/linux/fsi-sbefifo.h
> +++ b/include/linux/fsi-sbefifo.h
> @@ -1,16 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * SBEFIFO FSI Client device driver
>    *
>    * Copyright (C) IBM Corporation 2017
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERGCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
>    */
>   
>   #ifndef LINUX_FSI_SBEFIFO_H
> 
> 

Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 19/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 470
  2019-06-04  8:11 ` [Batch 17 patch 19/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 470 Thomas Gleixner
  2019-06-04 11:13   ` Thomas Gleixner
@ 2019-06-04 11:19   ` Enrico Weigelt, metux IT consult
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:19 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this file is licensed under the terms of the gnu general public
>    license version 2 this program is licensed as is without any
>    warranty of any kind whether express or implied
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 586 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=604411c2c705
> ---
>   arch/arm/boot/dts/am33xx.dtsi                             |    5 +----
>   arch/arm/boot/dts/am3517.dtsi                             |    5 +----
>   arch/arm/boot/dts/am4372.dtsi                             |    5 +----
>   arch/arm/boot/dts/artpec6-devboard.dts                    |    5 +----
>   arch/arm/boot/dts/dm814x.dtsi                             |    4 +---
>   arch/arm/boot/dts/dm816x.dtsi                             |    4 +---
>   arch/arm/boot/dts/dra62x.dtsi                             |    4 +---
> 
> <SNIP>
> 
>   arch/powerpc/sysdev/ehv_pic.c                             |    5 +----
>   arch/powerpc/sysdev/ge/ge_pic.c                           |    5 +----
>   arch/powerpc/sysdev/rtc_cmos_setup.c                      |    6 ++----
>   arch/powerpc/sysdev/xilinx_intc.c                         |    6 +-----
>   arch/powerpc/sysdev/xilinx_pci.c                          |    5 +----
>   drivers/ata/ahci_mvebu.c                                  |    5 +----
>   drivers/ata/pata_arasan_cf.c                              |    5 +----
>   drivers/ata/pata_mpc52xx.c                                |    5 +----
>   drivers/bus/imx-weim.c                                    |    5 +----
> 
> <SNIP>
> 
>   drivers/watchdog/omap_wdt.c                               |    6 ++----
>   drivers/watchdog/orion_wdt.c                              |    5 +----
>   drivers/watchdog/pnx4008_wdt.c                            |    5 +----
>   drivers/watchdog/sbc_fitpc2_wdt.c                         |    5 +----
>   drivers/watchdog/ts4800_wdt.c                             |    5 +----
>   drivers/watchdog/ts72xx_wdt.c                             |    5 +----
>   include/dt-bindings/leds/leds-netxbig.h                   |    5 +----
>   include/dt-bindings/leds/leds-pca9532.h                   |    5 +----
>   include/dt-bindings/leds/leds-pca955x.h                   |    5 +----
>   include/linux/amba/sp810.h                                |    5 +----
>   include/linux/davinci_emac.h                              |    6 ++----
>   include/linux/dmapool.h                                   |    5 +----
>   include/linux/edac.h                                      |    7 ++-----
>   include/linux/fs_enet_pd.h                                |    5 +----
>   include/linux/fs_uart_pd.h                                |    5 +----
>   include/linux/fsl/bestcomm/ata.h                          |    6 +-----
>   include/linux/fsl/bestcomm/bestcomm.h                     |    6 +-----
>   include/linux/fsl/bestcomm/bestcomm_priv.h                |    5 +----
>   include/linux/fsl/bestcomm/fec.h                          |    6 +-----
>   include/linux/fsl/bestcomm/sram.h                         |    6 +-----
>   include/linux/irqchip.h                                   |    5 +----
>   include/linux/kgdb.h                                      |    4 +---
>   include/linux/mbus.h                                      |    5 +----
>   include/linux/mtd/latch-addr-flash.h                      |    5 +----
>   include/linux/mtd/spear_smi.h                             |    5 +----
>   include/linux/mvebu-pmsu.h                                |    5 +----
>   include/linux/pata_arasan_cf_data.h                       |    5 +----
>   include/linux/platform_data/i2c-davinci.h                 |    6 ++----
>   include/linux/platform_data/keyboard-spear.h              |    5 +----
>   include/linux/platform_data/leds-kirkwood-netxbig.h       |    5 +----
>   include/linux/platform_data/leds-kirkwood-ns2.h           |    5 +----
>   include/linux/platform_data/media/si4713.h                |    6 +-----
>   include/linux/platform_data/mtd-davinci-aemif.h           |    5 +----
>   include/linux/platform_data/mtd-orion_nand.h              |    6 +-----
>   include/linux/platform_data/usb-davinci.h                 |    5 +----
>   include/linux/platform_data/usb-ehci-orion.h              |    6 +-----
>   include/linux/soc/sunxi/sunxi_sram.h                      |    5 +----
>   include/linux/sunxi-rsb.h                                 |    5 +----
>   include/linux/ts-nbus.h                                   |    5 +----
>   include/video/da8xx-fb.h                                  |    5 +----
>   kernel/debug/debug_core.c                                 |    5 +----
>   kernel/debug/debug_core.h                                 |    5 +----
>   kernel/debug/gdbstub.c                                    |    5 +----
>   kernel/debug/kdb/kdb_debugger.c                           |    5 +----
>   samples/kdb/kdb_hello.c                                   |    5 +----
>   sound/soc/codecs/cs4270.c                                 |    4 +---
>   sound/soc/codecs/cs42xx8-i2c.c                            |    5 +----
>   sound/soc/codecs/cs42xx8.c                                |    5 +----
>   sound/soc/codecs/cs42xx8.h                                |    5 +----
>   sound/soc/codecs/sta529.c                                 |    5 +----
>   sound/soc/dwc/dwc-i2s.c                                   |    5 +----
>   sound/soc/dwc/dwc-pcm.c                                   |    5 +----
>   sound/soc/dwc/local.h                                     |    5 +----
>   sound/soc/fsl/efika-audio-fabric.c                        |    5 +----
>   sound/soc/spear/spdif_in.c                                |    5 +----
>   sound/soc/spear/spdif_out.c                               |    5 +----
>   sound/soc/spear/spear_pcm.c                               |    5 +----
>   586 files changed, 646 insertions(+), 2380 deletions(-)
> 
> --- a/arch/arm/boot/dts/am33xx.dtsi
> +++ b/arch/arm/boot/dts/am33xx.dtsi
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Device Tree Source for AM33XX SoC
>    *
>    * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2.  This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
>    */
>   
>   #include <dt-bindings/bus/ti-sysc.h>
> --- a/arch/arm/boot/dts/am3517.dtsi
> +++ b/arch/arm/boot/dts/am3517.dtsi
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Device Tree Source for am3517 SoC
>    *
>    * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2.  This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
>    */
>   
>   #include "omap3.dtsi"
> --- a/arch/arm/boot/dts/am4372.dtsi
> +++ b/arch/arm/boot/dts/am4372.dtsi
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Device Tree Source for AM4372 SoC
>    *
>    * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2.  This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
>    */
>   
>   #include <dt-bindings/bus/ti-sysc.h>
> --- a/arch/arm/boot/dts/artpec6-devboard.dts
> +++ b/arch/arm/boot/dts/artpec6-devboard.dts
> @@ -1,9 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Axis ARTPEC-6 development board.
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2.  This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
>    */
>   
>   /dts-v1/;
> --- a/arch/arm/boot/dts/dm814x.dtsi
> +++ b/arch/arm/boot/dts/dm814x.dtsi
> @@ -1,8 +1,4 @@
> -/*
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2.  This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
> - */
> +// SPDX-License-Identifier: GPL-2.0-only
>   
>   #include <dt-bindings/gpio/gpio.h>
>   #include <dt-bindings/pinctrl/dm814x.h>
> --- a/arch/arm/boot/dts/dm816x.dtsi
> +++ b/arch/arm/boot/dts/dm816x.dtsi
> @@ -1,8 +1,4 @@
> -/*
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2.  This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
> - */
> +// SPDX-License-Identifier: GPL-2.0-only
>   
>   #include <dt-bindings/gpio/gpio.h>
>   #include <dt-bindings/pinctrl/omap.h>
> --- a/arch/arm/boot/dts/dra62x.dtsi
> +++ b/arch/arm/boot/dts/dra62x.dtsi
> @@ -1,8 +1,4 @@
> -/*
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2.  This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
> - */
> +// SPDX-License-Identifier: GPL-2.0-only
>   
>   #include "dm814x.dtsi"
>   
> --- a/arch/arm/boot/dts/dra7-dspeve-thermal.dtsi
> +++ b/arch/arm/boot/dts/dra7-dspeve-thermal.dtsi
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Device Tree Source for DRA7x SoC DSPEVE thermal
>    *
>    * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2.  This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
>    */
>   
>   #include <dt-bindings/thermal/thermal.h>
> --- a/arch/arm/boot/dts/dra7-iva-thermal.dtsi
> +++ b/arch/arm/boot/dts/dra7-iva-thermal.dtsi
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Device Tree Source for DRA7x SoC IVA thermal
>    *
>    * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2.  This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
>    */
>   
>   #include <dt-bindings/thermal/thermal.h>
> --- a/arch/arm/boot/dts/imx6q-gk802.dts
> +++ b/arch/arm/boot/dts/imx6q-gk802.dts
> @@ -1,9 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2013 Philipp Zabel
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2.  This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
>    */
>   
>   /dts-v1/;
> --- a/arch/arm/boot/dts/omap2.dtsi
> +++ b/arch/arm/boot/dts/omap2.dtsi
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Device Tree Source for OMAP2 SoC
>    *
>    * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2.  This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
>    */
>   
>   #include <dt-bindings/gpio/gpio.h>
> --- a/arch/arm/boot/dts/omap2420.dtsi
> +++ b/arch/arm/boot/dts/omap2420.dtsi
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Device Tree Source for OMAP2420 SoC
>    *
>    * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2.  This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
>    */
>   
>   #include "omap2.dtsi"
> --- a/arch/arm/boot/dts/omap2430.dtsi
> +++ b/arch/arm/boot/dts/omap2430.dtsi
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Device Tree Source for OMAP243x SoC
>    *
>    * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2.  This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
>    */
>   
>   #include "omap2.dtsi"
> --- a/arch/arm/boot/dts/omap3-cpu-thermal.dtsi
> +++ b/arch/arm/boot/dts/omap3-cpu-thermal.dtsi
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Device Tree Source for OMAP3 SoC CPU thermal
>    *
>    * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2.  This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
>    */
>   
>   #include <dt-bindings/thermal/thermal.h>
> --- a/arch/arm/boot/dts/omap3.dtsi
> +++ b/arch/arm/boot/dts/omap3.dtsi
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Device Tree Source for OMAP3 SoC
>    *
>    * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2.  This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
>    */
>   
>   #include <dt-bindings/gpio/gpio.h>
> --- a/arch/arm/boot/dts/omap34xx.dtsi
> +++ b/arch/arm/boot/dts/omap34xx.dtsi
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Device Tree Source for OMAP34xx/OMAP35xx SoC
>    *
>    * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2.  This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
>    */
>   
>   #include <dt-bindings/bus/ti-sysc.h>
> --- a/arch/arm/boot/dts/omap36xx.dtsi
> +++ b/arch/arm/boot/dts/omap36xx.dtsi
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Device Tree Source for OMAP3 SoC
>    *
>    * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2.  This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
>    */
>   
>   #include <dt-bindings/bus/ti-sysc.h>
> --- a/arch/arm/boot/dts/omap4-cpu-thermal.dtsi
> +++ b/arch/arm/boot/dts/omap4-cpu-thermal.dtsi
> @@ -1,12 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Device Tree Source for OMAP4/5 SoC CPU thermal
>    *
>    * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
>    * Contact: Eduardo Valentin <eduardo.valentin@ti.com>
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2.  This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
>    */
>   
>   #include <dt-bindings/thermal/thermal.h>
> --- a/arch/arm/boot/dts/omap443x.dtsi
> +++ b/arch/arm/boot/dts/omap443x.dtsi
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Device Tree Source for OMAP443x SoC
>    *
>    * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2.  This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
>    */
>   
>   #include "omap4.dtsi"
> --- a/arch/arm/boot/dts/omap4460.dtsi
> +++ b/arch/arm/boot/dts/omap4460.dtsi
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Device Tree Source for OMAP4460 SoC
>    *
>    * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2.  This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
>    */
>   #include "omap4.dtsi"
>   
> --- a/arch/arm/boot/dts/omap5-core-thermal.dtsi
> +++ b/arch/arm/boot/dts/omap5-core-thermal.dtsi
> @@ -1,12 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Device Tree Source for OMAP543x SoC CORE thermal
>    *
>    * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
>    * Contact: Eduardo Valentin <eduardo.valentin@ti.com>
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2.  This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
>    */
>   
>   #include <dt-bindings/thermal/thermal.h>
> --- a/arch/arm/boot/dts/omap5-gpu-thermal.dtsi
> +++ b/arch/arm/boot/dts/omap5-gpu-thermal.dtsi
> @@ -1,12 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Device Tree Source for OMAP543x SoC GPU thermal
>    *
>    * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
>    * Contact: Eduardo Valentin <eduardo.valentin@ti.com>
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2.  This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
>    */
>   
>   #include <dt-bindings/thermal/thermal.h>
> --- a/arch/arm/boot/dts/orion5x-lacie-d2-network.dts
> +++ b/arch/arm/boot/dts/orion5x-lacie-d2-network.dts
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2014 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>    * Copyright (C) 2009 Simon Guinot <sguinot@lacie.com>
> - *
> - * This file is licensed under the terms of the GNU General Public
> - * License version 2. This program is licensed "as is" without any
> - * warranty of any kind, whether express or implied.
>    */
>   
>   /dts-v1/;
> --- a/arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts
> +++ b/arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts
> @@ -1,9 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2012 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> - *
> - * This file is licensed under the terms of the GNU General Public
> - * License version 2. This program is licensed "as is" without any
> - * warranty of any kind, whether express or implied.
>    */
>   
>   /*
> --- a/arch/arm/boot/dts/orion5x-maxtor-shared-storage-2.dts
> +++ b/arch/arm/boot/dts/orion5x-maxtor-shared-storage-2.dts
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2014 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>    * Copyright (C) Sylver Bruneau <sylver.bruneau@googlemail.com>
> - *
> - * This file is licensed under the terms of the GNU General Public
> - * License version 2. This program is licensed "as is" without any
> - * warranty of any kind, whether express or implied.
>    */
>   
>   /dts-v1/;
> --- a/arch/arm/boot/dts/orion5x-mv88f5181.dtsi
> +++ b/arch/arm/boot/dts/orion5x-mv88f5181.dtsi
> @@ -1,9 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2016 Jamie Lentin <jm@lentin.co.uk>
> - *
> - * This file is licensed under the terms of the GNU General Public
> - * License version 2. This program is licensed "as is" without any
> - * warranty of any kind, whether express or implied.
>    */
>   
>   #include "orion5x.dtsi"
> --- a/arch/arm/boot/dts/orion5x-mv88f5182.dtsi
> +++ b/arch/arm/boot/dts/orion5x-mv88f5182.dtsi
> @@ -1,9 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2014 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> - *
> - * This file is licensed under the terms of the GNU General Public
> - * License version 2. This program is licensed "as is" without any
> - * warranty of any kind, whether express or implied.
>    */
>   
>   #include "orion5x.dtsi"
> --- a/arch/arm/boot/dts/orion5x-netgear-wnr854t.dts
> +++ b/arch/arm/boot/dts/orion5x-netgear-wnr854t.dts
> @@ -1,9 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2016 Jamie Lentin <jm@lentin.co.uk>
> - *
> - * This file is licensed under the terms of the GNU General Public
> - * License version 2. This program is licensed "as is" without any
> - * warranty of any kind, whether express or implied.
>    */
>   
>   /dts-v1/;
> --- a/arch/arm/boot/dts/orion5x-rd88f5182-nas.dts
> +++ b/arch/arm/boot/dts/orion5x-rd88f5182-nas.dts
> @@ -1,9 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2014 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> - *
> - * This file is licensed under the terms of the GNU General Public
> - * License version 2. This program is licensed "as is" without any
> - * warranty of any kind, whether express or implied.
>    */
>   
>   /dts-v1/;
> --- a/arch/arm/boot/dts/orion5x.dtsi
> +++ b/arch/arm/boot/dts/orion5x.dtsi
> @@ -1,9 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2012 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> - *
> - * This file is licensed under the terms of the GNU General Public
> - * License version 2. This program is licensed "as is" without any
> - * warranty of any kind, whether express or implied.
>    */
>   
>   #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
> --- a/arch/arm/include/asm/hardware/cache-feroceon-l2.h
> +++ b/arch/arm/include/asm/hardware/cache-feroceon-l2.h
> @@ -1,11 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * arch/arm/include/asm/hardware/cache-feroceon-l2.h
>    *
>    * Copyright (C) 2008 Marvell Semiconductor
> - *
> - * This file is licensed under the terms of the GNU General Public
> - * License version 2. This program is licensed "as is" without any
> - * warranty of any kind, whether express or implied.
>    */
>   
>   extern void __init feroceon_l2_init(int l2_wt_override);
> --- a/arch/arm/include/asm/hardware/cache-tauros2.h
> +++ b/arch/arm/include/asm/hardware/cache-tauros2.h
> @@ -1,11 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * arch/arm/include/asm/hardware/cache-tauros2.h
>    *
>    * Copyright (C) 2008 Marvell Semiconductor
> - *
> - * This file is licensed under the terms of the GNU General Public
> - * License version 2. This program is licensed "as is" without any
> - * warranty of any kind, whether express or implied.
>    */
>   
>   #define CACHE_TAUROS2_PREFETCH_ON	(1 << 0)
> --- a/arch/arm/include/asm/hardware/entry-macro-iomd.S
> +++ b/arch/arm/include/asm/hardware/entry-macro-iomd.S
> @@ -1,11 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * arch/arm/include/asm/hardware/entry-macro-iomd.S
>    *
>    * Low-level IRQ helper macros for IOC/IOMD based platforms
> - *
> - * This file is licensed under  the terms of the GNU General Public
> - * License version 2. This program is licensed "as is" without any
> - * warranty of any kind, whether express or implied.
>    */
>   
>   /* IOC / IOMD based hardware */
> --- a/arch/arm/mach-davinci/board-da830-evm.c
> +++ b/arch/arm/mach-davinci/board-da830-evm.c
> @@ -1,13 +1,11 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * TI DA830/OMAP L137 EVM board
>    *
>    * Author: Mark A. Greer <mgreer@mvista.com>
>    * Derived from: arch/arm/mach-davinci/board-dm644x-evm.c
>    *
> - * 2007, 2009 (c) MontaVista Software, Inc. This file is licensed under
> - * the terms of the GNU General Public License version 2. This program
> - * is licensed "as is" without any warranty of any kind, whether express
> - * or implied.
> + * 2007, 2009 (c) MontaVista Software, Inc.
>    */
>   #include <linux/kernel.h>
>   #include <linux/init.h>
> --- a/arch/arm/mach-davinci/board-da850-evm.c
> +++ b/arch/arm/mach-davinci/board-da850-evm.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * TI DA850/OMAP-L138 EVM board
>    *
> @@ -6,10 +7,7 @@
>    * Derived from: arch/arm/mach-davinci/board-da830-evm.c
>    * Original Copyrights follow:
>    *
> - * 2007, 2009 (c) MontaVista Software, Inc. This file is licensed under
> - * the terms of the GNU General Public License version 2. This program
> - * is licensed "as is" without any warranty of any kind, whether express
> - * or implied.
> + * 2007, 2009 (c) MontaVista Software, Inc.
>    */
>   #include <linux/console.h>
>   #include <linux/delay.h>
> --- a/arch/arm/mach-davinci/board-dm355-evm.c
> +++ b/arch/arm/mach-davinci/board-dm355-evm.c
> @@ -1,12 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * TI DaVinci EVM board support
>    *
>    * Author: Kevin Hilman, Deep Root Systems, LLC
>    *
> - * 2007 (c) MontaVista Software, Inc. This file is licensed under
> - * the terms of the GNU General Public License version 2. This program
> - * is licensed "as is" without any warranty of any kind, whether express
> - * or implied.
> + * 2007 (c) MontaVista Software, Inc.
>    */
>   #include <linux/kernel.h>
>   #include <linux/init.h>
> --- a/arch/arm/mach-davinci/board-dm355-leopard.c
> +++ b/arch/arm/mach-davinci/board-dm355-leopard.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * DM355 leopard board support
>    *
>    * Based on board-dm355-evm.c
> - *
> - * This file is licensed under the terms of the GNU General Public
> - * License version 2. This program is licensed "as is" without any
> - * warranty of any kind, whether express or implied.
>    */
>   #include <linux/kernel.h>
>   #include <linux/init.h>
> --- a/arch/arm/mach-davinci/board-dm644x-evm.c
> +++ b/arch/arm/mach-davinci/board-dm644x-evm.c
> @@ -1,12 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * TI DaVinci EVM board support
>    *
>    * Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com>
>    *
> - * 2007 (c) MontaVista Software, Inc. This file is licensed under
> - * the terms of the GNU General Public License version 2. This program
> - * is licensed "as is" without any warranty of any kind, whether express
> - * or implied.
> + * 2007 (c) MontaVista Software, Inc.
>    */
>   #include <linux/kernel.h>
>   #include <linux/init.h>
> --- a/arch/arm/mach-davinci/board-dm646x-evm.c
> +++ b/arch/arm/mach-davinci/board-dm646x-evm.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * TI DaVinci DM646X EVM board
>    *
> @@ -5,11 +6,6 @@
>    * Copyright (C) 2006 Texas Instruments.
>    *
>    * (C) 2007-2008, MontaVista Software, Inc.
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2. This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
> - *
>    */
>   
>   /**************************************************************************
> --- a/arch/arm/mach-davinci/board-mityomapl138.c
> +++ b/arch/arm/mach-davinci/board-mityomapl138.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Critical Link MityOMAP-L138 SoM
>    *
>    * Copyright (C) 2010 Critical Link LLC - http://www.criticallink.com
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2. This program is licensed "as is" without any warranty of
> - * any kind, whether express or implied.
>    */
>   
>   #define pr_fmt(fmt) "MityOMAPL138: " fmt
> --- a/arch/arm/mach-davinci/board-neuros-osd2.c
> +++ b/arch/arm/mach-davinci/board-neuros-osd2.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Neuros Technologies OSD2 board support
>    *
> @@ -18,10 +19,6 @@
>    *
>    * For more information please refer to
>    * 		http://wiki.neurostechnology.com/index.php/OSD_2.0_HD
> - *
> - * This file is licensed under the terms of the GNU General Public
> - * License version 2. This program is licensed "as is" without any
> - * warranty of any kind, whether express or implied.
>    */
>   #include <linux/platform_device.h>
>   #include <linux/gpio.h>
> --- a/arch/arm/mach-davinci/board-omapl138-hawk.c
> +++ b/arch/arm/mach-davinci/board-omapl138-hawk.c
> @@ -1,13 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Hawkboard.org based on TI's OMAP-L138 Platform
>    *
>    * Initial code: Syed Mohammed Khasim
>    *
>    * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2. This program is licensed "as is" without any warranty of
> - * any kind, whether express or implied.
>    */
>   #include <linux/kernel.h>
>   #include <linux/init.h>
> --- a/arch/arm/mach-davinci/common.c
> +++ b/arch/arm/mach-davinci/common.c
> @@ -1,12 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Code commons to all DaVinci SoCs.
>    *
>    * Author: Mark A. Greer <mgreer@mvista.com>
>    *
> - * 2009 (c) MontaVista Software, Inc. This file is licensed under
> - * the terms of the GNU General Public License version 2. This program
> - * is licensed "as is" without any warranty of any kind, whether express
> - * or implied.
> + * 2009 (c) MontaVista Software, Inc.
>    */
>   #include <linux/module.h>
>   #include <linux/io.h>
> --- a/arch/arm/mach-davinci/cpuidle.h
> +++ b/arch/arm/mach-davinci/cpuidle.h
> @@ -1,11 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * TI DaVinci cpuidle platform support
>    *
>    * 2009 (C) Texas Instruments, Inc. http://www.ti.com/
> - *
> - * This file is licensed under the terms of the GNU General Public License
> - * version 2. This program is licensed "as is" without any warranty of any
> - * kind, whether express or implied.
>    */
>   #ifndef _MACH_DAVINCI_CPUIDLE_H
>   #define _MACH_DAVINCI_CPUIDLE_H
> --- a/arch/arm/mach-davinci/da830.c
> +++ b/arch/arm/mach-davinci/da830.c
> @@ -1,12 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * TI DA830/OMAP L137 chip specific setup
>    *
>    * Author: Mark A. Greer <mgreer@mvista.com>
>    *
> - * 2009 (c) MontaVista Software, Inc. This file is licensed under
> - * the terms of the GNU General Public License version 2. This program
> - * is licensed "as is" without any warranty of any kind, whether express
> - * or implied.
> + * 2009 (c) MontaVista Software, Inc.
>    */
>   #include <linux/clk-provider.h>
>   #include <linux/clk/davinci.h>
> --- a/arch/arm/mach-davinci/da850.c
> +++ b/arch/arm/mach-davinci/da850.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * TI DA850/OMAP-L138 chip specific setup
>    *
> @@ -6,10 +7,7 @@
>    * Derived from: arch/arm/mach-davinci/da830.c
>    * Original Copyrights follow:
>    *
> - * 2009 (c) MontaVista Software, Inc. This file is licensed under
> - * the terms of the GNU General Public License version 2. This program
> - * is licensed "as is" without any warranty of any kind, whether express
> - * or implied.
> + * 2009 (c) MontaVista Software, Inc.
>    */
>   
>   #include <linux/clk-provider.h>
> --- a/arch/arm/mach-davinci/dm355.c
> +++ b/arch/arm/mach-davinci/dm355.c
> @@ -1,12 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * TI DaVinci DM355 chip specific setup
>    *
>    * Author: Kevin Hilman, Deep Root Systems, LLC
>    *
> - * 2007 (c) Deep Root Systems, LLC. This file is licensed under
> - * the terms of the GNU General Public License version 2. This program
> - * is licensed "as is" without any warranty of any kind, whether express
> - * or implied.
> + * 2007 (c) Deep Root Systems, LLC.
>    */
>   
>   #include <linux/clk-provider.h>
> --- a/arch/arm/mach-davinci/dm644x.c
> +++ b/arch/arm/mach-davinci/dm644x.c
> @@ -1,12 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * TI DaVinci DM644x chip specific setup
>    *
>    * Author: Kevin Hilman, Deep Root Systems, LLC
>    *
> - * 2007 (c) Deep Root Systems, LLC. This file is licensed under
> - * the terms of the GNU General Public License version 2. This program
> - * is licensed "as is" without any warranty of any kind, whether express
> - * or implied.
> + * 2007 (c) Deep Root Systems, LLC.
>    */
>   
>   #include <linux/clk-provider.h>
> --- a/arch/arm/mach-davinci/dm646x.c
> +++ b/arch/arm/mach-davinci/dm646x.c
> @@ -1,12 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * TI DaVinci DM644x chip specific setup
>    *
>    * Author: Kevin Hilman, Deep Root Systems, LLC
>    *
> - * 2007 (c) Deep Root Systems, LLC. This file is licensed under
> - * the terms of the GNU General Public License version 2. This program
> - * is licensed "as is" without any warranty of any kind, whether express
> - * or implied.
> + * 2007 (c) Deep Root Systems, LLC.
>    */
>   
>   #include <linux/clk-provider.h>
> --- a/arch/arm/mach-davinci/include/mach/common.h
> +++ b/arch/arm/mach-davinci/include/mach/common.h
> @@ -1,12 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Header for code common to all DaVinci machines.
>    *
>    * Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com>
>    *
> - * 2007 (c) MontaVista Software, Inc. This file is licensed under
> - * the terms of the GNU General Public License version 2. This program
> - * is licensed "as is" without any warranty of any kind, whether express
> - * or implied.
> + * 2007 (c) MontaVista Software, Inc.
>    */
>   
>   #ifndef __ARCH_ARM_MACH_DAVINCI_COMMON_H
> --- a/arch/arm/mach-davinci/include/mach/cputype.h
> +++ b/arch/arm/mach-davinci/include/mach/cputype.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * DaVinci CPU type detection
>    *
> @@ -8,10 +9,7 @@
>    * compiled in to the kernel, the macros return 0 so that
>    * resulting code can be optimized out.
>    *
> - * 2009 (c) Deep Root Systems, LLC. This file is licensed under
> - * the terms of the GNU General Public License version 2. This program
> - * is licensed "as is" without any warranty of any kind, whether express
> - * or implied.
> + * 2009 (c) Deep Root Systems, LLC.
>    */
>   #ifndef _ASM_ARCH_CPU_H
>   #define _ASM_ARCH_CPU_H
> --- a/arch/arm/mach-davinci/include/mach/da8xx.h
> +++ b/arch/arm/mach-davinci/include/mach/da8xx.h
> @@ -1,12 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Chip specific defines for DA8XX/OMAP L1XX SoC
>    *
>    * Author: Mark A. Greer <mgreer@mvista.com>
>    *
> - * 2007, 2009-2010 (c) MontaVista Software, Inc. This file is licensed under
> - * the terms of the GNU General Public License version 2. This program
> - * is licensed "as is" without any warranty of any kind, whether express
> - * or implied.
> + * 2007, 2009-2010 (c) MontaVista Software, Inc.
>    */
>   #ifndef __ASM_ARCH_DAVINCI_DA8XX_H
>   #define __ASM_ARCH_DAVINCI_DA8XX_H
> --- a/arch/arm/mach-davinci/include/mach/hardware.h
> +++ b/arch/arm/mach-davinci/include/mach/hardware.h
> @@ -1,12 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Hardware definitions common to all DaVinci family processors
>    *
>    * Author: Kevin Hilman, Deep Root Systems, LLC
>    *
> - * 2007 (c) Deep Root Systems, LLC. This file is licensed under
> - * the terms of the GNU General Public License version 2. This program
> - * is licensed "as is" without any warranty of any kind, whether express
> - * or implied.
> + * 2007 (c) Deep Root Systems, LLC.
>    */
>   #ifndef __ASM_ARCH_HARDWARE_H
>   #define __ASM_ARCH_HARDWARE_H
> --- a/arch/arm/mach-davinci/include/mach/mux.h
> +++ b/arch/arm/mach-davinci/include/mach/mux.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Table of the DAVINCI register configurations for the PINMUX combinations
>    *
> @@ -8,10 +9,7 @@
>    *
>    * Written by Tony Lindgren
>    *
> - * 2007 (c) MontaVista Software, Inc. This file is licensed under
> - * the terms of the GNU General Public License version 2. This program
> - * is licensed "as is" without any warranty of any kind, whether express
> - * or implied.
> + * 2007 (c) MontaVista Software, Inc.
>    *
>    * Copyright (C) 2008 Texas Instruments.
>    */
> --- a/arch/arm/mach-davinci/include/mach/serial.h
> +++ b/arch/arm/mach-davinci/include/mach/serial.h
> @@ -1,12 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * DaVinci serial device definitions
>    *
>    * Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com>
>    *
> - * 2007 (c) MontaVista Software, Inc. This file is licensed under
> - * the terms of the GNU General Public License version 2. This program
> - * is licensed "as is" without any warranty of any kind, whether express
> - * or implied.
> + * 2007 (c) MontaVista Software, Inc.
>    */
>   #ifndef __ASM_ARCH_SERIAL_H
>   #define __ASM_ARCH_SERIAL_H
> --- a/arch/arm/mach-davinci/include/mach/time.h
> +++ b/arch/arm/mach-davinci/include/mach/time.h
> @@ -1,12 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Local header file for DaVinci time code.
>    *
>    * Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com>
>    *
> - * 2007 (c) MontaVista Software, Inc. This file is licensed under
> - * the terms of the GNU General Public License version 2. This program
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 20/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 471
  2019-06-04  8:11 ` [Batch 17 patch 20/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 471 Thomas Gleixner
@ 2019-06-04 11:19   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:36   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:19 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    released under the gplv2 only spdx license identifier gpl 2 0
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 3 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=de625478f58c
> ---
>   drivers/memory/brcmstb_dpfe.c |    4 +---
>   drivers/scsi/ufs/ufs-hisi.c   |    4 +---
>   drivers/scsi/ufs/ufs-hisi.h   |    4 +---
>   3 files changed, 3 insertions(+), 9 deletions(-)
> 
> --- a/drivers/memory/brcmstb_dpfe.c
> +++ b/drivers/memory/brcmstb_dpfe.c
> @@ -1,10 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * DDR PHY Front End (DPFE) driver for Broadcom set top box SoCs
>    *
>    * Copyright (c) 2017 Broadcom
> - *
> - * Released under the GPLv2 only.
> - * SPDX-License-Identifier: GPL-2.0
>    */
>   
>   /*
> --- a/drivers/scsi/ufs/ufs-hisi.c
> +++ b/drivers/scsi/ufs/ufs-hisi.c
> @@ -1,11 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * HiSilicon Hixxxx UFS Driver
>    *
>    * Copyright (c) 2016-2017 Linaro Ltd.
>    * Copyright (c) 2016-2017 HiSilicon Technologies Co., Ltd.
> - *
> - * Released under the GPLv2 only.
> - * SPDX-License-Identifier: GPL-2.0
>    */
>   
>   #include <linux/time.h>
> --- a/drivers/scsi/ufs/ufs-hisi.h
> +++ b/drivers/scsi/ufs/ufs-hisi.h
> @@ -1,8 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Copyright (c) 2017, HiSilicon. All rights reserved.
> - *
> - * Released under the GPLv2 only.
> - * SPDX-License-Identifier: GPL-2.0
>    */
>   
>   #ifndef UFS_HISI_H_
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>


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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 21/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 472
  2019-06-04  8:11 ` [Batch 17 patch 21/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 472 Thomas Gleixner
@ 2019-06-04 11:20   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:37   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:20 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    released under the terms of the gpl v2
> 
> 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@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=3c44e173d084
> ---
>   tools/testing/selftests/ftrace/ftracetest               |    2 +-
>   tools/testing/selftests/pstore/common_tests             |    2 +-
>   tools/testing/selftests/pstore/pstore_crash_test        |    2 +-
>   tools/testing/selftests/pstore/pstore_post_reboot_tests |    2 +-
>   tools/testing/selftests/pstore/pstore_tests             |    2 +-
>   5 files changed, 5 insertions(+), 5 deletions(-)
> 
> --- a/tools/testing/selftests/ftrace/ftracetest
> +++ b/tools/testing/selftests/ftrace/ftracetest
> @@ -1,11 +1,11 @@
>   #!/bin/sh
> +# SPDX-License-Identifier: GPL-2.0-only
>   
>   # ftracetest - Ftrace test shell scripts
>   #
>   # Copyright (C) Hitachi Ltd., 2014
>   #  Written by Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
>   #
> -# Released under the terms of the GPL v2.
>   
>   usage() { # errno [message]
>   [ ! -z "$2" ] && echo $2
> --- a/tools/testing/selftests/pstore/common_tests
> +++ b/tools/testing/selftests/pstore/common_tests
> @@ -1,11 +1,11 @@
>   #!/bin/sh
> +# SPDX-License-Identifier: GPL-2.0-only
>   
>   # common_tests - Shell script commonly used by pstore test scripts
>   #
>   # Copyright (C) Hitachi Ltd., 2015
>   #  Written by Hiraku Toyooka <hiraku.toyooka.gu@hitachi.com>
>   #
> -# Released under the terms of the GPL v2.
>   
>   # Utilities
>   errexit() { # message
> --- a/tools/testing/selftests/pstore/pstore_crash_test
> +++ b/tools/testing/selftests/pstore/pstore_crash_test
> @@ -1,11 +1,11 @@
>   #!/bin/sh
> +# SPDX-License-Identifier: GPL-2.0-only
>   
>   # pstore_crash_test - Pstore test shell script which causes crash and reboot
>   #
>   # Copyright (C) Hitachi Ltd., 2015
>   #  Written by Hiraku Toyooka <hiraku.toyooka.gu@hitachi.com>
>   #
> -# Released under the terms of the GPL v2.
>   
>   # exit if pstore backend is not registered
>   . ./common_tests
> --- a/tools/testing/selftests/pstore/pstore_post_reboot_tests
> +++ b/tools/testing/selftests/pstore/pstore_post_reboot_tests
> @@ -1,11 +1,11 @@
>   #!/bin/sh
> +# SPDX-License-Identifier: GPL-2.0-only
>   
>   # pstore_post_reboot_tests - Check pstore's behavior after crash/reboot
>   #
>   # Copyright (C) Hitachi Ltd., 2015
>   #  Written by Hiraku Toyooka <hiraku.toyooka.gu@hitachi.com>
>   #
> -# Released under the terms of the GPL v2.
>   
>   # Kselftest framework requirement - SKIP code is 4.
>   ksft_skip=4
> --- a/tools/testing/selftests/pstore/pstore_tests
> +++ b/tools/testing/selftests/pstore/pstore_tests
> @@ -1,11 +1,11 @@
>   #!/bin/sh
> +# SPDX-License-Identifier: GPL-2.0-only
>   
>   # pstore_tests - Check pstore's behavior before crash/reboot
>   #
>   # Copyright (C) Hitachi Ltd., 2015
>   #  Written by Hiraku Toyooka <hiraku.toyooka.gu@hitachi.com>
>   #
> -# Released under the terms of the GPL v2.
>   
>   . ./common_tests
>   
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 43/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 494
  2019-06-04  8:11 ` [Batch 17 patch 43/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 494 Thomas Gleixner
@ 2019-06-04 11:20   ` Thomas Gleixner
  2019-06-04 11:51     ` Enrico Weigelt, metux IT consult
  0 siblings, 1 reply; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04 11:20 UTC (permalink / raw)
  To: linux-spdx

On Tue, 4 Jun 2019, Thomas Gleixner wrote:

> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>   copyright this file is distributed under the terms of the gnu
>   general public license gpl copies of the gpl can be obtained from
>   ftp prep ai mit edu pub gnu gpl each contributing author retains all
>   rights to their own work

That's definitely a bold claim to deduce v2 only. The ftp link does not
exist and the wayback machine does not have it either.

Put on hold.

Thanks,

	tglx

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 22/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 473
  2019-06-04  8:11 ` [Batch 17 patch 22/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 473 Thomas Gleixner
@ 2019-06-04 11:20   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:37   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:20 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this file is subject to the terms and conditions of the gnu general
>    public license v2
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=43e559c0dca4
> ---
>   scripts/dtc/dt_to_config |    3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
> 
> --- a/scripts/dtc/dt_to_config
> +++ b/scripts/dtc/dt_to_config
> @@ -1,10 +1,9 @@
>   #!/usr/bin/env perl
> +# SPDX-License-Identifier: GPL-2.0-only
>   
>   # Copyright 2016 by Frank Rowand
>   # Copyright 2016 by Gaurav Minocha
>   #
> -# This file is subject to the terms and conditions of the GNU General Public
> -# License v2.
>   
>   use strict 'refs';
>   use strict subs;
> 
> 

Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 23/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 474
  2019-06-04  8:11 ` [Batch 17 patch 23/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 474 Thomas Gleixner
@ 2019-06-04 11:21   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:39   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:21 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    subject to the gnu public license v 2 no warranty of any kind
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 2 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=852924b1ea1d
> ---
>   arch/x86/entry/thunk_32.S |    2 +-
>   arch/x86/entry/thunk_64.S |    2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
> 
> --- a/arch/x86/entry/thunk_32.S
> +++ b/arch/x86/entry/thunk_32.S
> @@ -1,8 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Trampoline to trace irqs off. (otherwise CALLER_ADDR1 might crash)
>    * Copyright 2008 by Steven Rostedt, Red Hat, Inc
>    *  (inspired by Andi Kleen's thunk_64.S)
> - * Subject to the GNU public license, v.2. No warranty of any kind.
>    */
>   	#include <linux/linkage.h>
>   	#include <asm/asm.h>
> --- a/arch/x86/entry/thunk_64.S
> +++ b/arch/x86/entry/thunk_64.S
> @@ -1,9 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Save registers before calling assembly functions. This avoids
>    * disturbance of register allocation in some inline assembly constructs.
>    * Copyright 2001,2002 by Andi Kleen, SuSE Labs.
>    * Added trace_hardirqs callers - Copyright 2007 Steven Rostedt, Red Hat, Inc.
> - * Subject to the GNU public license, v.2. No warranty of any kind.
>    */
>   #include <linux/linkage.h>
>   #include "calling.h"
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 24/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 475
  2019-06-04  8:11 ` [Batch 17 patch 24/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 475 Thomas Gleixner
@ 2019-06-04 11:22   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:40   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:22 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this program is free software you can redistribute it and or modify
>    it under the terms of the gnu general public license version 2 as
>    published by the free software foudation
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=aa5900060f8f
> ---
>   drivers/input/touchscreen/hideep.c |    5 +----
>   1 file changed, 1 insertion(+), 4 deletions(-)
> 
> --- a/drivers/input/touchscreen/hideep.c
> +++ b/drivers/input/touchscreen/hideep.c
> @@ -1,9 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2012-2017 Hideep, Inc.
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License version 2
> - * as published by the Free Software Foudation.
>    */
>   
>   #include <linux/module.h>
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 25/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 476
  2019-06-04  8:11 ` [Batch 17 patch 25/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 476 Thomas Gleixner
@ 2019-06-04 11:22   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:40   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:22 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    spdx lincense identifier gpl 2 0
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=883b5a89535b
> ---
>   drivers/pinctrl/sh-pfc/pfc-r8a77980.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/drivers/pinctrl/sh-pfc/pfc-r8a77980.c
> +++ b/drivers/pinctrl/sh-pfc/pfc-r8a77980.c
> @@ -1,4 +1,4 @@
> -// SPDX-Lincense-Identifier: GPL 2.0
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * R8A77980 processor support - PFC hardware block.
>    *
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 26/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 477
  2019-06-04  8:11 ` [Batch 17 patch 26/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 477 Thomas Gleixner
@ 2019-06-04 11:22   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:41   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:22 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    subject to gplv2
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=6b88d94e3e82
> ---
>   arch/x86/kernel/amd_nb.c |    3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> --- a/arch/x86/kernel/amd_nb.c
> +++ b/arch/x86/kernel/amd_nb.c
> @@ -1,6 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Shared support code for AMD K8 northbridges and derivates.
> - * Copyright 2006 Andi Kleen, SUSE Labs. Subject to GPLv2.
> + * Copyright 2006 Andi Kleen, SUSE Labs.
>    */
>   
>   #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 57/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 508
  2019-06-04  8:11 ` [Batch 17 patch 57/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 508 Thomas Gleixner
@ 2019-06-04 11:23   ` Thomas Gleixner
  0 siblings, 0 replies; 193+ messages in thread
From: Thomas Gleixner @ 2019-06-04 11:23 UTC (permalink / raw)
  To: linux-spdx

On Tue, 4 Jun 2019, Thomas Gleixner wrote:

> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>   this program is free software you can redistribute it and or modify
>   it under the terms of the modified gnu general public license
>   delivered with the linux kernel source this program is distributed
>   in the hope that it will be useful but without any warranty without
>   even the implied warranty of merchantability or fitness for a
>   particular purpose see the gnu general public license for more
>   details you should find a copy of the gnu general public license in
>   usr src linux copying

No version number but reference to /usr/src/linux/COPYING. On hold

Thanks,

	tglx

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 28/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 479
  2019-06-04  8:11 ` [Batch 17 patch 28/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 479 Thomas Gleixner
@ 2019-06-04 11:24   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:42   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:24 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    released under the gpl v2 based on gplv2 source code
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=19ba1867e987
> ---
>   tools/perf/util/genelf_debug.c |    3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
> 
> --- a/tools/perf/util/genelf_debug.c
> +++ b/tools/perf/util/genelf_debug.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * genelf_debug.c
>    * Copyright (C) 2015, Google, Inc
> @@ -5,8 +6,6 @@
>    * Contributed by:
>    * 	Stephane Eranian <eranian@google.com>
>    *
> - * Released under the GPL v2.
> - *
>    * based on GPLv2 source code from Oprofile
>    * @remark Copyright 2007 OProfile authors
>    * @author Philippe Elie
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 29/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 480
  2019-06-04  8:11 ` [Batch 17 patch 29/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 480 Thomas Gleixner
@ 2019-06-04 11:26   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:43   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:26 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    adapted from oprofile gplv2 support
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=91c46dec66de
> ---
>   tools/perf/util/jitdump.h |    1 +
>   1 file changed, 1 insertion(+)
> 
> --- a/tools/perf/util/jitdump.h
> +++ b/tools/perf/util/jitdump.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * jitdump.h: jitted code info encapsulation file format
>    *
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 30/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 481
  2019-06-04  8:11 ` [Batch 17 patch 30/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 481 Thomas Gleixner
@ 2019-06-04 11:27   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:44   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:27 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    use of this source code is governed by the gplv2 license
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 2 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=df6ac81f4f8f
> ---
>   tools/testing/selftests/kselftest_harness.h   |    2 +-
>   tools/testing/selftests/seccomp/seccomp_bpf.c |    2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
> 
> --- a/tools/testing/selftests/kselftest_harness.h
> +++ b/tools/testing/selftests/kselftest_harness.h
> @@ -1,6 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
> - * Use of this source code is governed by the GPLv2 license.
>    *
>    * kselftest_harness.h: simple C unit test helper.
>    *
> --- a/tools/testing/selftests/seccomp/seccomp_bpf.c
> +++ b/tools/testing/selftests/seccomp/seccomp_bpf.c
> @@ -1,6 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
> - * Use of this source code is governed by the GPLv2 license.
>    *
>    * Test code for seccomp bpf.
>    */
> 
> 


Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 31/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482
  2019-06-04  8:11 ` [Batch 17 patch 31/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 Thomas Gleixner
@ 2019-06-04 11:28   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:45   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:28 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this work is licensed under the terms of the gnu gpl version 2
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 48 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=ac5d17b74537
> ---
>   arch/sparc/include/asm/adi_64.h                                  |    3 +--
>   arch/sparc/kernel/adi_64.c                                       |    3 +--
>   arch/sparc/kernel/sun4v_mcd.S                                    |    3 +--
>   drivers/acpi/ec_sys.c                                            |    3 +--
>   drivers/vhost/net.c                                              |    3 +--
>   drivers/vhost/test.c                                             |    3 +--
>   drivers/vhost/vhost.c                                            |    3 +--
>   drivers/vhost/vsock.c                                            |    3 +--
>   mm/cleancache.c                                                  |    3 +--
>   mm/frontswap.c                                                   |    3 +--
>   mm/ksm.c                                                         |    3 +--
>   net/vmw_vsock/virtio_transport.c                                 |    3 +--
>   net/vmw_vsock/virtio_transport_common.c                          |    3 +--
>   tools/power/acpi/tools/ec/ec_access.c                            |    3 +--
>   tools/testing/selftests/kvm/include/kvm_util.h                   |    4 +---
>   tools/testing/selftests/kvm/include/sparsebit.h                  |    4 +---
>   tools/testing/selftests/kvm/include/test_util.h                  |    4 +---
>   tools/testing/selftests/kvm/include/x86_64/processor.h           |    4 +---
>   tools/testing/selftests/kvm/include/x86_64/vmx.h                 |    4 +---
>   tools/testing/selftests/kvm/lib/assert.c                         |    3 +--
>   tools/testing/selftests/kvm/lib/elf.c                            |    3 +--
>   tools/testing/selftests/kvm/lib/io.c                             |    3 +--
>   tools/testing/selftests/kvm/lib/kvm_util.c                       |    3 +--
>   tools/testing/selftests/kvm/lib/kvm_util_internal.h              |    3 +--
>   tools/testing/selftests/kvm/lib/sparsebit.c                      |    3 +--
>   tools/testing/selftests/kvm/lib/x86_64/processor.c               |    3 +--
>   tools/testing/selftests/kvm/lib/x86_64/vmx.c                     |    3 +--
>   tools/testing/selftests/kvm/x86_64/kvm_create_max_vcpus.c        |    3 +--
>   tools/testing/selftests/kvm/x86_64/set_sregs_test.c              |    4 +---
>   tools/testing/selftests/kvm/x86_64/state_test.c                  |    3 +--
>   tools/testing/selftests/kvm/x86_64/sync_regs_test.c              |    3 +--
>   tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c |    3 +--
>   tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c   |    3 +--
>   tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c         |    4 +---
>   tools/virtio/ringtest/main.c                                     |    2 +-
>   tools/virtio/ringtest/main.h                                     |    2 +-
>   tools/virtio/ringtest/ring.c                                     |    2 +-
>   tools/virtio/ringtest/virtio_ring_0_9.c                          |    2 +-
>   38 files changed, 38 insertions(+), 79 deletions(-)
> 
> --- a/arch/sparc/include/asm/adi_64.h
> +++ b/arch/sparc/include/asm/adi_64.h
> @@ -1,9 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /* adi_64.h: ADI related data structures
>    *
>    * Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved.
>    * Author: Khalid Aziz (khalid.aziz@oracle.com)
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.
>    */
>   #ifndef __ASM_SPARC64_ADI_H
>   #define __ASM_SPARC64_ADI_H
> --- a/arch/sparc/kernel/adi_64.c
> +++ b/arch/sparc/kernel/adi_64.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* adi_64.c: support for ADI (Application Data Integrity) feature on
>    * sparc m7 and newer processors. This feature is also known as
>    * SSM (Silicon Secured Memory).
>    *
>    * Copyright (C) 2016 Oracle and/or its affiliates. All rights reserved.
>    * Author: Khalid Aziz (khalid.aziz@oracle.com)
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.
>    */
>   #include <linux/init.h>
>   #include <linux/slab.h>
> --- a/arch/sparc/kernel/sun4v_mcd.S
> +++ b/arch/sparc/kernel/sun4v_mcd.S
> @@ -1,10 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /* sun4v_mcd.S: Sun4v memory corruption detected precise exception handler
>    *
>    * Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved.
>    * Authors: Bob Picco <bob.picco@oracle.com>,
>    *          Khalid Aziz <khalid.aziz@oracle.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.
>    */
>   	.text
>   	.align 32
> --- a/drivers/acpi/ec_sys.c
> +++ b/drivers/acpi/ec_sys.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * ec_sys.c
>    *
>    * Copyright (C) 2010 SUSE Products GmbH/Novell
>    * Author:
>    *      Thomas Renninger <trenn@suse.de>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.
>    */
>   
>   #include <linux/kernel.h>
> --- a/drivers/vhost/net.c
> +++ b/drivers/vhost/net.c
> @@ -1,8 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* Copyright (C) 2009 Red Hat, Inc.
>    * Author: Michael S. Tsirkin <mst@redhat.com>
>    *
> - * This work is licensed under the terms of the GNU GPL, version 2.
> - *
>    * virtio-net server in host kernel.
>    */
>   
> --- a/drivers/vhost/test.c
> +++ b/drivers/vhost/test.c
> @@ -1,8 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* Copyright (C) 2009 Red Hat, Inc.
>    * Author: Michael S. Tsirkin <mst@redhat.com>
>    *
> - * This work is licensed under the terms of the GNU GPL, version 2.
> - *
>    * test virtio server in host kernel.
>    */
>   
> --- a/drivers/vhost/vhost.c
> +++ b/drivers/vhost/vhost.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* Copyright (C) 2009 Red Hat, Inc.
>    * Copyright (C) 2006 Rusty Russell IBM Corporation
>    *
> @@ -6,8 +7,6 @@
>    * Inspiration, some code, and most witty comments come from
>    * Documentation/virtual/lguest/lguest.c, by Rusty Russell
>    *
> - * This work is licensed under the terms of the GNU GPL, version 2.
> - *
>    * Generic code for virtio server in host kernel.
>    */
>   
> --- a/drivers/vhost/vsock.c
> +++ b/drivers/vhost/vsock.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * vhost transport for vsock
>    *
>    * Copyright (C) 2013-2015 Red Hat, Inc.
>    * Author: Asias He <asias@redhat.com>
>    *         Stefan Hajnoczi <stefanha@redhat.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.
>    */
>   #include <linux/miscdevice.h>
>   #include <linux/atomic.h>
> --- a/mm/cleancache.c
> +++ b/mm/cleancache.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Cleancache frontend
>    *
> @@ -7,8 +8,6 @@
>    *
>    * Copyright (C) 2009-2010 Oracle Corp. All rights reserved.
>    * Author: Dan Magenheimer
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.
>    */
>   
>   #include <linux/module.h>
> --- a/mm/frontswap.c
> +++ b/mm/frontswap.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Frontswap frontend
>    *
> @@ -7,8 +8,6 @@
>    *
>    * Copyright (C) 2009-2012 Oracle Corp.  All rights reserved.
>    * Author: Dan Magenheimer
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.
>    */
>   
>   #include <linux/mman.h>
> --- a/mm/ksm.c
> +++ b/mm/ksm.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Memory merging support.
>    *
> @@ -10,8 +11,6 @@
>    *	Andrea Arcangeli
>    *	Chris Wright
>    *	Hugh Dickins
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.
>    */
>   
>   #include <linux/errno.h>
> --- a/net/vmw_vsock/virtio_transport.c
> +++ b/net/vmw_vsock/virtio_transport.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * virtio transport for vsock
>    *
> @@ -7,8 +8,6 @@
>    *
>    * Some of the code is take from Gerd Hoffmann <kraxel@redhat.com>'s
>    * early virtio-vsock proof-of-concept bits.
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.
>    */
>   #include <linux/spinlock.h>
>   #include <linux/module.h>
> --- a/net/vmw_vsock/virtio_transport_common.c
> +++ b/net/vmw_vsock/virtio_transport_common.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * common code for virtio vsock
>    *
>    * Copyright (C) 2013-2015 Red Hat, Inc.
>    * Author: Asias He <asias@redhat.com>
>    *         Stefan Hajnoczi <stefanha@redhat.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.
>    */
>   #include <linux/spinlock.h>
>   #include <linux/module.h>
> --- a/tools/power/acpi/tools/ec/ec_access.c
> +++ b/tools/power/acpi/tools/ec/ec_access.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * ec_access.c
>    *
>    * Copyright (C) 2010 SUSE Linux Products GmbH
>    * Author:
>    *      Thomas Renninger <trenn@suse.de>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.
>    */
>   
>   #include <fcntl.h>
> --- a/tools/testing/selftests/kvm/include/kvm_util.h
> +++ b/tools/testing/selftests/kvm/include/kvm_util.h
> @@ -1,10 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * tools/testing/selftests/kvm/include/kvm_util.h
>    *
>    * Copyright (C) 2018, Google LLC.
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.
> - *
>    */
>   #ifndef SELFTEST_KVM_UTIL_H
>   #define SELFTEST_KVM_UTIL_H
> --- a/tools/testing/selftests/kvm/include/sparsebit.h
> +++ b/tools/testing/selftests/kvm/include/sparsebit.h
> @@ -1,11 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * tools/testing/selftests/kvm/include/sparsebit.h
>    *
>    * Copyright (C) 2018, Google LLC.
>    *
> - * This work is licensed under the terms of the GNU GPL, version 2.
> - *
> - *
>    * Header file that describes API to the sparsebit library.
>    * This library provides a memory efficient means of storing
>    * the settings of bits indexed via a uint64_t.  Memory usage
> --- a/tools/testing/selftests/kvm/include/test_util.h
> +++ b/tools/testing/selftests/kvm/include/test_util.h
> @@ -1,10 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * tools/testing/selftests/kvm/include/test_util.h
>    *
>    * Copyright (C) 2018, Google LLC.
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.
> - *
>    */
>   
>   #ifndef SELFTEST_KVM_TEST_UTIL_H
> --- a/tools/testing/selftests/kvm/include/x86_64/processor.h
> +++ b/tools/testing/selftests/kvm/include/x86_64/processor.h
> @@ -1,10 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * tools/testing/selftests/kvm/include/x86_64/processor.h
>    *
>    * Copyright (C) 2018, Google LLC.
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.
> - *
>    */
>   
>   #ifndef SELFTEST_KVM_PROCESSOR_H
> --- a/tools/testing/selftests/kvm/include/x86_64/vmx.h
> +++ b/tools/testing/selftests/kvm/include/x86_64/vmx.h
> @@ -1,10 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * tools/testing/selftests/kvm/include/x86_64/vmx.h
>    *
>    * Copyright (C) 2018, Google LLC.
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.
> - *
>    */
>   
>   #ifndef SELFTEST_KVM_VMX_H
> --- a/tools/testing/selftests/kvm/lib/assert.c
> +++ b/tools/testing/selftests/kvm/lib/assert.c
> @@ -1,9 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * tools/testing/selftests/kvm/lib/assert.c
>    *
>    * Copyright (C) 2018, Google LLC.
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.
>    */
>   
>   #define _GNU_SOURCE /* for getline(3) and strchrnul(3)*/
> --- a/tools/testing/selftests/kvm/lib/elf.c
> +++ b/tools/testing/selftests/kvm/lib/elf.c
> @@ -1,9 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * tools/testing/selftests/kvm/lib/elf.c
>    *
>    * Copyright (C) 2018, Google LLC.
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.
>    */
>   
>   #include "test_util.h"
> --- a/tools/testing/selftests/kvm/lib/io.c
> +++ b/tools/testing/selftests/kvm/lib/io.c
> @@ -1,9 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * tools/testing/selftests/kvm/lib/io.c
>    *
>    * Copyright (C) 2018, Google LLC.
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.
>    */
>   
>   #include "test_util.h"
> --- a/tools/testing/selftests/kvm/lib/kvm_util.c
> +++ b/tools/testing/selftests/kvm/lib/kvm_util.c
> @@ -1,9 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * tools/testing/selftests/kvm/lib/kvm_util.c
>    *
>    * Copyright (C) 2018, Google LLC.
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.
>    */
>   
>   #include "test_util.h"
> --- a/tools/testing/selftests/kvm/lib/kvm_util_internal.h
> +++ b/tools/testing/selftests/kvm/lib/kvm_util_internal.h
> @@ -1,9 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * tools/testing/selftests/kvm/lib/kvm_util_internal.h
>    *
>    * Copyright (C) 2018, Google LLC.
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.
>    */
>   
>   #ifndef SELFTEST_KVM_UTIL_INTERNAL_H
> --- a/tools/testing/selftests/kvm/lib/sparsebit.c
> +++ b/tools/testing/selftests/kvm/lib/sparsebit.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Sparse bit array
>    *
>    * Copyright (C) 2018, Google LLC.
>    * Copyright (C) 2018, Red Hat, Inc. (code style cleanup and fuzzing driver)
>    *
> - * This work is licensed under the terms of the GNU GPL, version 2.
> - *
>    * This library provides functions to support a memory efficient bit array,
>    * with an index size of 2^64.  A sparsebit array is allocated through
>    * the use sparsebit_alloc() and free'd via sparsebit_free(),
> --- a/tools/testing/selftests/kvm/lib/x86_64/processor.c
> +++ b/tools/testing/selftests/kvm/lib/x86_64/processor.c
> @@ -1,9 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * tools/testing/selftests/kvm/lib/x86_64/processor.c
>    *
>    * Copyright (C) 2018, Google LLC.
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.
>    */
>   
>   #define _GNU_SOURCE /* for program_invocation_name */
> --- a/tools/testing/selftests/kvm/lib/x86_64/vmx.c
> +++ b/tools/testing/selftests/kvm/lib/x86_64/vmx.c
> @@ -1,9 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * tools/testing/selftests/kvm/lib/x86_64/vmx.c
>    *
>    * Copyright (C) 2018, Google LLC.
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.
>    */
>   
>   #define _GNU_SOURCE /* for program_invocation_name */
> --- a/tools/testing/selftests/kvm/x86_64/kvm_create_max_vcpus.c
> +++ b/tools/testing/selftests/kvm/x86_64/kvm_create_max_vcpus.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * kvm_create_max_vcpus
>    *
>    * Copyright (C) 2019, Google LLC.
>    *
> - * This work is licensed under the terms of the GNU GPL, version 2.
> - *
>    * Test for KVM_CAP_MAX_VCPUS and KVM_CAP_MAX_VCPU_ID.
>    */
>   
> --- a/tools/testing/selftests/kvm/x86_64/set_sregs_test.c
> +++ b/tools/testing/selftests/kvm/x86_64/set_sregs_test.c
> @@ -1,16 +1,14 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * KVM_SET_SREGS tests
>    *
>    * Copyright (C) 2018, Google LLC.
>    *
> - * This work is licensed under the terms of the GNU GPL, version 2.
> - *
>    * This is a regression test for the bug fixed by the following commit:
>    * d3802286fa0f ("kvm: x86: Disallow illegal IA32_APIC_BASE MSR values")
>    *
>    * That bug allowed a user-mode program that called the KVM_SET_SREGS
>    * ioctl to put a VCPU's local APIC into an invalid state.
> - *
>    */
>   #define _GNU_SOURCE /* for program_invocation_short_name */
>   #include <fcntl.h>
> --- a/tools/testing/selftests/kvm/x86_64/state_test.c
> +++ b/tools/testing/selftests/kvm/x86_64/state_test.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * KVM_GET/SET_* tests
>    *
>    * Copyright (C) 2018, Red Hat, Inc.
>    *
> - * This work is licensed under the terms of the GNU GPL, version 2.
> - *
>    * Tests for vCPU state save/restore, including nested guest state.
>    */
>   #define _GNU_SOURCE /* for program_invocation_short_name */
> --- a/tools/testing/selftests/kvm/x86_64/sync_regs_test.c
> +++ b/tools/testing/selftests/kvm/x86_64/sync_regs_test.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Test for x86 KVM_CAP_SYNC_REGS
>    *
>    * Copyright (C) 2018, Google LLC.
>    *
> - * This work is licensed under the terms of the GNU GPL, version 2.
> - *
>    * Verifies expected behavior of x86 KVM_CAP_SYNC_REGS functionality,
>    * including requesting an invalid register set, updates to/from values
>    * in kvm_run.s.regs when kvm_valid_regs and kvm_dirty_regs are toggled.
> --- a/tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c
> +++ b/tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * vmx_close_while_nested
>    *
>    * Copyright (C) 2019, Red Hat, Inc.
>    *
> - * This work is licensed under the terms of the GNU GPL, version 2.
> - *
>    * Verify that nothing bad happens if a KVM user exits with open
>    * file descriptors while executing a nested guest.
>    */
> --- a/tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c
> +++ b/tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c
> @@ -1,10 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * vmx_set_nested_state_test
>    *
>    * Copyright (C) 2019, Google LLC.
>    *
> - * This work is licensed under the terms of the GNU GPL, version 2.
> - *
>    * This test verifies the integrity of calling the ioctl KVM_SET_NESTED_STATE.
>    */
>   
> --- a/tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c
> +++ b/tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c
> @@ -1,11 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * vmx_tsc_adjust_test
>    *
>    * Copyright (C) 2018, Google LLC.
>    *
> - * This work is licensed under the terms of the GNU GPL, version 2.
> - *
> - *
>    * IA32_TSC_ADJUST test
>    *
>    * According to the SDM, "if an execution of WRMSR to the
> --- a/tools/virtio/ringtest/main.c
> +++ b/tools/virtio/ringtest/main.c
> @@ -1,7 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2016 Red Hat, Inc.
>    * Author: Michael S. Tsirkin <mst@redhat.com>
> - * This work is licensed under the terms of the GNU GPL, version 2.
>    *
>    * Command line processing and common functions for ring benchmarking.
>    */
> --- a/tools/virtio/ringtest/main.h
> +++ b/tools/virtio/ringtest/main.h
> @@ -1,7 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Copyright (C) 2016 Red Hat, Inc.
>    * Author: Michael S. Tsirkin <mst@redhat.com>
> - * This work is licensed under the terms of the GNU GPL, version 2.
>    *
>    * Common macros and functions for ring benchmarking.
>    */
> --- a/tools/virtio/ringtest/ring.c
> +++ b/tools/virtio/ringtest/ring.c
> @@ -1,7 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2016 Red Hat, Inc.
>    * Author: Michael S. Tsirkin <mst@redhat.com>
> - * This work is licensed under the terms of the GNU GPL, version 2.
>    *
>    * Simple descriptor-based ring. virtio 0.9 compatible event index is used for
>    * signalling, unconditionally.
> --- a/tools/virtio/ringtest/virtio_ring_0_9.c
> +++ b/tools/virtio/ringtest/virtio_ring_0_9.c
> @@ -1,7 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2016 Red Hat, Inc.
>    * Author: Michael S. Tsirkin <mst@redhat.com>
> - * This work is licensed under the terms of the GNU GPL, version 2.
>    *
>    * Partial implementation of virtio 0.9. event index is used for signalling,
>    * unconditionally. Design roughly follows linux kernel implementation in order
> 
> 

Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 32/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 483
  2019-06-04  8:11 ` [Batch 17 patch 32/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 483 Thomas Gleixner
  2019-06-04 11:16   ` Thomas Gleixner
@ 2019-06-04 11:31   ` Enrico Weigelt, metux IT consult
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:31 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this software is licensed under the gnu general license version 2
>    june 1991 as shown in the file copying in the top level directory of
>    this source tree the copyright holders and or other parties provide
>    the program as is without warranty of any kind either expressed or
>    implied including but not limited to the implied warranties of
>    merchantability and fitness for a particular purpose the entire risk
>    as to the quality and performance of the program is with you should
>    the program prove defective you assume the cost of all necessary
>    servicing repair or correction
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 7 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=298d23eedc0f
> ---
>   drivers/net/netdevsim/bpf.c                 |   12 +-----------
>   drivers/net/netdevsim/dev.c                 |   12 +-----------
>   drivers/net/netdevsim/fib.c                 |   12 +-----------
>   drivers/net/netdevsim/netdev.c              |   12 +-----------
>   drivers/net/netdevsim/netdevsim.h           |   12 +-----------
>   kernel/bpf/offload.c                        |   12 +-----------
>   tools/testing/selftests/bpf/test_offload.py |   11 +----------
>   7 files changed, 7 insertions(+), 76 deletions(-)
> 
> --- a/drivers/net/netdevsim/bpf.c
> +++ b/drivers/net/netdevsim/bpf.c
> @@ -1,16 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2017 Netronome Systems, Inc.
> - *
> - * This software is licensed under the GNU General License Version 2,
> - * June 1991 as shown in the file COPYING in the top-level directory of this
> - * source tree.
> - *
> - * THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS"
> - * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
> - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
> - * FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
> - * OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
> - * THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
>    */
>   
>   #include <linux/bpf.h>
> --- a/drivers/net/netdevsim/dev.c
> +++ b/drivers/net/netdevsim/dev.c
> @@ -1,18 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (c) 2018 Cumulus Networks. All rights reserved.
>    * Copyright (c) 2018 David Ahern <dsa@cumulusnetworks.com>
>    * Copyright (c) 2019 Mellanox Technologies. All rights reserved.
> - *
> - * This software is licensed under the GNU General License Version 2,
> - * June 1991 as shown in the file COPYING in the top-level directory of this
> - * source tree.
> - *
> - * THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS"
> - * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
> - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
> - * FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
> - * OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
> - * THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
>    */
>   
>   #include <linux/debugfs.h>
> --- a/drivers/net/netdevsim/fib.c
> +++ b/drivers/net/netdevsim/fib.c
> @@ -1,17 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (c) 2018 Cumulus Networks. All rights reserved.
>    * Copyright (c) 2018 David Ahern <dsa@cumulusnetworks.com>
> - *
> - * This software is licensed under the GNU General License Version 2,
> - * June 1991 as shown in the file COPYING in the top-level directory of this
> - * source tree.
> - *
> - * THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS"
> - * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
> - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
> - * FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
> - * OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
> - * THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
>    */
>   
>   #include <net/fib_notifier.h>
> --- a/drivers/net/netdevsim/netdev.c
> +++ b/drivers/net/netdevsim/netdev.c
> @@ -1,16 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2017 Netronome Systems, Inc.
> - *
> - * This software is licensed under the GNU General License Version 2,
> - * June 1991 as shown in the file COPYING in the top-level directory of this
> - * source tree.
> - *
> - * THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS"
> - * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
> - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
> - * FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
> - * OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
> - * THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
>    */
>   
>   #include <linux/debugfs.h>
> --- a/drivers/net/netdevsim/netdevsim.h
> +++ b/drivers/net/netdevsim/netdevsim.h
> @@ -1,16 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Copyright (C) 2017 Netronome Systems, Inc.
> - *
> - * This software is licensed under the GNU General License Version 2,
> - * June 1991 as shown in the file COPYING in the top-level directory of this
> - * source tree.
> - *
> - * THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS"
> - * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
> - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
> - * FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
> - * OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
> - * THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
>    */
>   
>   #include <linux/device.h>
> --- a/kernel/bpf/offload.c
> +++ b/kernel/bpf/offload.c
> @@ -1,16 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2017-2018 Netronome Systems, Inc.
> - *
> - * This software is licensed under the GNU General License Version 2,
> - * June 1991 as shown in the file COPYING in the top-level directory of this
> - * source tree.
> - *
> - * THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS"
> - * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
> - * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
> - * FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
> - * OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
> - * THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
>    */
>   
>   #include <linux/bpf.h>
> --- a/tools/testing/selftests/bpf/test_offload.py
> +++ b/tools/testing/selftests/bpf/test_offload.py
> @@ -1,18 +1,9 @@
>   #!/usr/bin/python3
> +# SPDX-License-Identifier: GPL-2.0-only
>   
>   # Copyright (C) 2017 Netronome Systems, Inc.
>   # Copyright (c) 2019 Mellanox Technologies. All rights reserved
>   #
> -# This software is licensed under the GNU General License Version 2,
> -# June 1991 as shown in the file COPYING in the top-level directory of this
> -# source tree.
> -#
> -# THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS"
> -# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
> -# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
> -# FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
> -# OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
> -# THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
>   
>   from datetime import datetime
>   import argparse
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>


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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 33/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 484
  2019-06-04  8:11 ` [Batch 17 patch 33/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 484 Thomas Gleixner
@ 2019-06-04 11:31   ` Enrico Weigelt, metux IT consult
  2019-06-04 20:53   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:31 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this source code is licensed under general public license version 2
> 
> 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@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=cbe536b5c512
> ---
>   include/linux/netfilter/nf_conntrack_h323_asn1.h  |    4 +---
>   include/linux/netfilter/nf_conntrack_h323_types.h |    3 +--
>   net/ipv4/netfilter/nf_nat_h323.c                  |    3 +--
>   net/netfilter/nf_conntrack_h323_main.c            |    3 +--
>   net/netfilter/nf_conntrack_h323_types.c           |    3 +--
>   5 files changed, 5 insertions(+), 11 deletions(-)
> 
> --- a/include/linux/netfilter/nf_conntrack_h323_asn1.h
> +++ b/include/linux/netfilter/nf_conntrack_h323_asn1.h
> @@ -1,12 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /****************************************************************************
>    * ip_conntrack_h323_asn1.h - BER and PER decoding library for H.323
>    * 			      conntrack/NAT module.
>    *
>    * Copyright (c) 2006 by Jing Min Zhao <zhaojingmin@users.sourceforge.net>
>    *
> - * This source code is licensed under General Public License version 2.
> - *
> - *
>    * This library is based on H.225 version 4, H.235 version 2 and H.245
>    * version 7. It is extremely optimized to decode only the absolutely
>    * necessary objects in a signal for Linux kernel NAT module use, so don't
> --- a/include/linux/netfilter/nf_conntrack_h323_types.h
> +++ b/include/linux/netfilter/nf_conntrack_h323_types.h
> @@ -1,8 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /* Generated by Jing Min Zhao's ASN.1 parser, May 16 2007
>    *
>    * Copyright (c) 2006 Jing Min Zhao <zhaojingmin@users.sourceforge.net>
> - *
> - * This source code is licensed under General Public License version 2.
>    */
>   
>   typedef struct TransportAddress_ipAddress {	/* SEQUENCE */
> --- a/net/ipv4/netfilter/nf_nat_h323.c
> +++ b/net/ipv4/netfilter/nf_nat_h323.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * H.323 extension for NAT alteration.
>    *
>    * Copyright (c) 2006 Jing Min Zhao <zhaojingmin@users.sourceforge.net>
>    * Copyright (c) 2006-2012 Patrick McHardy <kaber@trash.net>
>    *
> - * This source code is licensed under General Public License version 2.
> - *
>    * Based on the 'brute force' H.323 NAT module by
>    * Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
>    */
> --- a/net/netfilter/nf_conntrack_h323_main.c
> +++ b/net/netfilter/nf_conntrack_h323_main.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * H.323 connection tracking helper
>    *
>    * Copyright (c) 2006 Jing Min Zhao <zhaojingmin@users.sourceforge.net>
>    * Copyright (c) 2006-2012 Patrick McHardy <kaber@trash.net>
>    *
> - * This source code is licensed under General Public License version 2.
> - *
>    * Based on the 'brute force' H.323 connection tracking module by
>    * Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
>    *
> --- a/net/netfilter/nf_conntrack_h323_types.c
> +++ b/net/netfilter/nf_conntrack_h323_types.c
> @@ -1,8 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* Generated by Jing Min Zhao's ASN.1 parser, May 16 2007
>    *
>    * Copyright (c) 2006 Jing Min Zhao <zhaojingmin@users.sourceforge.net>
> - *
> - * This source code is licensed under General Public License version 2.
>    */
>   
>   static const struct field_t _TransportAddress_ipAddress[] = {	/* SEQUENCE */
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 34/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 485
  2019-06-04  8:11 ` [Batch 17 patch 34/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 485 Thomas Gleixner
@ 2019-06-04 11:32   ` Enrico Weigelt, metux IT consult
  2019-06-04 21:03   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:32 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this program is free software you can redistribute it and or modify
>    it under the terms of the gnu general public license version 2 as
>    published by the free software foundation this program is
>    distributed in the hope that it would be useful but without any
>    warranty without even the implied warranty of merchantability or
>    fitness for a particular purpose
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=880dd574eaef
> ---
>   tools/testing/selftests/vm/va_128TBswitch.c |   10 +---------
>   1 file changed, 1 insertion(+), 9 deletions(-)
> 
> --- a/tools/testing/selftests/vm/va_128TBswitch.c
> +++ b/tools/testing/selftests/vm/va_128TBswitch.c
> @@ -1,16 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    *
>    * Authors: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
>    * Authors: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License, version 2, as
> - * published by the Free Software Foundation.
> -
> - * This program is distributed in the hope that it would be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> - *
>    */
>   
>   #include <stdio.h>
> 
> 

Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 35/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 486
  2019-06-04  8:11 ` [Batch 17 patch 35/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 486 Thomas Gleixner
@ 2019-06-04 11:33   ` Enrico Weigelt, metux IT consult
  2019-06-04 21:03   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:33 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this package is free software you can redistribute it and or modify
>    it under the terms of the gnu general public license version 2 as
>    published by the free software foundation this program is
>    distributed in the hope that it will be useful but without any
>    warranty without even the implied warranty of merchantability or
>    fitness for a particular purpose see the gnu general public license
>    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 3 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=83d991495746
> ---
>   drivers/media/i2c/tvp514x.c      |   11 +----------
>   drivers/media/i2c/tvp514x_regs.h |   11 +----------
>   include/media/i2c/tvp514x.h      |   11 +----------
>   3 files changed, 3 insertions(+), 30 deletions(-)
> 
> --- a/drivers/media/i2c/tvp514x.c
> +++ b/drivers/media/i2c/tvp514x.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * drivers/media/i2c/tvp514x.c
>    *
> @@ -13,16 +14,6 @@
>    *     Manjunath Hadli <mrh@ti.com>
>    *     Karicheri Muralidharan <m-karicheri2@ti.com>
>    *     Prabhakar Lad <prabhakar.lad@ti.com>
> - *
> - * This package is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
>    */
>   
>   #include <linux/i2c.h>
> --- a/drivers/media/i2c/tvp514x_regs.h
> +++ b/drivers/media/i2c/tvp514x_regs.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * drivers/media/i2c/tvp514x_regs.h
>    *
> @@ -10,16 +11,6 @@
>    *     Hardik Shah <hardik.shah@ti.com>
>    *     Manjunath Hadli <mrh@ti.com>
>    *     Karicheri Muralidharan <m-karicheri2@ti.com>
> - *
> - * This package is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
>    */
>   
>   #ifndef _TVP514X_REGS_H
> --- a/include/media/i2c/tvp514x.h
> +++ b/include/media/i2c/tvp514x.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * drivers/media/video/tvp514x.h
>    *
> @@ -10,16 +11,6 @@
>    *     Hardik Shah <hardik.shah@ti.com>
>    *     Manjunath Hadli <mrh@ti.com>
>    *     Karicheri Muralidharan <m-karicheri2@ti.com>
> - *
> - * This package is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
>    */
>   
>   #ifndef _TVP514X_H
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 36/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 487
  2019-06-04  8:11 ` [Batch 17 patch 36/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 487 Thomas Gleixner
@ 2019-06-04 11:33   ` Enrico Weigelt, metux IT consult
  2019-06-04 21:05   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:33 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this program is free software you can redistribute it and or modify
>    it under the terms of the gnu general public license version 2 as
>    published by the free software foundation this program is
>    distributed in the hope that it will be useful but without any
>    warranty without even the implied warranty of merchantability or
>    fitness for a particular purpose see http www gnu org licenses gpl 2
>    0 html 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 2 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=18d78624e158
> ---
>   include/dt-bindings/power/mt2712-power.h |   10 +---------
>   include/dt-bindings/power/mt7622-power.h |   10 +---------
>   2 files changed, 2 insertions(+), 18 deletions(-)
> 
> --- a/include/dt-bindings/power/mt2712-power.h
> +++ b/include/dt-bindings/power/mt2712-power.h
> @@ -1,14 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Copyright (C) 2017 MediaTek Inc.
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> - * See http://www.gnu.org/licenses/gpl-2.0.html for more details.
>    */
>   
>   #ifndef _DT_BINDINGS_POWER_MT2712_POWER_H
> --- a/include/dt-bindings/power/mt7622-power.h
> +++ b/include/dt-bindings/power/mt7622-power.h
> @@ -1,14 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Copyright (C) 2017 MediaTek Inc.
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> - * See http://www.gnu.org/licenses/gpl-2.0.html for more details.
>    */
>   
>   #ifndef _DT_BINDINGS_POWER_MT7622_POWER_H
> 
> 

Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 37/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 488
  2019-06-04  8:11 ` [Batch 17 patch 37/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 488 Thomas Gleixner
@ 2019-06-04 11:37   ` Enrico Weigelt, metux IT consult
  2019-06-04 21:06   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:37 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this program is free software you can redistribute it and or modify
>    it under the terms of the gnu general public license version 2 as
>    published by the free software foundation this program is
>    distributed in the hope it will be useful but without any warranty
>    without even the implied warranty of merchantability or fitness for
>    a particular purpose see the gnu general public license 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 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=61a7a2a16183
> ---
>   drivers/iio/light/us5182d.c |   10 +---------
>   1 file changed, 1 insertion(+), 9 deletions(-)
> 
> --- a/drivers/iio/light/us5182d.c
> +++ b/drivers/iio/light/us5182d.c
> @@ -1,17 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (c) 2015 Intel Corporation
>    *
>    * Driver for UPISEMI us5182d Proximity and Ambient Light Sensor.
>    *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License version 2 as published by
> - * the Free Software Foundation.
> - *
> - * This program is distributed in the hope it will be useful, but WITHOUT
> - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> - * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
> - * more details.
> - *
>    * To do: Interrupt support.
>    */
>   
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 38/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 489
  2019-06-04  8:11 ` [Batch 17 patch 38/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 489 Thomas Gleixner
@ 2019-06-04 11:40   ` Enrico Weigelt, metux IT consult
  2019-06-04 21:07   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:40 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this program is free software you can redistribute it and or modify
>    it under the terms of the gnu general public license version 2 gpl
>    v2 as published by the free software foundation this program is
>    distributed in the hope that it will be useful but without any
>    warranty without even the implied warranty of merchantability or
>    fitness for a particular purpose see the gnu general public license
>    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 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=79ea71d5aa99
> ---
>   drivers/spi/spi-xlp.c |   10 +---------
>   1 file changed, 1 insertion(+), 9 deletions(-)
> 
> --- a/drivers/spi/spi-xlp.c
> +++ b/drivers/spi/spi-xlp.c
> @@ -1,15 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2003-2015 Broadcom Corporation
>    * All Rights Reserved
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 (GPL v2)
> - * as published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
>    */
>   #include <linux/acpi.h>
>   #include <linux/clk.h>
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>


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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 39/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 490
  2019-06-04  8:11 ` [Batch 17 patch 39/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 490 Thomas Gleixner
@ 2019-06-04 11:42   ` Enrico Weigelt, metux IT consult
  2019-06-04 21:08   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:42 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this program is free software you can redistribute it and or modify
>    it under the terms of the gnu general public license as version 2 as
>    published by the free software foundation this program is
>    distributed in the hope that it will be useful but without any
>    warranty without even the implied warranty of merchantability or
>    fitness for a particular purpose see the gnu general public license
>    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 13 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=a0db965fdeb3
> ---
>   sound/soc/intel/skylake/cnl-sst-dsp.c   |   10 +---------
>   sound/soc/intel/skylake/cnl-sst-dsp.h   |   10 +---------
>   sound/soc/intel/skylake/cnl-sst.c       |   10 +---------
>   sound/soc/intel/skylake/skl-messages.c  |   10 +---------
>   sound/soc/intel/skylake/skl-sst-cldma.c |   10 +---------
>   sound/soc/intel/skylake/skl-sst-cldma.h |   10 +---------
>   sound/soc/intel/skylake/skl-sst-dsp.c   |   10 +---------
>   sound/soc/intel/skylake/skl-sst-dsp.h   |   10 +---------
>   sound/soc/intel/skylake/skl-sst-ipc.c   |   10 +---------
>   sound/soc/intel/skylake/skl-sst-ipc.h   |   10 +---------
>   sound/soc/intel/skylake/skl-sst-utils.c |   10 +---------
>   sound/soc/intel/skylake/skl-sst.c       |   10 +---------
>   sound/soc/intel/skylake/skl-topology.c  |   10 +---------
>   13 files changed, 13 insertions(+), 117 deletions(-)
> 
> --- a/sound/soc/intel/skylake/cnl-sst-dsp.c
> +++ b/sound/soc/intel/skylake/cnl-sst-dsp.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * cnl-sst-dsp.c - CNL SST library generic function
>    *
> @@ -9,15 +10,6 @@
>    *	Copyright (C) 2014-15, Intel Corporation.
>    * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as version 2, as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> - * General Public License for more details.
> - *
>    * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    */
>   #include <linux/device.h>
> --- a/sound/soc/intel/skylake/cnl-sst-dsp.h
> +++ b/sound/soc/intel/skylake/cnl-sst-dsp.h
> @@ -1,16 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Cannonlake SST DSP Support
>    *
>    * Copyright (C) 2016-17, Intel Corporation.
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as version 2, as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License for more details.
>    */
>   
>   #ifndef __CNL_SST_DSP_H__
> --- a/sound/soc/intel/skylake/cnl-sst.c
> +++ b/sound/soc/intel/skylake/cnl-sst.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * cnl-sst.c - DSP library functions for CNL platform
>    *
> @@ -11,15 +12,6 @@
>    *
>    * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as version 2, as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> - * General Public License for more details.
> - *
>    * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    */
>   
> --- a/sound/soc/intel/skylake/skl-messages.c
> +++ b/sound/soc/intel/skylake/skl-messages.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    *  skl-message.c - HDA DSP interface for FW registration, Pipe and Module
>    *  configurations
> @@ -6,15 +7,6 @@
>    *  Author:Rafal Redzimski <rafal.f.redzimski@intel.com>
>    *	   Jeeja KP <jeeja.kp@intel.com>
>    *  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as version 2, as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License for more details.
>    */
>   
>   #include <linux/slab.h>
> --- a/sound/soc/intel/skylake/skl-sst-cldma.c
> +++ b/sound/soc/intel/skylake/skl-sst-cldma.c
> @@ -1,18 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * skl-sst-cldma.c - Code Loader DMA handler
>    *
>    * Copyright (C) 2015, Intel Corporation.
>    * Author: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
>    * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as version 2, as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License for more details.
>    */
>   
>   #include <linux/device.h>
> --- a/sound/soc/intel/skylake/skl-sst-cldma.h
> +++ b/sound/soc/intel/skylake/skl-sst-cldma.h
> @@ -1,16 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Intel Code Loader DMA support
>    *
>    * Copyright (C) 2015, Intel Corporation.
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as version 2, as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License for more details.
>    */
>   
>   #ifndef SKL_SST_CLDMA_H_
> --- a/sound/soc/intel/skylake/skl-sst-dsp.c
> +++ b/sound/soc/intel/skylake/skl-sst-dsp.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * skl-sst-dsp.c - SKL SST library generic function
>    *
> @@ -5,15 +6,6 @@
>    * Author:Rafal Redzimski <rafal.f.redzimski@intel.com>
>    *	Jeeja KP <jeeja.kp@intel.com>
>    * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as version 2, as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License for more details.
>    */
>   #include <sound/pcm.h>
>   
> --- a/sound/soc/intel/skylake/skl-sst-dsp.h
> +++ b/sound/soc/intel/skylake/skl-sst-dsp.h
> @@ -1,16 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Skylake SST DSP Support
>    *
>    * Copyright (C) 2014-15, Intel Corporation.
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as version 2, as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License for more details.
>    */
>   
>   #ifndef __SKL_SST_DSP_H__
> --- a/sound/soc/intel/skylake/skl-sst-ipc.c
> +++ b/sound/soc/intel/skylake/skl-sst-ipc.c
> @@ -1,16 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * skl-sst-ipc.c - Intel skl IPC Support
>    *
>    * Copyright (C) 2014-15, Intel Corporation.
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as version 2, as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License for more details.
>    */
>   #include <linux/device.h>
>   
> --- a/sound/soc/intel/skylake/skl-sst-ipc.h
> +++ b/sound/soc/intel/skylake/skl-sst-ipc.h
> @@ -1,16 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Intel SKL IPC Support
>    *
>    * Copyright (C) 2014-15, Intel Corporation.
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as version 2, as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License for more details.
>    */
>   
>   #ifndef __SKL_IPC_H
> --- a/sound/soc/intel/skylake/skl-sst-utils.c
> +++ b/sound/soc/intel/skylake/skl-sst-utils.c
> @@ -1,16 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    *  skl-sst-utils.c - SKL sst utils functions
>    *
>    *  Copyright (C) 2016 Intel Corp
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as version 2, as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License for more details.
>    */
>   
>   #include <linux/device.h>
> --- a/sound/soc/intel/skylake/skl-sst.c
> +++ b/sound/soc/intel/skylake/skl-sst.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * skl-sst.c - HDA DSP library functions for SKL platform
>    *
> @@ -5,15 +6,6 @@
>    * Author:Rafal Redzimski <rafal.f.redzimski@intel.com>
>    *	Jeeja KP <jeeja.kp@intel.com>
>    * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as version 2, as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License for more details.
>    */
>   
>   #include <linux/module.h>
> --- a/sound/soc/intel/skylake/skl-topology.c
> +++ b/sound/soc/intel/skylake/skl-topology.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    *  skl-topology.c - Implements Platform component ALSA controls/widget
>    *  handlers.
> @@ -5,15 +6,6 @@
>    *  Copyright (C) 2014-2015 Intel Corp
>    *  Author: Jeeja KP <jeeja.kp@intel.com>
>    *  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as version 2, as
> - * published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License for more details.
>    */
>   
>   #include <linux/slab.h>
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>


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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 40/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 491
  2019-06-04  8:11 ` [Batch 17 patch 40/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 491 Thomas Gleixner
@ 2019-06-04 11:43   ` Enrico Weigelt, metux IT consult
  2019-06-04 21:09   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:43 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this program is free software you can redistribute it and or modify
>    it under the terms and conditions of the gnu general public license
>    version 2 as published by the free software foundation this program
>    is distributed in the hope that it will be useful but without any
>    warranty without even the implied warranty of merchantability or
>    fitness for a particular purpose see the gnu general public license
>    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 3 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=40e4d3897879
> ---
>   drivers/acpi/pci_slot.c               |   10 +---------
>   drivers/iio/humidity/si7020.c         |   10 +---------
>   include/linux/platform_data/nxp-nci.h |   10 +---------
>   3 files changed, 3 insertions(+), 27 deletions(-)
> 
> --- a/drivers/acpi/pci_slot.c
> +++ b/drivers/acpi/pci_slot.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    *  pci_slot.c - ACPI PCI Slot Driver
>    *
> @@ -11,15 +12,6 @@
>    *
>    *  Copyright (C) 2013 Huawei Tech. Co., Ltd.
>    *	Jiang Liu <jiang.liu@huawei.com>
> - *
> - *  This program is free software; you can redistribute it and/or modify it
> - *  under the terms and conditions of the GNU General Public License,
> - *  version 2, as published by the Free Software Foundation.
> - *
> - *  This program is distributed in the hope that it will be useful, but
> - *  WITHOUT ANY WARRANTY; without even the implied warranty of
> - *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - *  General Public License for more details.
>    */
>   
>   #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/drivers/iio/humidity/si7020.c
> +++ b/drivers/iio/humidity/si7020.c
> @@ -1,16 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * si7020.c - Silicon Labs Si7013/20/21 Relative Humidity and Temp Sensors
>    * Copyright (c) 2013,2014  Uplogix, Inc.
>    * David Barksdale <dbarksdale@uplogix.com>
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms and conditions of the GNU General Public License,
> - * version 2, as published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
>    */
>   
>   /*
> --- a/include/linux/platform_data/nxp-nci.h
> +++ b/include/linux/platform_data/nxp-nci.h
> @@ -1,18 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Generic platform data for the NXP NCI NFC chips.
>    *
>    * Copyright (C) 2014  NXP Semiconductors  All rights reserved.
>    *
>    * Authors: Clément Perrochaud <clement.perrochaud@nxp.com>
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms and conditions of the GNU General Public License,
> - * version 2, as published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
>    */
>   
>   #ifndef _NXP_NCI_H_
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 41/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 492
  2019-06-04  8:11 ` [Batch 17 patch 41/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 492 Thomas Gleixner
@ 2019-06-04 11:43   ` Enrico Weigelt, metux IT consult
  2019-06-04 13:53     ` Thomas Gleixner
  0 siblings, 1 reply; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:43 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this program is free software you can redistribute it and or modify
>    it under the terms of the gnu general public license as published by
>    the free software foundation version 2 of the license this program
>    is distributed in the hope that it will be useful but without any
>    warranty without even the implied warranty of merchantability or
>    fitness for a particular purpose good title or non infringement see
>    the gnu general public license 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 3 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=93cba77f2fae
> ---
>   drivers/scsi/hpsa.c     |   11 +----------
>   drivers/scsi/hpsa.h     |   11 +----------
>   drivers/scsi/hpsa_cmd.h |   11 +----------
>   3 files changed, 3 insertions(+), 30 deletions(-)
> 
> --- a/drivers/scsi/hpsa.c
> +++ b/drivers/scsi/hpsa.c
> @@ -1,20 +1,11 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    *    Disk Array driver for HP Smart Array SAS controllers
>    *    Copyright 2016 Microsemi Corporation
>    *    Copyright 2014-2015 PMC-Sierra, Inc.
>    *    Copyright 2000,2009-2015 Hewlett-Packard Development Company, L.P.
>    *
> - *    This program is free software; you can redistribute it and/or modify
> - *    it under the terms of the GNU General Public License as published by
> - *    the Free Software Foundation; version 2 of the License.
> - *
> - *    This program is distributed in the hope that it will be useful,
> - *    but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *    MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
> - *    NON INFRINGEMENT.  See the GNU General Public License for more details.
> - *
>    *    Questions/Comments/Bugfixes to esc.storagedev@microsemi.com
> - *
>    */
>   
>   #include <linux/module.h>
> --- a/drivers/scsi/hpsa.h
> +++ b/drivers/scsi/hpsa.h
> @@ -1,20 +1,11 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    *    Disk Array driver for HP Smart Array SAS controllers
>    *    Copyright 2016 Microsemi Corporation
>    *    Copyright 2014-2015 PMC-Sierra, Inc.
>    *    Copyright 2000,2009-2015 Hewlett-Packard Development Company, L.P.
>    *
> - *    This program is free software; you can redistribute it and/or modify
> - *    it under the terms of the GNU General Public License as published by
> - *    the Free Software Foundation; version 2 of the License.
> - *
> - *    This program is distributed in the hope that it will be useful,
> - *    but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *    MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
> - *    NON INFRINGEMENT.  See the GNU General Public License for more details.
> - *
>    *    Questions/Comments/Bugfixes to esc.storagedev@microsemi.com
> - *
>    */
>   #ifndef HPSA_H
>   #define HPSA_H
> --- a/drivers/scsi/hpsa_cmd.h
> +++ b/drivers/scsi/hpsa_cmd.h
> @@ -1,20 +1,11 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    *    Disk Array driver for HP Smart Array SAS controllers
>    *    Copyright 2016 Microsemi Corporation
>    *    Copyright 2014-2015 PMC-Sierra, Inc.
>    *    Copyright 2000,2009-2015 Hewlett-Packard Development Company, L.P.
>    *
> - *    This program is free software; you can redistribute it and/or modify
> - *    it under the terms of the GNU General Public License as published by
> - *    the Free Software Foundation; version 2 of the License.
> - *
> - *    This program is distributed in the hope that it will be useful,
> - *    but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *    MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
> - *    NON INFRINGEMENT.  See the GNU General Public License for more details.
> - *
>    *    Questions/Comments/Bugfixes to esc.storagedev@microsemi.com
> - *
>    */
>   #ifndef HPSA_CMD_H
>   #define HPSA_CMD_H
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 43/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 494
  2019-06-04 11:20   ` Thomas Gleixner
@ 2019-06-04 11:51     ` Enrico Weigelt, metux IT consult
  2019-06-04 13:50       ` Thomas Gleixner
  0 siblings, 1 reply; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:51 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 11:20, Thomas Gleixner wrote:
> On Tue, 4 Jun 2019, Thomas Gleixner wrote:
> 
>> From: Thomas Gleixner tglx@linutronix.de
>>
>> Based on 1 normalized pattern(s):
>>
>>    copyright this file is distributed under the terms of the gnu
>>    general public license gpl copies of the gpl can be obtained from
>>    ftp prep ai mit edu pub gnu gpl each contributing author retains all
>>    rights to their own work
> 
> That's definitely a bold claim to deduce v2 only. The ftp link does not
> exist and the wayback machine does not have it either.

How sad, older than git transition and no mail addresses given :(

Just found your history.git @kernel.org - does it contain the ancient 
history ? (cloning it seems to take a while ...)


--mtx

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 44/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 495
  2019-06-04  8:11 ` [Batch 17 patch 44/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 495 Thomas Gleixner
@ 2019-06-04 11:52   ` Enrico Weigelt, metux IT consult
  2019-06-04 21:12   ` Allison Randal
  1 sibling, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:52 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this program is free software you can redistribute it and or modify
>    it under the terms of the version 2 of the gnu general public
>    license as published by the free software foundation this program is
>    distributed in the hope that it will be useful but without any
>    warranty without even the implied warranty of merchantability or
>    fitness for a particular purpose see the gnu general public license
>    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 10 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=8e4c87a9ae33
> ---
>   drivers/net/can/cc770/cc770.c                 |   10 +---------
>   drivers/net/can/cc770/cc770.h                 |   10 +---------
>   drivers/net/can/cc770/cc770_isa.c             |   10 +---------
>   drivers/net/can/cc770/cc770_platform.c        |   10 +---------
>   drivers/net/can/peak_canfd/peak_canfd.c       |   10 +---------
>   drivers/net/can/peak_canfd/peak_pciefd_main.c |   10 +---------
>   drivers/net/can/sja1000/ems_pcmcia.c          |   10 +---------
>   drivers/net/can/sja1000/peak_pci.c            |   10 +---------
>   drivers/net/can/sja1000/peak_pcmcia.c         |   10 +---------
>   include/linux/can/rx-offload.h                |   10 +---------
>   10 files changed, 10 insertions(+), 90 deletions(-)
> 
> --- a/drivers/net/can/cc770/cc770.c
> +++ b/drivers/net/can/cc770/cc770.c
> @@ -1,16 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Core driver for the CC770 and AN82527 CAN controllers
>    *
>    * Copyright (C) 2009, 2011 Wolfgang Grandegger <wg@grandegger.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the version 2 of the GNU General Public License
> - * as published by the Free Software Foundation
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
>    */
>   
>   #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/drivers/net/can/cc770/cc770.h
> +++ b/drivers/net/can/cc770/cc770.h
> @@ -1,16 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Core driver for the CC770 and AN82527 CAN controllers
>    *
>    * Copyright (C) 2009, 2011 Wolfgang Grandegger <wg@grandegger.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the version 2 of the GNU General Public License
> - * as published by the Free Software Foundation
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
>    */
>   
>   #ifndef CC770_DEV_H
> --- a/drivers/net/can/cc770/cc770_isa.c
> +++ b/drivers/net/can/cc770/cc770_isa.c
> @@ -1,16 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Driver for CC770 and AN82527 CAN controllers on the legacy ISA bus
>    *
>    * Copyright (C) 2009, 2011 Wolfgang Grandegger <wg@grandegger.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the version 2 of the GNU General Public License
> - * as published by the Free Software Foundation
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
>    */
>   
>   /*
> --- a/drivers/net/can/cc770/cc770_platform.c
> +++ b/drivers/net/can/cc770/cc770_platform.c
> @@ -1,16 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Driver for CC770 and AN82527 CAN controllers on the platform bus
>    *
>    * Copyright (C) 2009, 2011 Wolfgang Grandegger <wg@grandegger.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the version 2 of the GNU General Public License
> - * as published by the Free Software Foundation
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
>    */
>   
>   /*
> --- a/drivers/net/can/peak_canfd/peak_canfd.c
> +++ b/drivers/net/can/peak_canfd/peak_canfd.c
> @@ -1,17 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2007, 2011 Wolfgang Grandegger <wg@grandegger.com>
>    * Copyright (C) 2012 Stephane Grosjean <s.grosjean@peak-system.com>
>    *
>    * Copyright (C) 2016  PEAK System-Technik GmbH
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the version 2 of the GNU General Public License
> - * as published by the Free Software Foundation
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
>    */
>   
>   #include <linux/can.h>
> --- a/drivers/net/can/peak_canfd/peak_pciefd_main.c
> +++ b/drivers/net/can/peak_canfd/peak_pciefd_main.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2007, 2011 Wolfgang Grandegger <wg@grandegger.com>
>    * Copyright (C) 2012 Stephane Grosjean <s.grosjean@peak-system.com>
> @@ -5,15 +6,6 @@
>    * Derived from the PCAN project file driver/src/pcan_pci.c:
>    *
>    * Copyright (C) 2001-2006  PEAK System-Technik GmbH
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the version 2 of the GNU General Public License
> - * as published by the Free Software Foundation
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
>    */
>   
>   #include <linux/kernel.h>
> --- a/drivers/net/can/sja1000/ems_pcmcia.c
> +++ b/drivers/net/can/sja1000/ems_pcmcia.c
> @@ -1,16 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2008 Sebastian Haas (initial chardev implementation)
>    * Copyright (C) 2010 Markus Plessing <plessing@ems-wuensche.com>
>    * Rework for mainline by Oliver Hartkopp <socketcan@hartkopp.net>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the version 2 of the GNU General Public License
> - * as published by the Free Software Foundation
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
>    */
>   
>   #include <linux/kernel.h>
> --- a/drivers/net/can/sja1000/peak_pci.c
> +++ b/drivers/net/can/sja1000/peak_pci.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2007, 2011 Wolfgang Grandegger <wg@grandegger.com>
>    * Copyright (C) 2012 Stephane Grosjean <s.grosjean@peak-system.com>
> @@ -5,15 +6,6 @@
>    * Derived from the PCAN project file driver/src/pcan_pci.c:
>    *
>    * Copyright (C) 2001-2006  PEAK System-Technik GmbH
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the version 2 of the GNU General Public License
> - * as published by the Free Software Foundation
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
>    */
>   
>   #include <linux/kernel.h>
> --- a/drivers/net/can/sja1000/peak_pcmcia.c
> +++ b/drivers/net/can/sja1000/peak_pcmcia.c
> @@ -1,18 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (C) 2010-2012 Stephane Grosjean <s.grosjean@peak-system.com>
>    *
>    * CAN driver for PEAK-System PCAN-PC Card
>    * Derived from the PCAN project file driver/src/pcan_pccard.c
>    * Copyright (C) 2006-2010 PEAK System-Technik GmbH
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the version 2 of the GNU General Public License
> - * as published by the Free Software Foundation
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
>    */
>   #include <linux/kernel.h>
>   #include <linux/module.h>
> --- a/include/linux/can/rx-offload.h
> +++ b/include/linux/can/rx-offload.h
> @@ -1,17 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * linux/can/rx-offload.h
>    *
>    * Copyright (c) 2014 David Jander, Protonic Holland
>    * Copyright (c) 2014-2017 Pengutronix, Marc Kleine-Budde <kernel@pengutronix.de>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the version 2 of the GNU General Public License
> - * as published by the Free Software Foundation
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
>    */
>   
>   #ifndef _CAN_RX_OFFLOAD_H
> 
> 

Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 45/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 496
  2019-06-04  8:11 ` [Batch 17 patch 45/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 496 Thomas Gleixner
  2019-06-04 10:31   ` Armijn Hemel - Tjaldur Software Governance Solutions
@ 2019-06-04 11:52   ` Enrico Weigelt, metux IT consult
  2019-06-04 21:12   ` Allison Randal
  2 siblings, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:52 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    licensed under gpl v2
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=b6a5ae72aff1
> ---
>   sound/soc/codecs/ics43432.c |    3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
> 
> --- a/sound/soc/codecs/ics43432.c
> +++ b/sound/soc/codecs/ics43432.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * I2S MEMS microphone driver for InvenSense ICS-43432
>    *
> @@ -5,8 +6,6 @@
>    * - I2S interface, 64 BCLs per frame, 32 bits per channel, 24 bit data
>    *
>    * Copyright (c) 2015 Axis Communications AB
> - *
> - * Licensed under GPL v2.
>    */
>   
>   #include <linux/module.h>
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 46/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 497
  2019-06-04  8:11 ` [Batch 17 patch 46/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 497 Thomas Gleixner
@ 2019-06-04 11:53   ` Enrico Weigelt, metux IT consult
  2019-06-04 21:13   ` Allison Randal
  2019-06-05  4:29   ` Kate Stewart
  2 siblings, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:53 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this file is part of the linux kernel and is made available under
>    the terms of the gnu general public license version 2
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 28 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=cba69b866091
> ---
>   arch/x86/boot/a20.c                     |    4 +---
>   arch/x86/boot/apm.c                     |    4 +---
>   arch/x86/boot/bitops.h                  |    4 +---
>   arch/x86/boot/boot.h                    |    4 +---
>   arch/x86/boot/cmdline.c                 |    4 +---
>   arch/x86/boot/compressed/eboot.c        |    4 +---
>   arch/x86/boot/copy.S                    |    4 +---
>   arch/x86/boot/cpu.c                     |    4 +---
>   arch/x86/boot/cpucheck.c                |    4 +---
>   arch/x86/boot/edd.c                     |    4 +---
>   arch/x86/boot/main.c                    |    4 +---
>   arch/x86/boot/memory.c                  |    4 +---
>   arch/x86/boot/pm.c                      |    4 +---
>   arch/x86/boot/pmjump.S                  |    4 +---
>   arch/x86/boot/printf.c                  |    4 +---
>   arch/x86/boot/string.c                  |    4 +---
>   arch/x86/boot/tty.c                     |    4 +---
>   arch/x86/boot/version.c                 |    4 +---
>   arch/x86/boot/video-bios.c              |    4 +---
>   arch/x86/boot/video-mode.c              |    4 +---
>   arch/x86/boot/video-vesa.c              |    4 +---
>   arch/x86/boot/video-vga.c               |    4 +---
>   arch/x86/boot/video.c                   |    4 +---
>   arch/x86/boot/video.h                   |    4 +---
>   arch/x86/lib/cmdline.c                  |    3 +--
>   drivers/block/skd_main.c                |    4 +---
>   drivers/block/skd_s1120.h               |    4 +---
>   drivers/firmware/efi/libstub/arm-stub.c |    5 +----
>   28 files changed, 28 insertions(+), 84 deletions(-)
> 
> --- a/arch/x86/boot/a20.c
> +++ b/arch/x86/boot/a20.c
> @@ -1,12 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* -*- linux-c -*- ------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
>    *   Copyright 2007-2008 rPath, Inc. - All Rights Reserved
>    *   Copyright 2009 Intel Corporation; author H. Peter Anvin
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   /*
> --- a/arch/x86/boot/apm.c
> +++ b/arch/x86/boot/apm.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* -*- linux-c -*- ------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
> @@ -7,9 +8,6 @@
>    *   Original APM BIOS checking by Stephen Rothwell, May 1994
>    *   (sfr@canb.auug.org.au)
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   /*
> --- a/arch/x86/boot/bitops.h
> +++ b/arch/x86/boot/bitops.h
> @@ -1,11 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /* -*- linux-c -*- ------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
>    *   Copyright 2007 rPath, Inc. - All Rights Reserved
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   /*
> --- a/arch/x86/boot/boot.h
> +++ b/arch/x86/boot/boot.h
> @@ -1,12 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /* -*- linux-c -*- ------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
>    *   Copyright 2007 rPath, Inc. - All Rights Reserved
>    *   Copyright 2009 Intel Corporation; author H. Peter Anvin
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   /*
> --- a/arch/x86/boot/cmdline.c
> +++ b/arch/x86/boot/cmdline.c
> @@ -1,11 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* -*- linux-c -*- ------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
>    *   Copyright 2007 rPath, Inc. - All Rights Reserved
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   /*
> --- a/arch/x86/boot/compressed/eboot.c
> +++ b/arch/x86/boot/compressed/eboot.c
> @@ -1,11 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   
>   /* -----------------------------------------------------------------------
>    *
>    *   Copyright 2011 Intel Corporation; author Matt Fleming
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   #include <linux/efi.h>
> --- a/arch/x86/boot/copy.S
> +++ b/arch/x86/boot/copy.S
> @@ -1,11 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /* ----------------------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
>    *   Copyright 2007 rPath, Inc. - All Rights Reserved
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   #include <linux/linkage.h>
> --- a/arch/x86/boot/cpu.c
> +++ b/arch/x86/boot/cpu.c
> @@ -1,11 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* -*- linux-c -*- ------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
>    *   Copyright 2007-2008 rPath, Inc. - All Rights Reserved
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   /*
> --- a/arch/x86/boot/cpucheck.c
> +++ b/arch/x86/boot/cpucheck.c
> @@ -1,11 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* -*- linux-c -*- ------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
>    *   Copyright 2007 rPath, Inc. - All Rights Reserved
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   /*
> --- a/arch/x86/boot/edd.c
> +++ b/arch/x86/boot/edd.c
> @@ -1,12 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* -*- linux-c -*- ------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
>    *   Copyright 2007 rPath, Inc. - All Rights Reserved
>    *   Copyright 2009 Intel Corporation; author H. Peter Anvin
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   /*
> --- a/arch/x86/boot/main.c
> +++ b/arch/x86/boot/main.c
> @@ -1,12 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* -*- linux-c -*- ------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
>    *   Copyright 2007 rPath, Inc. - All Rights Reserved
>    *   Copyright 2009 Intel Corporation; author H. Peter Anvin
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   /*
> --- a/arch/x86/boot/memory.c
> +++ b/arch/x86/boot/memory.c
> @@ -1,12 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* -*- linux-c -*- ------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
>    *   Copyright 2007 rPath, Inc. - All Rights Reserved
>    *   Copyright 2009 Intel Corporation; author H. Peter Anvin
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   /*
> --- a/arch/x86/boot/pm.c
> +++ b/arch/x86/boot/pm.c
> @@ -1,11 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* -*- linux-c -*- ------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
>    *   Copyright 2007 rPath, Inc. - All Rights Reserved
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   /*
> --- a/arch/x86/boot/pmjump.S
> +++ b/arch/x86/boot/pmjump.S
> @@ -1,11 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /* ----------------------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
>    *   Copyright 2007 rPath, Inc. - All Rights Reserved
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   /*
> --- a/arch/x86/boot/printf.c
> +++ b/arch/x86/boot/printf.c
> @@ -1,11 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* -*- linux-c -*- ------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
>    *   Copyright 2007 rPath, Inc. - All Rights Reserved
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   /*
> --- a/arch/x86/boot/string.c
> +++ b/arch/x86/boot/string.c
> @@ -1,11 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* -*- linux-c -*- ------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
>    *   Copyright 2007 rPath, Inc. - All Rights Reserved
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   /*
> --- a/arch/x86/boot/tty.c
> +++ b/arch/x86/boot/tty.c
> @@ -1,12 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* -*- linux-c -*- ------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
>    *   Copyright 2007 rPath, Inc. - All Rights Reserved
>    *   Copyright 2009 Intel Corporation; author H. Peter Anvin
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   /*
> --- a/arch/x86/boot/version.c
> +++ b/arch/x86/boot/version.c
> @@ -1,11 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* -*- linux-c -*- ------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
>    *   Copyright 2007 rPath, Inc. - All Rights Reserved
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   /*
> --- a/arch/x86/boot/video-bios.c
> +++ b/arch/x86/boot/video-bios.c
> @@ -1,12 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* -*- linux-c -*- ------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
>    *   Copyright 2007 rPath, Inc. - All Rights Reserved
>    *   Copyright 2009 Intel Corporation; author H. Peter Anvin
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   /*
> --- a/arch/x86/boot/video-mode.c
> +++ b/arch/x86/boot/video-mode.c
> @@ -1,11 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* -*- linux-c -*- ------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
>    *   Copyright 2007-2008 rPath, Inc. - All Rights Reserved
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   /*
> --- a/arch/x86/boot/video-vesa.c
> +++ b/arch/x86/boot/video-vesa.c
> @@ -1,12 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* -*- linux-c -*- ------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
>    *   Copyright 2007 rPath, Inc. - All Rights Reserved
>    *   Copyright 2009 Intel Corporation; author H. Peter Anvin
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   /*
> --- a/arch/x86/boot/video-vga.c
> +++ b/arch/x86/boot/video-vga.c
> @@ -1,12 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* -*- linux-c -*- ------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
>    *   Copyright 2007 rPath, Inc. - All Rights Reserved
>    *   Copyright 2009 Intel Corporation; author H. Peter Anvin
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   /*
> --- a/arch/x86/boot/video.c
> +++ b/arch/x86/boot/video.c
> @@ -1,12 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /* -*- linux-c -*- ------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
>    *   Copyright 2007 rPath, Inc. - All Rights Reserved
>    *   Copyright 2009 Intel Corporation; author H. Peter Anvin
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   /*
> --- a/arch/x86/boot/video.h
> +++ b/arch/x86/boot/video.h
> @@ -1,11 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /* -*- linux-c -*- ------------------------------------------------------- *
>    *
>    *   Copyright (C) 1991, 1992 Linus Torvalds
>    *   Copyright 2007 rPath, Inc. - All Rights Reserved
>    *
> - *   This file is part of the Linux kernel, and is made available under
> - *   the terms of the GNU General Public License version 2.
> - *
>    * ----------------------------------------------------------------------- */
>   
>   /*
> --- a/arch/x86/lib/cmdline.c
> +++ b/arch/x86/lib/cmdline.c
> @@ -1,6 +1,5 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2.
>    *
>    * Misc librarized functions for cmdline poking.
>    */
> --- a/drivers/block/skd_main.c
> +++ b/drivers/block/skd_main.c
> @@ -1,12 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Driver for sTec s1120 PCIe SSDs. sTec was acquired in 2013 by HGST and HGST
>    * was acquired by Western Digital in 2012.
>    *
>    * Copyright 2012 sTec, Inc.
>    * Copyright (c) 2017 Western Digital Corporation or its affiliates.
> - *
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2.
>    */
>   
>   #include <linux/kernel.h>
> --- a/drivers/block/skd_s1120.h
> +++ b/drivers/block/skd_s1120.h
> @@ -1,9 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Copyright 2012 STEC, Inc.
>    * Copyright (c) 2017 Western Digital Corporation or its affiliates.
> - *
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2.
>    */
>   
>   
> --- a/drivers/firmware/efi/libstub/arm-stub.c
> +++ b/drivers/firmware/efi/libstub/arm-stub.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * EFI stub implementation that is shared by arm and arm64 architectures.
>    * This should be #included by the EFI stub implementation files.
> @@ -6,10 +7,6 @@
>    *     Roy Franz <roy.franz@linaro.org
>    * Copyright (C) 2013 Red Hat, Inc.
>    *     Mark Salter <msalter@redhat.com>
> - *
> - * This file is part of the Linux kernel, and is made available under the
> - * terms of the GNU General Public License version 2.
> - *
>    */
>   
>   #include <linux/efi.h>
> 
> 

Reviewed-By: Enrico Weigelt <info@metux.net>
-- 
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info@metux.net -- +49-151-27565287

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 47/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 498
  2019-06-04  8:11 ` [Batch 17 patch 47/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 498 Thomas Gleixner
  2019-06-04 10:32   ` Armijn Hemel - Tjaldur Software Governance Solutions
@ 2019-06-04 11:54   ` Enrico Weigelt, metux IT consult
  2019-06-04 21:13   ` Allison Randal
  2019-06-05  4:28   ` Kate Stewart
  3 siblings, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:54 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    gplv2 only
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 4 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=aa4e29666fdd
> ---
>   include/dt-bindings/dma/at91.h        |    3 +--
>   include/dt-bindings/i2c/i2c.h         |    3 +--
>   include/dt-bindings/pinctrl/at91.h    |    3 +--
>   include/dt-bindings/thermal/thermal.h |    3 +--
>   4 files changed, 4 insertions(+), 8 deletions(-)
> 
> --- a/include/dt-bindings/dma/at91.h
> +++ b/include/dt-bindings/dma/at91.h
> @@ -1,9 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * This header provides macros for at91 dma bindings.
>    *
>    * Copyright (C) 2013 Ludovic Desroches <ludovic.desroches@atmel.com>
> - *
> - * GPLv2 only
>    */
>   
>   #ifndef __DT_BINDINGS_AT91_DMA_H__
> --- a/include/dt-bindings/i2c/i2c.h
> +++ b/include/dt-bindings/i2c/i2c.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * This header provides constants for I2C bindings
>    *
> @@ -5,8 +6,6 @@
>    * Copyright (C) 2015 by Renesas Electronics Corporation
>    *
>    * Wolfram Sang <wsa@sang-engineering.com>
> - *
> - * GPLv2 only
>    */
>   
>   #ifndef _DT_BINDINGS_I2C_I2C_H
> --- a/include/dt-bindings/pinctrl/at91.h
> +++ b/include/dt-bindings/pinctrl/at91.h
> @@ -1,9 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * This header provides constants for most at91 pinctrl bindings.
>    *
>    * Copyright (C) 2013 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> - *
> - * GPLv2 only
>    */
>   
>   #ifndef __DT_BINDINGS_AT91_PINCTRL_H__
> --- a/include/dt-bindings/thermal/thermal.h
> +++ b/include/dt-bindings/thermal/thermal.h
> @@ -1,10 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * This header provides constants for most thermal bindings.
>    *
>    * Copyright (C) 2013 Texas Instruments
>    *	Eduardo Valentin <eduardo.valentin@ti.com>
> - *
> - * GPLv2 only
>    */
>   
>   #ifndef _DT_BINDINGS_THERMAL_THERMAL_H
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 48/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 499
  2019-06-04  8:11 ` [Batch 17 patch 48/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 499 Thomas Gleixner
@ 2019-06-04 11:56   ` Enrico Weigelt, metux IT consult
  2019-06-04 21:14   ` Allison Randal
  2019-06-05  4:27   ` Kate Stewart
  2 siblings, 0 replies; 193+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-06-04 11:56 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 04.06.19 08:11, Thomas Gleixner wrote:
> From: Thomas Gleixner tglx@linutronix.de
> 
> Based on 1 normalized pattern(s):
> 
>    this work is licensed under the terms of the gnu gpl version 2 see
>    the copying file in the top level directory
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>    GPL-2.0-only
> 
> has been chosen to replace the boilerplate/reference in 35 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> 
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=7336b2e4a635
> ---
>   arch/x86/include/asm/kvm_host.h          |    5 +----
>   arch/x86/include/asm/virtext.h           |    4 +---
>   arch/x86/kvm/cpuid.c                     |    5 +----
>   arch/x86/kvm/debugfs.c                   |    5 +----
>   arch/x86/kvm/emulate.c                   |    4 +---
>   arch/x86/kvm/hyperv.c                    |    5 +----
>   arch/x86/kvm/hyperv.h                    |    5 +----
>   arch/x86/kvm/lapic.c                     |    4 +---
>   arch/x86/kvm/mmu.c                       |    5 +----
>   arch/x86/kvm/mmu_audit.c                 |    5 +----
>   arch/x86/kvm/mtrr.c                      |    4 +---
>   arch/x86/kvm/page_track.c                |    4 +---
>   arch/x86/kvm/paging_tmpl.h               |    5 +----
>   arch/x86/kvm/pmu.c                       |    5 +----
>   arch/x86/kvm/pmu_amd.c                   |    4 +---
>   arch/x86/kvm/svm.c                       |    5 +----
>   arch/x86/kvm/vmx/pmu_intel.c             |    5 +----
>   arch/x86/kvm/vmx/vmx.c                   |    5 +----
>   arch/x86/kvm/x86.c                       |    5 +----
>   fs/squashfs/decompressor_multi.c         |    4 +---
>   fs/squashfs/decompressor_multi_percpu.c  |    4 +---
>   fs/squashfs/decompressor_single.c        |    4 +---
>   fs/squashfs/file_cache.c                 |    4 +---
>   fs/squashfs/file_direct.c                |    4 +---
>   fs/squashfs/lz4_wrapper.c                |    4 +---
>   fs/squashfs/page_actor.c                 |    4 +---
>   fs/squashfs/page_actor.h                 |    4 +---
>   fs/userfaultfd.c                         |    4 +---
>   include/linux/kvm_host.h                 |    5 +----
>   mm/huge_memory.c                         |    4 +---
>   mm/mmu_notifier.c                        |    4 +---
>   mm/userfaultfd.c                         |    4 +---
>   tools/kvm/kvm_stat/kvm_stat              |    3 +--
>   tools/testing/selftests/vm/userfaultfd.c |    4 +---
>   virt/kvm/kvm_main.c                      |    5 +----
>   35 files changed, 35 insertions(+), 119 deletions(-)
> 
> --- a/arch/x86/include/asm/kvm_host.h
> +++ b/arch/x86/include/asm/kvm_host.h
> @@ -1,11 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Kernel-based Virtual Machine driver for Linux
>    *
>    * This header defines architecture specific interfaces, x86 version
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.  See
> - * the COPYING file in the top-level directory.
> - *
>    */
>   
>   #ifndef _ASM_X86_KVM_HOST_H
> --- a/arch/x86/include/asm/virtext.h
> +++ b/arch/x86/include/asm/virtext.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /* CPU virtualization extensions handling
>    *
>    * This should carry the code for handling CPU virtualization extensions
> @@ -8,9 +9,6 @@
>    * Copyright (C) 2008, Red Hat Inc.
>    *
>    * Contains code from KVM, Copyright (C) 2006 Qumranet, Inc.
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.  See
> - * the COPYING file in the top-level directory.
>    */
>   #ifndef _ASM_X86_VIRTEX_H
>   #define _ASM_X86_VIRTEX_H
> --- a/arch/x86/kvm/cpuid.c
> +++ b/arch/x86/kvm/cpuid.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Kernel-based Virtual Machine driver for Linux
>    * cpuid support routines
> @@ -6,10 +7,6 @@
>    *
>    * Copyright 2011 Red Hat, Inc. and/or its affiliates.
>    * Copyright IBM Corporation, 2008
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.  See
> - * the COPYING file in the top-level directory.
> - *
>    */
>   
>   #include <linux/kvm_host.h>
> --- a/arch/x86/kvm/debugfs.c
> +++ b/arch/x86/kvm/debugfs.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Kernel-based Virtual Machine driver for Linux
>    *
>    * Copyright 2016 Red Hat, Inc. and/or its affiliates.
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.  See
> - * the COPYING file in the top-level directory.
> - *
>    */
>   #include <linux/kvm_host.h>
>   #include <linux/debugfs.h>
> --- a/arch/x86/kvm/emulate.c
> +++ b/arch/x86/kvm/emulate.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /******************************************************************************
>    * emulate.c
>    *
> @@ -14,9 +15,6 @@
>    *   Avi Kivity <avi@qumranet.com>
>    *   Yaniv Kamay <yaniv@qumranet.com>
>    *
> - * This work is licensed under the terms of the GNU GPL, version 2.  See
> - * the COPYING file in the top-level directory.
> - *
>    * From: xen-unstable 10676:af9809f51f81a3c43f276f00c81a52ef558afda4
>    */
>   
> --- a/arch/x86/kvm/hyperv.c
> +++ b/arch/x86/kvm/hyperv.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * KVM Microsoft Hyper-V emulation
>    *
> @@ -15,10 +16,6 @@
>    *   Amit Shah    <amit.shah@qumranet.com>
>    *   Ben-Ami Yassour <benami@il.ibm.com>
>    *   Andrey Smetanin <asmetanin@virtuozzo.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.  See
> - * the COPYING file in the top-level directory.
> - *
>    */
>   
>   #include "x86.h"
> --- a/arch/x86/kvm/hyperv.h
> +++ b/arch/x86/kvm/hyperv.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * KVM Microsoft Hyper-V emulation
>    *
> @@ -15,10 +16,6 @@
>    *   Amit Shah    <amit.shah@qumranet.com>
>    *   Ben-Ami Yassour <benami@il.ibm.com>
>    *   Andrey Smetanin <asmetanin@virtuozzo.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.  See
> - * the COPYING file in the top-level directory.
> - *
>    */
>   
>   #ifndef __ARCH_X86_KVM_HYPERV_H__
> --- a/arch/x86/kvm/lapic.c
> +++ b/arch/x86/kvm/lapic.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   
>   /*
>    * Local APIC virtualization
> @@ -13,9 +14,6 @@
>    *   Yaozu (Eddie) Dong <eddie.dong@intel.com>
>    *
>    * Based on Xen 3.1 code, Copyright (c) 2004, Intel Corporation.
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.  See
> - * the COPYING file in the top-level directory.
>    */
>   
>   #include <linux/kvm_host.h>
> --- a/arch/x86/kvm/mmu.c
> +++ b/arch/x86/kvm/mmu.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Kernel-based Virtual Machine driver for Linux
>    *
> @@ -12,10 +13,6 @@
>    * Authors:
>    *   Yaniv Kamay  <yaniv@qumranet.com>
>    *   Avi Kivity   <avi@qumranet.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.  See
> - * the COPYING file in the top-level directory.
> - *
>    */
>   
>   #include "irq.h"
> --- a/arch/x86/kvm/mmu_audit.c
> +++ b/arch/x86/kvm/mmu_audit.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * mmu_audit.c:
>    *
> @@ -11,10 +12,6 @@
>    *   Avi Kivity   <avi@qumranet.com>
>    *   Marcelo Tosatti <mtosatti@redhat.com>
>    *   Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.  See
> - * the COPYING file in the top-level directory.
> - *
>    */
>   
>   #include <linux/ratelimit.h>
> --- a/arch/x86/kvm/mtrr.c
> +++ b/arch/x86/kvm/mtrr.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * vMTRR implementation
>    *
> @@ -11,9 +12,6 @@
>    *   Marcelo Tosatti <mtosatti@redhat.com>
>    *   Paolo Bonzini <pbonzini@redhat.com>
>    *   Xiao Guangrong <guangrong.xiao@linux.intel.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.  See
> - * the COPYING file in the top-level directory.
>    */
>   
>   #include <linux/kvm_host.h>
> --- a/arch/x86/kvm/page_track.c
> +++ b/arch/x86/kvm/page_track.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Support KVM gust page tracking
>    *
> @@ -8,9 +9,6 @@
>    *
>    * Author:
>    *   Xiao Guangrong <guangrong.xiao@linux.intel.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.  See
> - * the COPYING file in the top-level directory.
>    */
>   
>   #include <linux/kvm_host.h>
> --- a/arch/x86/kvm/paging_tmpl.h
> +++ b/arch/x86/kvm/paging_tmpl.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   /*
>    * Kernel-based Virtual Machine driver for Linux
>    *
> @@ -12,10 +13,6 @@
>    * Authors:
>    *   Yaniv Kamay  <yaniv@qumranet.com>
>    *   Avi Kivity   <avi@qumranet.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.  See
> - * the COPYING file in the top-level directory.
> - *
>    */
>   
>   /*
> --- a/arch/x86/kvm/pmu.c
> +++ b/arch/x86/kvm/pmu.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Kernel-based Virtual Machine -- Performance Monitoring Unit support
>    *
> @@ -7,10 +8,6 @@
>    *   Avi Kivity   <avi@redhat.com>
>    *   Gleb Natapov <gleb@redhat.com>
>    *   Wei Huang    <wei@redhat.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.  See
> - * the COPYING file in the top-level directory.
> - *
>    */
>   
>   #include <linux/types.h>
> --- a/arch/x86/kvm/pmu_amd.c
> +++ b/arch/x86/kvm/pmu_amd.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * KVM PMU support for AMD
>    *
> @@ -6,9 +7,6 @@
>    * Author:
>    *   Wei Huang <wei@redhat.com>
>    *
> - * This work is licensed under the terms of the GNU GPL, version 2.  See
> - * the COPYING file in the top-level directory.
> - *
>    * Implementation is based on pmu_intel.c file
>    */
>   #include <linux/types.h>
> --- a/arch/x86/kvm/svm.c
> +++ b/arch/x86/kvm/svm.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Kernel-based Virtual Machine driver for Linux
>    *
> @@ -9,10 +10,6 @@
>    * Authors:
>    *   Yaniv Kamay  <yaniv@qumranet.com>
>    *   Avi Kivity   <avi@qumranet.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.  See
> - * the COPYING file in the top-level directory.
> - *
>    */
>   
>   #define pr_fmt(fmt) "SVM: " fmt
> --- a/arch/x86/kvm/vmx/pmu_intel.c
> +++ b/arch/x86/kvm/vmx/pmu_intel.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * KVM PMU support for Intel CPUs
>    *
> @@ -6,10 +7,6 @@
>    * Authors:
>    *   Avi Kivity   <avi@redhat.com>
>    *   Gleb Natapov <gleb@redhat.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.  See
> - * the COPYING file in the top-level directory.
> - *
>    */
>   #include <linux/types.h>
>   #include <linux/kvm_host.h>
> --- a/arch/x86/kvm/vmx/vmx.c
> +++ b/arch/x86/kvm/vmx/vmx.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Kernel-based Virtual Machine driver for Linux
>    *
> @@ -10,10 +11,6 @@
>    * Authors:
>    *   Avi Kivity   <avi@qumranet.com>
>    *   Yaniv Kamay  <yaniv@qumranet.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.  See
> - * the COPYING file in the top-level directory.
> - *
>    */
>   
>   #include <linux/frame.h>
> --- a/arch/x86/kvm/x86.c
> +++ b/arch/x86/kvm/x86.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Kernel-based Virtual Machine driver for Linux
>    *
> @@ -13,10 +14,6 @@
>    *   Yaniv Kamay  <yaniv@qumranet.com>
>    *   Amit Shah    <amit.shah@qumranet.com>
>    *   Ben-Ami Yassour <benami@il.ibm.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.  See
> - * the COPYING file in the top-level directory.
> - *
>    */
>   
>   #include <linux/kvm_host.h>
> --- a/fs/squashfs/decompressor_multi.c
> +++ b/fs/squashfs/decompressor_multi.c
> @@ -1,9 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    *  Copyright (c) 2013
>    *  Minchan Kim <minchan@kernel.org>
> - *
> - *  This work is licensed under the terms of the GNU GPL, version 2. See
> - *  the COPYING file in the top-level directory.
>    */
>   #include <linux/types.h>
>   #include <linux/mutex.h>
> --- a/fs/squashfs/decompressor_multi_percpu.c
> +++ b/fs/squashfs/decompressor_multi_percpu.c
> @@ -1,9 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (c) 2013
>    * Phillip Lougher <phillip@squashfs.org.uk>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2. See
> - * the COPYING file in the top-level directory.
>    */
>   
>   #include <linux/types.h>
> --- a/fs/squashfs/decompressor_single.c
> +++ b/fs/squashfs/decompressor_single.c
> @@ -1,9 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (c) 2013
>    * Phillip Lougher <phillip@squashfs.org.uk>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2. See
> - * the COPYING file in the top-level directory.
>    */
>   
>   #include <linux/types.h>
> --- a/fs/squashfs/file_cache.c
> +++ b/fs/squashfs/file_cache.c
> @@ -1,9 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (c) 2013
>    * Phillip Lougher <phillip@squashfs.org.uk>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2. See
> - * the COPYING file in the top-level directory.
>    */
>   
>   #include <linux/fs.h>
> --- a/fs/squashfs/file_direct.c
> +++ b/fs/squashfs/file_direct.c
> @@ -1,9 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (c) 2013
>    * Phillip Lougher <phillip@squashfs.org.uk>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2. See
> - * the COPYING file in the top-level directory.
>    */
>   
>   #include <linux/fs.h>
> --- a/fs/squashfs/lz4_wrapper.c
> +++ b/fs/squashfs/lz4_wrapper.c
> @@ -1,9 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (c) 2013, 2014
>    * Phillip Lougher <phillip@squashfs.org.uk>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2. See
> - * the COPYING file in the top-level directory.
>    */
>   
>   #include <linux/buffer_head.h>
> --- a/fs/squashfs/page_actor.c
> +++ b/fs/squashfs/page_actor.c
> @@ -1,9 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Copyright (c) 2013
>    * Phillip Lougher <phillip@squashfs.org.uk>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2. See
> - * the COPYING file in the top-level directory.
>    */
>   
>   #include <linux/kernel.h>
> --- a/fs/squashfs/page_actor.h
> +++ b/fs/squashfs/page_actor.h
> @@ -1,11 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   #ifndef PAGE_ACTOR_H
>   #define PAGE_ACTOR_H
>   /*
>    * Copyright (c) 2013
>    * Phillip Lougher <phillip@squashfs.org.uk>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2. See
> - * the COPYING file in the top-level directory.
>    */
>   
>   #ifndef CONFIG_SQUASHFS_FILE_DIRECT
> --- a/fs/userfaultfd.c
> +++ b/fs/userfaultfd.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    *  fs/userfaultfd.c
>    *
> @@ -5,9 +6,6 @@
>    *  Copyright (C) 2008-2009 Red Hat, Inc.
>    *  Copyright (C) 2015  Red Hat, Inc.
>    *
> - *  This work is licensed under the terms of the GNU GPL, version 2. See
> - *  the COPYING file in the top-level directory.
> - *
>    *  Some part derived from fs/eventfd.c (anon inode setup) and
>    *  mm/ksm.c (mm hashing).
>    */
> --- a/include/linux/kvm_host.h
> +++ b/include/linux/kvm_host.h
> @@ -1,10 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
>   #ifndef __KVM_HOST_H
>   #define __KVM_HOST_H
>   
> -/*
> - * This work is licensed under the terms of the GNU GPL, version 2.  See
> - * the COPYING file in the top-level directory.
> - */
>   
>   #include <linux/types.h>
>   #include <linux/hardirq.h>
> --- a/mm/huge_memory.c
> +++ b/mm/huge_memory.c
> @@ -1,8 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    *  Copyright (C) 2009  Red Hat, Inc.
> - *
> - *  This work is licensed under the terms of the GNU GPL, version 2. See
> - *  the COPYING file in the top-level directory.
>    */
>   
>   #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/mm/mmu_notifier.c
> +++ b/mm/mmu_notifier.c
> @@ -1,12 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    *  linux/mm/mmu_notifier.c
>    *
>    *  Copyright (C) 2008  Qumranet, Inc.
>    *  Copyright (C) 2008  SGI
>    *             Christoph Lameter <cl@linux.com>
> - *
> - *  This work is licensed under the terms of the GNU GPL, version 2. See
> - *  the COPYING file in the top-level directory.
>    */
>   
>   #include <linux/rculist.h>
> --- a/mm/userfaultfd.c
> +++ b/mm/userfaultfd.c
> @@ -1,10 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    *  mm/userfaultfd.c
>    *
>    *  Copyright (C) 2015  Red Hat, Inc.
> - *
> - *  This work is licensed under the terms of the GNU GPL, version 2. See
> - *  the COPYING file in the top-level directory.
>    */
>   
>   #include <linux/mm.h>
> --- a/tools/kvm/kvm_stat/kvm_stat
> +++ b/tools/kvm/kvm_stat/kvm_stat
> @@ -1,4 +1,5 @@
>   #!/usr/bin/env python3
> +# SPDX-License-Identifier: GPL-2.0-only
>   #
>   # top-like utility for displaying kvm statistics
>   #
> @@ -8,8 +9,6 @@
>   # Authors:
>   #  Avi Kivity <avi@redhat.com>
>   #
> -# This work is licensed under the terms of the GNU GPL, version 2.  See
> -# the COPYING file in the top-level directory.
>   """The kvm_stat module outputs statistics about running KVM VMs
>   
>   Three different ways of output formatting are available:
> --- a/tools/testing/selftests/vm/userfaultfd.c
> +++ b/tools/testing/selftests/vm/userfaultfd.c
> @@ -1,11 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Stress userfaultfd syscall.
>    *
>    *  Copyright (C) 2015  Red Hat, Inc.
>    *
> - *  This work is licensed under the terms of the GNU GPL, version 2. See
> - *  the COPYING file in the top-level directory.
> - *
>    * This test allocates two virtual areas and bounces the physical
>    * memory across the two virtual areas (from area_src to area_dst)
>    * using userfaultfd.
> --- a/virt/kvm/kvm_main.c
> +++ b/virt/kvm/kvm_main.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only
>   /*
>    * Kernel-based Virtual Machine driver for Linux
>    *
> @@ -10,10 +11,6 @@
>    * Authors:
>    *   Avi Kivity   <avi@qumranet.com>
>    *   Yaniv Kamay  <yaniv@qumranet.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2.  See
> - * the COPYING file in the top-level directory.
> - *
>    */
>   
>   #include <kvm/iodev.h>
> 
> 
Reviewed-By: Enrico Weigelt <info@metux.net>

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

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [Batch 17 patch 49/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
  2019-06-04  8:11 ` [Batch 17 patch 49/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 Thomas Gleixner
@ 2019-06-04 11:57   ` Enrico We