Skip to contentSkip to conversation

treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_8.RULE

PATCH Superseded Thomas Gleixner 2 participants 2 messages Jun 6, 2022 – Jun 7, 2022

Subsystems (5)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_8.RULE

Folks!
References: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8

Based on the normalized pattern:

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.

---
 Documentation/driver-api/vfio-mediated-device.rst |    4 +---
 arch/arm/boot/bootp/bootp.lds                     |    5 +----
 include/linux/input/elan-i2c-ids.h                |    5 +----
 3 files changed, 3 insertions(+), 11 deletions(-)
Documentation/driver-api/vfio-mediated-device.rst +1 -3
@@ -1,3 +1,4 @@
+.. SPDX-License-Identifier: GPL-2.0-only
 .. include:: <isonum.txt>
 
 =====================
@@ -8,9 +9,6 @@ VFIO Mediated devices
 :Author: Neo Jia <[email protected]>
 :Author: Kirti Wankhede <[email protected]>
 
-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.
 
 
 Virtual Function I/O (VFIO) Mediated devices[1]
arch/arm/boot/bootp/bootp.lds +1 -4
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *  linux/arch/arm/boot/bootp/bootp.lds
  *
  *  Copyright (C) 2000-2002 Russell King
- *
- * 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.
  */
 OUTPUT_ARCH(arm)
 ENTRY(_start)
include/linux/input/elan-i2c-ids.h +1 -4
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Elan I2C/SMBus Touchpad device whitelist
  *
@@ -11,10 +12,6 @@
  * copyright (c) 2011-2012 Cypress Semiconductor, Inc.
  * copyright (c) 2011-2012 Google, 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.
- *
  * Trademarks are the property of their respective owners.
  */
 
Reviewed-by on v1 1/25
#1 lore raw
Quoted 64 lines · Thomas Gleixner

Folks!
References: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8

Based on the normalized pattern:

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.

---
  Documentation/driver-api/vfio-mediated-device.rst |    4 +---
  arch/arm/boot/bootp/bootp.lds                     |    5 +----
  include/linux/input/elan-i2c-ids.h                |    5 +----
  3 files changed, 3 insertions(+), 11 deletions(-)
Documentation/driver-api/vfio-mediated-device.rst +1 -3
@@ -1,3 +1,4 @@
+.. SPDX-License-Identifier: GPL-2.0-only
  .. include:: <isonum.txt>
 
  =====================
@@ -8,9 +9,6 @@ VFIO Mediated devices
  :Author: Neo Jia <[email protected]>
  :Author: Kirti Wankhede <[email protected]>
 
-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.
 
 
  Virtual Function I/O (VFIO) Mediated devices[1]
arch/arm/boot/bootp/bootp.lds +1 -4
@@ -1,11 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
  /*
   *  linux/arch/arm/boot/bootp/bootp.lds
   *
   *  Copyright (C) 2000-2002 Russell King
- *
- * 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.
   */
  OUTPUT_ARCH(arm)
  ENTRY(_start)
include/linux/input/elan-i2c-ids.h +1 -0
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
  /*
   * Elan I2C/SMBus Touchpad device whitelist
   *

include/linux/input/elan-i2c-ids.h line 17

Quoted 10 lines
include/linux/input/elan-i2c-ids.h +0 -4
@@ -11,10 +12,6 @@
   * copyright (c) 2011-2012 Cypress Semiconductor, Inc.
   * copyright (c) 2011-2012 Google, 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.
- *
   * Trademarks are the property of their respective owners.
   */