Skip to contentSkip to conversation

Batch 16 of random GPL notices/references

PATCH In review Thomas Gleixner 11 participants 133 messages Jun 3, 2019 – Jul 12, 2019 1 message not in the archive

Subsystems (68)
lore
Share & tools
lore
#0 lore raw

cover Batch 16 of random GPL notices/references

Hi!

I have to apologize for claiming that 16 would be the last one. I just went through my backlog and noticed that I skipped a set in the middle. That's coming now and the last one after that, really.

Thanks,

tglx

#1 lore raw

PATCH 1/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 226

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

licensed under the terms of the 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).

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=7b9d3940843d

---
 arch/arm/mach-bcm/bcm63xx_smp.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/mach-bcm/bcm63xx_smp.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Broadcom BCM63138 DSL SoCs SMP support code
  *
  * Copyright (C) 2015, Broadcom Corporation
- *
- * Licensed under the terms of the GPLv2
  */
 
 #include <linux/delay.h>
Reviewed-by Enrico Weigelt on v1 1/25
#2 lore raw

Re: [Batch 16 patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 226

Quoted 24 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

licensed under the terms of the 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).

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=7b9d3940843d

---
 arch/arm/mach-bcm/bcm63xx_smp.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

arch/arm/mach-bcm/bcm63xx_smp.c line 8

Quoted 10 lines
arch/arm/mach-bcm/bcm63xx_smp.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Broadcom BCM63138 DSL SoCs SMP support code
  *
  * Copyright (C) 2015, Broadcom Corporation
- *
- * Licensed under the terms of the GPLv2
  */
 
 #include <linux/delay.h>

By the way: does it still make sense to keep all the "copyright(c) ..." lines, or would should that information always be retrieved from git ? (for that particular file, git blame doesn't show anybody who seems to be from broadcom)

Or should we introduce an SPDX header for that ?

--mtx

Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
#3 lore raw

Re: [Batch 16 patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 226

Quoted 4 lines · metux IT consult

By the way: does it still make sense to keep all the "copyright(c) ..." lines, or would should that information always be retrieved from git ? (for that particular file, git blame doesn't show anybody who seems to be from broadcom)

Yes, I think they would be. That being said, copyright notices in the Linux kernel are horribly out of date/inaccurate and even Git does not do a good job of recording these (garbage in, garbage out). Git only has a single "Author" field and I know of commits where the commit message had two authors listed and the that was added had three authors listed. Then there are all kinds of silly tags in the Linux kernel where it is absolutely unclear whether or not someone is claiming copyright or not. See for examples this article:
https://www.ifosslr.org/index.php/ifosslr/article/view/121

Also, author doesn't necessarily mean copyright owner, company affiliation also does not necessarily mean copyright is with the company (it depends on the work contract) and it would require a lot more research to find the true copyright owner.

The copyright statements also have other relevant information, such as years. This is relevant to find out which copyright laws were in effect when the code was published.

Quoted 1 line

Or should we introduce an SPDX header for that ?

There was a discussion about this a few days ago (please see the list archive). Personally I don't see the benefit.

armijn

Signature · 2 lines
Armijn Hemel, MSc
Tjaldur Software Governance Solutions
#4 lore raw

Re: [Batch 16 patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 226

On 03.06.19 12:46, Armijn Hemel - Tjaldur Software Governance Solutions wrote:

<snip>

Quoted 9 lines

Yes, I think they would be. That being said, copyright notices in the Linux kernel are horribly out of date/inaccurate and even Git does not do a good job of recording these (garbage in, garbage out). Git only has a single "Author" field and I know of commits where the commit message had two authors listed and the that was added had three authors listed. Then there are all kinds of silly tags in the Linux kernel where it is absolutely unclear whether or not someone is claiming copyright or not. See for examples this article:
https://www.ifosslr.org/index.php/ifosslr/article/view/121

uh, I didn't expect it to be that complicated :o
I was assuming that Author: and Signed-off-by: would be sufficient. (okay, we'd need some git-blame counterpart that honors Signed-off-by).

Quoted 8 lines

Also, author doesn't necessarily mean copyright owner, company affiliation also does not necessarily mean copyright is with the company (it depends on the work contract) and it would require a lot more research to find the true copyright owner.

The copyright statements also have other relevant information, such as years. This is relevant to find out which copyright laws were in effect when the code was published.

hmm, maybe we should start w/ introducing some rules for that for all new code ?

Maybe:

Rule 1: If not stated otherwise, the Signed-Off-By indicates the signer
claims copyright for the added or replaced lines of code. This only affect any lines of code that were already present (and unchanged) before these rules taking effect.
Rule 2: New files shall have some SPDX-Copyright: header (checkpatch
should check for that).
Rule 3: If the SPDX-Copyright header is present, all mentioned authors
claim copyright for the whole file, except for claims from other rules.
Rule 4: For existing files, SPDX-Copyright header may be added on a per-
case basis, when actual copyright claims have been validated.
Rule 5: If the author is transferring his claims to some company, this
company shall be mentioned in the Signed-Off-By or SPDX- Copyright headers.

Certainly, it will take a long time, until everything is really cleared up, but IMHO a good start, at least for all new code.

Quoted 2 lines

There was a discussion about this a few days ago (please see the list archive). Personally I don't see the benefit.

There already have been lawsuits on GPL violations. For such, the actual copyright holders of the disputed code have be clear.

Personally, I wouldn't spend too much efforts in here, but I'd wish to have some clear rules for any new contributions (in order to not making the situation worse as it already is).

--mtx

Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
#5 lore raw

Re: [Batch 16 patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 226

Quoted 29 lines · metux IT consult
Quoted 8 lines

Also, author doesn't necessarily mean copyright owner, company affiliation also does not necessarily mean copyright is with the company (it depends on the work contract) and it would require a lot more research to find the true copyright owner.

The copyright statements also have other relevant information, such as years. This is relevant to find out which copyright laws were in effect when the code was published.

hmm, maybe we should start w/ introducing some rules for that for all new code ?

Maybe:

Rule 1: If not stated otherwise, the Signed-Off-By indicates the signer
claims copyright for the added or replaced lines of code. This only affect any lines of code that were already present (and unchanged) before these rules taking effect.
Rule 2: New files shall have some SPDX-Copyright: header (checkpatch
should check for that).
Rule 3: If the SPDX-Copyright header is present, all mentioned authors
claim copyright for the whole file, except for claims from other rules.
Rule 4: For existing files, SPDX-Copyright header may be added on a per-
case basis, when actual copyright claims have been validated.
Rule 5: If the author is transferring his claims to some company, this
company shall be mentioned in the Signed-Off-By or SPDX- Copyright headers.

Quoted 2 lines

Certainly, it will take a long time, until everything is really cleared up, but IMHO a good start, at least for all new code.

That's crazy, again, if people want to talk about SPDX-Copyright or anything like that, please bring it up on the SPDX mailing list, not this one, as that's not what this list is for (it is for applying the _existing_ SPDX _LICENSE_ tags to the kernel source tree>0

thanks,

greg k-h

#6 lore raw

PATCH 1/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 226

In reply to Enrico Weigelt, metux IT consult

(resending, as vger.kernel.org doesn't like my mail client settings)

Quoted 4 lines · metux IT consult
Quoted 2 lines

There was a discussion about this a few days ago (please see the list archive). Personally I don't see the benefit.

There already have been lawsuits on GPL violations. For such, the actual copyright holders of the disputed code have be clear.

I am very familiar with most of those cases (having been involved in quite a few of them), so that's why I am not seeing the benefit, as it can get very complicated very quickly. I am all for simplification, but this looks like one of the cases of "hmmm, maybe not".

For the rest: I agree with Greg, let's focus on just the licenses, that should already be more than enough work :)

armijn

Signature · 2 lines
Armijn Hemel, MSc
Tjaldur Software Governance Solutions
Reviewed-by on v1 1/25
#7 lore raw

RE: [Batch 16 patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 226

In reply to Thomas Gleixner
Quoted 16 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 226

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

licensed under the terms of the gplv2

extracted by the scancode license scanner the SPDX license identifier

Quoted 8 lines

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=7b9d3940843d

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

Reviewed-by on v1 1/25
#8 lore raw

Re: [Batch 16 patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 226

In reply to Thomas Gleixner
Quoted 6 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

licensed under the terms of the gplv2

Quoted 7 lines

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

#9 lore raw

PATCH 2/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 227

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this is an extension to the linux operating system and is covered by the same gnu public license that covers that work

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=12e72470b128

---
 drivers/net/ethernet/i825xx/sun3_82586.c |    5 +----
 drivers/net/ethernet/i825xx/sun3_82586.h |    4 +---
 2 files changed, 2 insertions(+), 7 deletions(-)
drivers/net/ethernet/i825xx/sun3_82586.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Sun3 i82586 Ethernet driver
  *
@@ -8,9 +9,6 @@
  *
  * net-3-driver for the NI5210 card (i82586 Ethernet chip)
  *
- * This is an extension to the Linux operating system, and is covered by the
- * same Gnu Public License that covers that work.
- *
  * Alphacode 0.82 (96/09/29) for Linux 2.0.0 (or later)
  * Copyrights (c) 1994,1995,1996 by M.Hipp ([email protected])
  * --------------------------
@@ -20,7 +18,6 @@
  * This incarnation currently supports the OBIO version of the i82586 chip
  * used in certain sun3 models.  It should be fairly doable to expand this
  * to support VME if I should every acquire such a board.
- *
  */
 
 static int debuglevel = 0; /* debug-printk 0: off 1: a few 2: more */
drivers/net/ethernet/i825xx/sun3_82586.h +1 -3
@@ -1,9 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Intel i82586 Ethernet definitions
  *
- * This is an extension to the Linux operating system, and is covered by the
- * same Gnu Public License that covers that work.
- *
  * copyrights (c) 1994 by Michael Hipp ([email protected])
  *
  * I have done a look in the following sources:
Reviewed-by Enrico Weigelt on v1 2/25
#10 lore raw

Re: [Batch 16 patch 02/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 227

Quoted 52 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this is an extension to the linux operating system and is covered by the same gnu public license that covers that work

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=12e72470b128

---
 drivers/net/ethernet/i825xx/sun3_82586.c |    5 +----
 drivers/net/ethernet/i825xx/sun3_82586.h |    4 +---
 2 files changed, 2 insertions(+), 7 deletions(-)
drivers/net/ethernet/i825xx/sun3_82586.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Sun3 i82586 Ethernet driver
  *
@@ -8,9 +9,6 @@
  *
  * net-3-driver for the NI5210 card (i82586 Ethernet chip)
  *
- * This is an extension to the Linux operating system, and is covered by the
- * same Gnu Public License that covers that work.
- *
  * Alphacode 0.82 (96/09/29) for Linux 2.0.0 (or later)
  * Copyrights (c) 1994,1995,1996 by M.Hipp ([email protected])
  * --------------------------
@@ -20,7 +18,6 @@
  * This incarnation currently supports the OBIO version of the i82586 chip
  * used in certain sun3 models.  It should be fairly doable to expand this
  * to support VME if I should every acquire such a board.
- *
  */
 
 static int debuglevel = 0; /* debug-printk 0: off 1: a few 2: more */

drivers/net/ethernet/i825xx/sun3_82586.h line 7

Quoted 10 lines
drivers/net/ethernet/i825xx/sun3_82586.h +1 -3
@@ -1,9 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Intel i82586 Ethernet definitions
  *
- * This is an extension to the Linux operating system, and is covered by the
- * same Gnu Public License that covers that work.
- *
  * copyrights (c) 1994 by Michael Hipp ([email protected])
  *
  * I have done a look in the following sources:
Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
Reviewed-by on v1 2/25
#11 lore raw

Re: [Batch 16 patch 02/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 227

In reply to Thomas Gleixner
Quoted 7 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this is an extension to the linux operating system and is covered by the same gnu public license that covers that work

Quoted 7 lines

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

#12 lore raw

PATCH 3/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 228

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

for licencing details see kernel base copying

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=e8acc08814ff

---
 arch/x86/events/amd/ibs.c               |    3 +--
 arch/x86/events/core.c                  |    3 +--
 arch/x86/events/intel/p4.c              |    3 +--
 arch/x86/events/perf_event.h            |    3 +--
 arch/x86/kernel/x86_init.c              |    3 +--
 arch/x86/lib/usercopy.c                 |    3 +--
 drivers/input/touchscreen/tps6507x-ts.c |    3 +--
 drivers/mfd/tps6507x.c                  |    4 +---
 include/linux/input/tps6507x-ts.h       |    4 +---
 include/linux/ktime.h                   |    3 +--
 include/linux/mfd/tps6507x.h            |    4 +---
 include/linux/perf_event.h              |    3 +--
 lib/debugobjects.c                      |    3 +--
 13 files changed, 13 insertions(+), 29 deletions(-)
arch/x86/events/amd/ibs.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Performance events - AMD IBS
  *
  *  Copyright (C) 2011 Advanced Micro Devices, Inc., Robert Richter
- *
- *  For licencing details see kernel-base/COPYING
  */
 
 #include <linux/perf_event.h>
arch/x86/events/core.c +1 -2
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Performance events x86 architecture code
  *
@@ -8,8 +9,6 @@
  *  Copyright (C) 2008-2009 Red Hat, Inc., Peter Zijlstra
  *  Copyright (C) 2009 Intel Corporation, <[email protected]>
  *  Copyright (C) 2009 Google, Inc., Stephane Eranian
- *
- *  For licencing details see kernel-base/COPYING
  */
 
 #include <linux/perf_event.h>
arch/x86/events/intel/p4.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Netburst Performance Events (P4, old Xeon)
  *
  *  Copyright (C) 2010 Parallels, Inc., Cyrill Gorcunov <[email protected]>
  *  Copyright (C) 2010 Intel Corporation, Lin Ming <[email protected]>
- *
- *  For licencing details see kernel-base/COPYING
  */
 
 #include <linux/perf_event.h>
arch/x86/events/perf_event.h +1 -2
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Performance events x86 architecture header
  *
@@ -8,8 +9,6 @@
  *  Copyright (C) 2008-2009 Red Hat, Inc., Peter Zijlstra
  *  Copyright (C) 2009 Intel Corporation, <[email protected]>
  *  Copyright (C) 2009 Google, Inc., Stephane Eranian
- *
- *  For licencing details see kernel-base/COPYING
  */
 
 #include <linux/perf_event.h>
arch/x86/kernel/x86_init.c +1 -2
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2009 Thomas Gleixner <[email protected]>
- *
- *  For licencing details see kernel-base/COPYING
  */
 #include <linux/init.h>
 #include <linux/ioport.h>
arch/x86/lib/usercopy.c +1 -2
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * User address space access functions.
- *
- *  For licencing details see kernel-base/COPYING
  */
 
 #include <linux/uaccess.h>
drivers/input/touchscreen/tps6507x-ts.c +1 -2
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Touchscreen driver for the tps6507x chip.
  *
@@ -7,8 +8,6 @@
  *
  *    Using code from tsc2007, MtekVision Co., Ltd.
  *
- * For licencing details see kernel-base/COPYING
- *
  * TPS65070, TPS65073, TPS650731, and TPS650732 support
  * 10 bit touch screen interface.
  */
drivers/mfd/tps6507x.c +1 -3
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * tps6507x.c  --  TPS6507x chip family multi-function driver
  *
@@ -9,9 +10,6 @@
  * Credits:
  *
  *    Using code from wm831x-*.c, wm8400-core, Wolfson Microelectronics PLC.
- *
- * For licencing details see kernel-base/COPYING
- *
  */
 
 #include <linux/module.h>
include/linux/input/tps6507x-ts.h +1 -3
@@ -1,11 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /* linux/i2c/tps6507x-ts.h
  *
  * Functions to access TPS65070 touch screen chip.
  *
  * Copyright (c) 2009 RidgeRun ([email protected])
- *
- *
- *  For licencing details see kernel-base/COPYING
  */
 
 #ifndef __LINUX_I2C_TPS6507X_TS_H
include/linux/ktime.h +1 -2
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *  include/linux/ktime.h
  *
@@ -15,8 +16,6 @@
  *  	Roman Zippel provided the ideas and primary code snippets of
  *  	the ktime_t union and further simplifications of the original
  *  	code.
- *
- *  For licencing details see kernel-base/COPYING
  */
 #ifndef _LINUX_KTIME_H
 #define _LINUX_KTIME_H
include/linux/mfd/tps6507x.h +1 -3
@@ -1,11 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /* linux/mfd/tps6507x.h
  *
  * Functions to access TPS65070 power management chip.
  *
  * Copyright (c) 2009 RidgeRun ([email protected])
- *
- *
- *  For licencing details see kernel-base/COPYING
  */
 
 #ifndef __LINUX_MFD_TPS6507X_H
include/linux/perf_event.h +1 -2
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Performance events:
  *
@@ -8,8 +9,6 @@
  * Data type definitions, declarations, prototypes.
  *
  *    Started by: Thomas Gleixner and Ingo Molnar
- *
- * For licencing details see kernel-base/COPYING
  */
 #ifndef _LINUX_PERF_EVENT_H
 #define _LINUX_PERF_EVENT_H
lib/debugobjects.c +1 -2
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Generic infrastructure for lifetime debugging of objects.
  *
  * Started by Thomas Gleixner
  *
  * Copyright (C) 2008, Thomas Gleixner <[email protected]>
- *
- * For licencing details see kernel-base/COPYING
  */
 
 #define pr_fmt(fmt) "ODEBUG: " fmt
Reviewed-by Enrico Weigelt on v1 3/25
#13 lore raw

Re: [Batch 16 patch 03/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 228

Quoted 215 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

for licencing details see kernel base copying

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=e8acc08814ff

---
 arch/x86/events/amd/ibs.c               |    3 +--
 arch/x86/events/core.c                  |    3 +--
 arch/x86/events/intel/p4.c              |    3 +--
 arch/x86/events/perf_event.h            |    3 +--
 arch/x86/kernel/x86_init.c              |    3 +--
 arch/x86/lib/usercopy.c                 |    3 +--
 drivers/input/touchscreen/tps6507x-ts.c |    3 +--
 drivers/mfd/tps6507x.c                  |    4 +---
 include/linux/input/tps6507x-ts.h       |    4 +---
 include/linux/ktime.h                   |    3 +--
 include/linux/mfd/tps6507x.h            |    4 +---
 include/linux/perf_event.h              |    3 +--
 lib/debugobjects.c                      |    3 +--
 13 files changed, 13 insertions(+), 29 deletions(-)
arch/x86/events/amd/ibs.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Performance events - AMD IBS
  *
  *  Copyright (C) 2011 Advanced Micro Devices, Inc., Robert Richter
- *
- *  For licencing details see kernel-base/COPYING
  */
 
 #include <linux/perf_event.h>
arch/x86/events/core.c +1 -2
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Performance events x86 architecture code
  *
@@ -8,8 +9,6 @@
  *  Copyright (C) 2008-2009 Red Hat, Inc., Peter Zijlstra
  *  Copyright (C) 2009 Intel Corporation, <[email protected]>
  *  Copyright (C) 2009 Google, Inc., Stephane Eranian
- *
- *  For licencing details see kernel-base/COPYING
  */
 
 #include <linux/perf_event.h>
arch/x86/events/intel/p4.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Netburst Performance Events (P4, old Xeon)
  *
  *  Copyright (C) 2010 Parallels, Inc., Cyrill Gorcunov <[email protected]>
  *  Copyright (C) 2010 Intel Corporation, Lin Ming <[email protected]>
- *
- *  For licencing details see kernel-base/COPYING
  */
 
 #include <linux/perf_event.h>
arch/x86/events/perf_event.h +1 -2
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Performance events x86 architecture header
  *
@@ -8,8 +9,6 @@
  *  Copyright (C) 2008-2009 Red Hat, Inc., Peter Zijlstra
  *  Copyright (C) 2009 Intel Corporation, <[email protected]>
  *  Copyright (C) 2009 Google, Inc., Stephane Eranian
- *
- *  For licencing details see kernel-base/COPYING
  */
 
 #include <linux/perf_event.h>
arch/x86/kernel/x86_init.c +1 -2
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2009 Thomas Gleixner <[email protected]>
- *
- *  For licencing details see kernel-base/COPYING
  */
 #include <linux/init.h>
 #include <linux/ioport.h>
arch/x86/lib/usercopy.c +1 -2
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * User address space access functions.
- *
- *  For licencing details see kernel-base/COPYING
  */
 
 #include <linux/uaccess.h>
drivers/input/touchscreen/tps6507x-ts.c +1 -2
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Touchscreen driver for the tps6507x chip.
  *
@@ -7,8 +8,6 @@
  *
  *    Using code from tsc2007, MtekVision Co., Ltd.
  *
- * For licencing details see kernel-base/COPYING
- *
  * TPS65070, TPS65073, TPS650731, and TPS650732 support
  * 10 bit touch screen interface.
  */
drivers/mfd/tps6507x.c +1 -3
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * tps6507x.c  --  TPS6507x chip family multi-function driver
  *
@@ -9,9 +10,6 @@
  * Credits:
  *
  *    Using code from wm831x-*.c, wm8400-core, Wolfson Microelectronics PLC.
- *
- * For licencing details see kernel-base/COPYING
- *
  */
 
 #include <linux/module.h>
include/linux/input/tps6507x-ts.h +1 -3
@@ -1,11 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /* linux/i2c/tps6507x-ts.h
  *
  * Functions to access TPS65070 touch screen chip.
  *
  * Copyright (c) 2009 RidgeRun ([email protected])
- *
- *
- *  For licencing details see kernel-base/COPYING
  */
 
 #ifndef __LINUX_I2C_TPS6507X_TS_H
include/linux/ktime.h +1 -2
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *  include/linux/ktime.h
  *
@@ -15,8 +16,6 @@
  *  	Roman Zippel provided the ideas and primary code snippets of
  *  	the ktime_t union and further simplifications of the original
  *  	code.
- *
- *  For licencing details see kernel-base/COPYING
  */
 #ifndef _LINUX_KTIME_H
 #define _LINUX_KTIME_H
include/linux/mfd/tps6507x.h +1 -3
@@ -1,11 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /* linux/mfd/tps6507x.h
  *
  * Functions to access TPS65070 power management chip.
  *
  * Copyright (c) 2009 RidgeRun ([email protected])
- *
- *
- *  For licencing details see kernel-base/COPYING
  */
 
 #ifndef __LINUX_MFD_TPS6507X_H
include/linux/perf_event.h +1 -2
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Performance events:
  *
@@ -8,8 +9,6 @@
  * Data type definitions, declarations, prototypes.
  *
  *    Started by: Thomas Gleixner and Ingo Molnar
- *
- * For licencing details see kernel-base/COPYING
  */
 #ifndef _LINUX_PERF_EVENT_H
 #define _LINUX_PERF_EVENT_H
lib/debugobjects.c +1 -0
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*

lib/debugobjects.c line 10

Quoted 10 lines
lib/debugobjects.c +0 -2
  * Generic infrastructure for lifetime debugging of objects.
  *
  * Started by Thomas Gleixner
  *
  * Copyright (C) 2008, Thomas Gleixner <[email protected]>
- *
- * For licencing details see kernel-base/COPYING
  */
 
 #define pr_fmt(fmt) "ODEBUG: " fmt
Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
#14 lore raw

RE: [Batch 16 patch 03/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 228

In reply to Thomas Gleixner
Quoted 16 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 03/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 228

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

for licencing details see kernel base copying

extracted by the scancode license scanner the SPDX license identifier

Quoted 8 lines

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=e8acc08814ff

No license info but only a reference to COPYING;
we should add it to the batch of this pattern.

-- zvr -

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

Reviewed-by on v1 3/25
#15 lore raw

Re: [Batch 16 patch 03/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 228

In reply to Thomas Gleixner
Quoted 6 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

for licencing details see kernel base copying

Quoted 7 lines

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

#16 lore raw

PATCH 4/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 229

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

oprofile authors @remark read the file copying

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=f434c6c242c0

---
 arch/alpha/oprofile/common.c        |    2 +-
 arch/alpha/oprofile/op_impl.h       |    2 +-
 arch/alpha/oprofile/op_model_ev4.c  |    2 +-
 arch/alpha/oprofile/op_model_ev5.c  |    2 +-
 arch/alpha/oprofile/op_model_ev6.c  |    2 +-
 arch/alpha/oprofile/op_model_ev67.c |    2 +-
 arch/ia64/oprofile/init.c           |    2 +-
 arch/ia64/oprofile/perfmon.c        |    2 +-
 arch/mips/oprofile/op_impl.h        |    2 +-
 arch/parisc/oprofile/init.c         |    2 +-
 arch/sparc/oprofile/init.c          |    2 +-
 arch/x86/oprofile/backtrace.c       |    2 +-
 arch/x86/oprofile/init.c            |    2 +-
 arch/x86/oprofile/nmi_int.c         |    2 +-
 arch/x86/oprofile/op_counter.h      |    2 +-
 arch/x86/oprofile/op_model_amd.c    |    2 +-
 arch/x86/oprofile/op_model_p4.c     |    2 +-
 arch/x86/oprofile/op_x86_model.h    |    2 +-
 drivers/oprofile/buffer_sync.c      |    2 +-
 drivers/oprofile/buffer_sync.h      |    2 +-
 drivers/oprofile/cpu_buffer.c       |    2 +-
 drivers/oprofile/cpu_buffer.h       |    2 +-
 drivers/oprofile/event_buffer.c     |    2 +-
 drivers/oprofile/event_buffer.h     |    2 +-
 drivers/oprofile/oprof.c            |    2 +-
 drivers/oprofile/oprof.h            |    2 +-
 drivers/oprofile/oprofile_files.c   |    2 +-
 drivers/oprofile/oprofile_stats.c   |    2 +-
 drivers/oprofile/oprofile_stats.h   |    2 +-
 drivers/oprofile/oprofilefs.c       |    2 +-
 drivers/oprofile/timer_int.c        |    2 +-
 include/linux/oprofile.h            |    2 +-
 32 files changed, 32 insertions(+), 32 deletions(-)
arch/alpha/oprofile/common.c +1 -1
@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * @file arch/alpha/oprofile/common.c
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author Richard Henderson <[email protected]>
  */
arch/alpha/oprofile/op_impl.h +1 -1
@@ -1,8 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /**
  * @file arch/alpha/oprofile/op_impl.h
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author Richard Henderson <[email protected]>
  */
arch/alpha/oprofile/op_model_ev4.c +1 -1
@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * @file arch/alpha/oprofile/op_model_ev4.c
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author Richard Henderson <[email protected]>
  */
arch/alpha/oprofile/op_model_ev5.c +1 -1
@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * @file arch/alpha/oprofile/op_model_ev5.c
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author Richard Henderson <[email protected]>
  */
arch/alpha/oprofile/op_model_ev6.c +1 -1
@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * @file arch/alpha/oprofile/op_model_ev6.c
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author Richard Henderson <[email protected]>
  */
arch/alpha/oprofile/op_model_ev67.c +1 -1
@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * @file arch/alpha/oprofile/op_model_ev67.c
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author Richard Henderson <[email protected]>
  * @author Falk Hueffner <[email protected]>
arch/ia64/oprofile/init.c +1 -1
@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * @file init.c
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon <[email protected]>
  */
arch/ia64/oprofile/perfmon.c +1 -1
@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * @file perfmon.c
  *
  * @remark Copyright 2003 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon <[email protected]>
  */
arch/mips/oprofile/op_impl.h +1 -1
@@ -1,8 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /**
  * @file arch/alpha/oprofile/op_impl.h
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author Richard Henderson <[email protected]>
  */
arch/parisc/oprofile/init.c +1 -1
@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * @file init.c
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon <[email protected]>
  */
arch/sparc/oprofile/init.c +1 -1
@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * @file init.c
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon <[email protected]>
  */
arch/x86/oprofile/backtrace.c +1 -1
@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * @file backtrace.c
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon
  * @author David Smith
arch/x86/oprofile/init.c +1 -1
@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * @file init.c
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon <[email protected]>
  */
arch/x86/oprofile/nmi_int.c +1 -1
@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * @file nmi_int.c
  *
  * @remark Copyright 2002-2009 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon <[email protected]>
  * @author Robert Richter <[email protected]>
arch/x86/oprofile/op_counter.h +1 -1
@@ -1,8 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /**
  * @file op_counter.h
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon
  */
arch/x86/oprofile/op_model_amd.c +1 -1
@@ -1,9 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * @file op_model_amd.c
  * athlon / K7 / K8 / Family 10h model-specific MSR operations
  *
  * @remark Copyright 2002-2009 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon
  * @author Philippe Elie
arch/x86/oprofile/op_model_p4.c +1 -1
@@ -1,9 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * @file op_model_p4.c
  * P4 model-specific MSR operations
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author Graydon Hoare
  */
arch/x86/oprofile/op_x86_model.h +1 -1
@@ -1,9 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /**
  * @file op_x86_model.h
  * interface to x86 model-specific MSR operations
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author Graydon Hoare
  * @author Robert Richter <[email protected]>
drivers/oprofile/buffer_sync.c +1 -1
@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * @file buffer_sync.c
  *
  * @remark Copyright 2002-2009 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon <[email protected]>
  * @author Barry Kasindorf
drivers/oprofile/buffer_sync.h +1 -1
@@ -1,8 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /**
  * @file buffer_sync.h
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon <[email protected]>
  */
drivers/oprofile/cpu_buffer.c +1 -1
@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * @file cpu_buffer.c
  *
  * @remark Copyright 2002-2009 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon <[email protected]>
  * @author Barry Kasindorf <[email protected]>
drivers/oprofile/cpu_buffer.h +1 -1
@@ -1,8 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /**
  * @file cpu_buffer.h
  *
  * @remark Copyright 2002-2009 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon <[email protected]>
  * @author Robert Richter <[email protected]>
drivers/oprofile/event_buffer.c +1 -1
@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * @file event_buffer.c
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon <[email protected]>
  *
drivers/oprofile/event_buffer.h +1 -1
@@ -1,8 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /**
  * @file event_buffer.h
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon <[email protected]>
  */
drivers/oprofile/oprof.c +1 -1
@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * @file oprof.c
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon <[email protected]>
  */
drivers/oprofile/oprof.h +1 -1
@@ -1,8 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /**
  * @file oprof.h
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon <[email protected]>
  */
drivers/oprofile/oprofile_files.c +1 -1
@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * @file oprofile_files.c
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon <[email protected]>
  */
drivers/oprofile/oprofile_stats.c +1 -1
@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * @file oprofile_stats.c
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon
  */
drivers/oprofile/oprofile_stats.h +1 -1
@@ -1,8 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /**
  * @file oprofile_stats.h
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon
  */
drivers/oprofile/oprofilefs.c +1 -1
@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * @file oprofilefs.c
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon
  *
drivers/oprofile/timer_int.c +1 -1
@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * @file timer_int.c
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon <[email protected]>
  */
include/linux/oprofile.h +1 -1
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /**
  * @file oprofile.h
  *
@@ -5,7 +6,6 @@
  * to oprofile.
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author John Levon <[email protected]>
  */
#18 lore raw

RE: [Batch 16 patch 04/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 229

In reply to Thomas Gleixner
Quoted 63 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 04/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 229

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

oprofile authors @remark read the file copying

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-
spdx.git/commit/?h=batch16&id=f434c6c242c0

---
 arch/alpha/oprofile/common.c        |    2 +-
 arch/alpha/oprofile/op_impl.h       |    2 +-
 arch/alpha/oprofile/op_model_ev4.c  |    2 +-
 arch/alpha/oprofile/op_model_ev5.c  |    2 +-
 arch/alpha/oprofile/op_model_ev6.c  |    2 +-
 arch/alpha/oprofile/op_model_ev67.c |    2 +-
 arch/ia64/oprofile/init.c           |    2 +-
 arch/ia64/oprofile/perfmon.c        |    2 +-
 arch/mips/oprofile/op_impl.h        |    2 +-
 arch/parisc/oprofile/init.c         |    2 +-
 arch/sparc/oprofile/init.c          |    2 +-
 arch/x86/oprofile/backtrace.c       |    2 +-
 arch/x86/oprofile/init.c            |    2 +-
 arch/x86/oprofile/nmi_int.c         |    2 +-
 arch/x86/oprofile/op_counter.h      |    2 +-
 arch/x86/oprofile/op_model_amd.c    |    2 +-
 arch/x86/oprofile/op_model_p4.c     |    2 +-
 arch/x86/oprofile/op_x86_model.h    |    2 +-
 drivers/oprofile/buffer_sync.c      |    2 +-
 drivers/oprofile/buffer_sync.h      |    2 +-
 drivers/oprofile/cpu_buffer.c       |    2 +-
 drivers/oprofile/cpu_buffer.h       |    2 +-
 drivers/oprofile/event_buffer.c     |    2 +-
 drivers/oprofile/event_buffer.h     |    2 +-
 drivers/oprofile/oprof.c            |    2 +-
 drivers/oprofile/oprof.h            |    2 +-
 drivers/oprofile/oprofile_files.c   |    2 +-
 drivers/oprofile/oprofile_stats.c   |    2 +-
 drivers/oprofile/oprofile_stats.h   |    2 +-
 drivers/oprofile/oprofilefs.c       |    2 +-
 drivers/oprofile/timer_int.c        |    2 +-
 include/linux/oprofile.h            |    2 +-
 32 files changed, 32 insertions(+), 32 deletions(-)

arch/alpha/oprofile/common.c line 8

Quoted 9 lines
arch/alpha/oprofile/common.c +1 -1
@@ -1,8 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /**
  * @file arch/alpha/oprofile/common.c
  *
  * @remark Copyright 2002 OProfile authors
- * @remark Read the file COPYING
  *
  * @author Richard Henderson <[email protected]>
  */

Again, reference to an external file "COPYING"

-- zvr -

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

Reviewed-by on v1 4/25
#19 lore raw

Re: [Batch 16 patch 04/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 229

In reply to Thomas Gleixner
Quoted 6 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

oprofile authors @remark read the file copying

Quoted 7 lines

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

#20 lore raw

PATCH 5/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 230

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 2 normalized pattern(s):

this source code is licensed under the gnu general public license version 2 see the file copying for more details

this source code is licensed under general public license version 2 see

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=e482bdc1dbe1

---
 arch/ia64/kernel/machine_kexec.c       |    4 +---
 arch/ia64/kernel/relocate_kernel.S     |    4 +---
 arch/mips/include/asm/kexec.h          |    4 +---
 arch/mips/kernel/machine_kexec.c       |    4 +---
 arch/mips/kernel/relocate_kernel.S     |    4 +---
 arch/powerpc/kernel/crash.c            |    5 +----
 arch/powerpc/kernel/crash_dump.c       |    4 +---
 arch/powerpc/kernel/machine_kexec.c    |    4 +---
 arch/powerpc/kernel/machine_kexec_32.c |    4 +---
 arch/powerpc/kernel/machine_kexec_64.c |    4 +---
 arch/x86/kernel/kexec-bzimage64.c      |    4 +---
 arch/x86/kernel/machine_kexec_32.c     |    4 +---
 arch/x86/kernel/machine_kexec_64.c     |    4 +---
 arch/x86/kernel/relocate_kernel_32.S   |    4 +---
 arch/x86/kernel/relocate_kernel_64.S   |    4 +---
 arch/x86/kernel/verify_cpu.S           |    4 +---
 arch/x86/purgatory/entry64.S           |    4 +---
 arch/x86/purgatory/purgatory.c         |    4 +---
 arch/x86/purgatory/setup-x86_64.S      |    4 +---
 arch/x86/purgatory/stack.S             |    4 +---
 arch/x86/purgatory/string.c            |    4 +---
 drivers/w1/slaves/w1_ds2406.c          |    4 +---
 drivers/w1/slaves/w1_ds2408.c          |    4 +---
 drivers/w1/slaves/w1_ds2413.c          |    4 +---
 drivers/w1/slaves/w1_ds2431.c          |    4 +---
 drivers/w1/slaves/w1_ds2433.c          |    4 +---
 drivers/w1/slaves/w1_ds2438.c          |    4 +---
 drivers/w1/slaves/w1_ds2805.c          |    4 +---
 drivers/w1/slaves/w1_ds28e04.c         |    4 +---
 drivers/w1/slaves/w1_ds28e17.c         |    4 +---
 include/linux/crc-itu-t.h              |    4 +---
 include/linux/crc16.h                  |    4 +---
 include/linux/genalloc.h               |    4 +---
 include/linux/sha256.h                 |    4 +---
 kernel/crash_core.c                    |    4 +---
 kernel/kexec.c                         |    4 +---
 kernel/kexec_core.c                    |    4 +---
 kernel/kexec_file.c                    |    4 +---
 lib/bitmap.c                           |    4 +---
 lib/cmdline.c                          |    5 +----
 lib/crc-ccitt.c                        |    4 +---
 lib/crc-itu-t.c                        |    4 +---
 lib/crc-t10dif.c                       |    4 +---
 lib/crc16.c                            |    4 +---
 lib/crc4.c                             |    4 +---
 lib/crc7.c                             |    4 +---
 lib/genalloc.c                         |    4 +---
 lib/parser.c                           |    4 +---
 lib/scatterlist.c                      |    4 +---
 lib/sg_split.c                         |    4 +---
 net/netfilter/nf_conntrack_h323_asn1.c |    4 +---
 tools/lib/bitmap.c                     |    4 +---
 52 files changed, 52 insertions(+), 158 deletions(-)
arch/ia64/kernel/machine_kexec.c +1 -3
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * arch/ia64/kernel/machine_kexec.c
  *
@@ -5,9 +6,6 @@
  * Copyright (C) 2005 Hewlett-Packard Development Comapny, L.P.
  * Copyright (C) 2005 Khalid Aziz <[email protected]>
  * Copyright (C) 2006 Intel Corp, Zou Nan hai <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 #include <linux/mm.h>
arch/ia64/kernel/relocate_kernel.S +1 -3
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * arch/ia64/kernel/relocate_kernel.S
  *
@@ -6,9 +7,6 @@
  * Copyright (C) 2005 Hewlett-Packard Development Company, L.P.
  * Copyright (C) 2005 Khalid Aziz  <[email protected]>
  * Copyright (C) 2005 Intel Corp,  Zou Nan hai <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 #include <asm/asmmacro.h>
 #include <asm/kregs.h>
arch/mips/include/asm/kexec.h +1 -3
@@ -1,9 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * kexec.h for kexec
  * Created by <[email protected]> on Thu Oct 12 14:59:34 2006
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 #ifndef _MIPS_KEXEC
arch/mips/kernel/machine_kexec.c +1 -3
@@ -1,9 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * machine_kexec.c for kexec
  * Created by <[email protected]> on Thu Oct 12 15:15:06 2006
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 #include <linux/compiler.h>
 #include <linux/kexec.h>
arch/mips/kernel/relocate_kernel.S +1 -3
@@ -1,9 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * relocate_kernel.S for kexec
  * Created by <[email protected]> on Thu Oct 12 17:49:57 2006
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 #include <asm/asm.h>
arch/powerpc/kernel/crash.c +1 -4
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Architecture specific (PPC64) functions for kexec based crash dumps.
  *
  * Copyright (C) 2005, IBM Corp.
  *
  * Created by: Haren Myneni
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
- *
  */
 
 #include <linux/kernel.h>
arch/powerpc/kernel/crash_dump.c +1 -3
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Routines for doing kexec-based kdump.
  *
  * Copyright (C) 2005, IBM Corp.
  *
  * Created by: Michael Ellerman
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 #undef DEBUG
arch/powerpc/kernel/machine_kexec.c +1 -3
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Code to handle transition of Linux booting another kernel.
  *
  * Copyright (C) 2002-2003 Eric Biederman  <[email protected]>
  * GameCube/ppc32 port Copyright (C) 2004 Albert Herranz
  * Copyright (C) 2005 IBM Corporation.
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 #include <linux/kexec.h>
arch/powerpc/kernel/machine_kexec_32.c +1 -3
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * PPC32 code to handle Linux booting another kernel.
  *
  * Copyright (C) 2002-2003 Eric Biederman  <[email protected]>
  * GameCube/ppc32 port Copyright (C) 2004 Albert Herranz
  * Copyright (C) 2005 IBM Corporation.
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 #include <linux/kexec.h>
arch/powerpc/kernel/machine_kexec_64.c +1 -3
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * PPC64 code to handle Linux booting another kernel.
  *
  * Copyright (C) 2004-2005, IBM Corp.
  *
  * Created by: Milton D Miller II
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 
arch/x86/kernel/kexec-bzimage64.c +1 -3
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Kexec bzImage loader
  *
  * Copyright (C) 2014 Red Hat Inc.
  * Authors:
  *      Vivek Goyal <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 #define pr_fmt(fmt)	"kexec-bzImage64: " fmt
arch/x86/kernel/machine_kexec_32.c +1 -3
@@ -1,9 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * handle transition of Linux booting another kernel
  * Copyright (C) 2002-2005 Eric Biederman  <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 #include <linux/mm.h>
arch/x86/kernel/machine_kexec_64.c +1 -3
@@ -1,9 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * handle transition of Linux booting another kernel
  * Copyright (C) 2002-2005 Eric Biederman  <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 #define pr_fmt(fmt)	"kexec: " fmt
arch/x86/kernel/relocate_kernel_32.S +1 -3
@@ -1,9 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * relocate_kernel.S - put the kernel image in place to boot
  * Copyright (C) 2002-2004 Eric Biederman  <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 #include <linux/linkage.h>
arch/x86/kernel/relocate_kernel_64.S +1 -3
@@ -1,9 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * relocate_kernel.S - put the kernel image in place to boot
  * Copyright (C) 2002-2005 Eric Biederman  <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 #include <linux/linkage.h>
arch/x86/kernel/verify_cpu.S +1 -3
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
  *	verify_cpu.S - Code for cpu long mode and SSE verification. This
@@ -9,9 +10,6 @@
  *	Copyright (c) 2007  Vivek Goyal ([email protected])
  *	Copyright (c) 2010  Kees Cook ([email protected])
  *
- * 	This source code is licensed under the GNU General Public License,
- * 	Version 2.  See the file COPYING for more details.
- *
  *	This is a common code for verification whether CPU supports
  * 	long mode and SSE or not. It is not called directly instead this
  *	file is included at various places and compiled in that context.
arch/x86/purgatory/entry64.S +1 -3
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2003,2004  Eric Biederman ([email protected])
  * Copyright (C) 2014  Red Hat Inc.
@@ -5,9 +6,6 @@
  * Author(s): Vivek Goyal <[email protected]>
  *
  * This code has been taken from kexec-tools.
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 	.text
arch/x86/purgatory/purgatory.c +1 -3
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * purgatory: Runs between two kernels
  *
@@ -5,9 +6,6 @@
  *
  * Author:
  *       Vivek Goyal <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 #include <linux/bug.h>
arch/x86/purgatory/setup-x86_64.S +1 -3
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * purgatory:  setup code
  *
@@ -5,9 +6,6 @@
  * Copyright (C) 2014 Red Hat Inc.
  *
  * This code has been taken from kexec-tools.
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 #include <asm/purgatory.h>
 
arch/x86/purgatory/stack.S +1 -3
@@ -1,10 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * purgatory:  stack
  *
  * Copyright (C) 2014 Red Hat Inc.
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 	/* A stack for the loaded kernel.
arch/x86/purgatory/string.c +1 -3
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Simple string functions.
  *
@@ -5,9 +6,6 @@
  *
  * Author:
  *       Vivek Goyal <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 #include <linux/types.h>
drivers/w1/slaves/w1_ds2406.c +1 -3
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * w1_ds2406.c - w1 family 12 (DS2406) driver
  * based on w1_ds2413.c by Mariusz Bialonczyk <[email protected]>
  *
  * Copyright (c) 2014 Scott Alfter <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2. See the file COPYING for more details.
  */
 
 #include <linux/kernel.h>
drivers/w1/slaves/w1_ds2408.c +1 -3
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *	w1_ds2408.c - w1 family 29 (DS2408) driver
  *
  * Copyright (c) 2010 Jean-Francois Dagenais <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2. See the file COPYING for more details.
  */
 
 #include <linux/kernel.h>
drivers/w1/slaves/w1_ds2413.c +1 -3
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * w1_ds2413.c - w1 family 3a (DS2413) driver
  * based on w1_ds2408.c by Jean-Francois Dagenais <[email protected]>
  *
  * Copyright (c) 2013 Mariusz Bialonczyk <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2. See the file COPYING for more details.
  */
 
 #include <linux/kernel.h>
drivers/w1/slaves/w1_ds2431.c +1 -3
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * w1_ds2431.c - w1 family 2d (DS2431) driver
  *
  * Copyright (c) 2008 Bernhard Weirich <[email protected]>
  *
  * Heavily inspired by w1_DS2433 driver from Ben Gardner <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2. See the file COPYING for more details.
  */
 
 #include <linux/kernel.h>
drivers/w1/slaves/w1_ds2433.c +1 -3
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *	w1_ds2433.c - w1 family 23 (DS2433) driver
  *
  * Copyright (c) 2005 Ben Gardner <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2. See the file COPYING for more details.
  */
 
 #include <linux/kernel.h>
drivers/w1/slaves/w1_ds2438.c +1 -3
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * 1-Wire implementation for the ds2438 chip
  *
  * Copyright (c) 2017 Mariusz Bialonczyk <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2. See the file COPYING for more details.
  */
 
 #include <linux/kernel.h>
drivers/w1/slaves/w1_ds2805.c +1 -3
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * w1_ds2805 - w1 family 0d (DS28E05) driver
  *
  * Copyright (c) 2016 Andrew Worsley [email protected]
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2. See the file COPYING for more details.
  */
 
 #include <linux/kernel.h>
drivers/w1/slaves/w1_ds28e04.c +1 -3
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *	w1_ds28e04.c - w1 family 1C (DS28E04) driver
  *
  * Copyright (c) 2012 Markus Franke <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2. See the file COPYING for more details.
  */
 
 #include <linux/kernel.h>
drivers/w1/slaves/w1_ds28e17.c +1 -3
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *	w1_ds28e17.c - w1 family 19 (DS28E17) driver
  *
  * Copyright (c) 2016 Jan Kandziora <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2. See the file COPYING for more details.
  */
 
 #include <linux/crc16.h>
include/linux/crc-itu-t.h +1 -3
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *	crc-itu-t.h - CRC ITU-T V.41 routine
  *
@@ -5,9 +6,6 @@
  *   Width 16
  *   Poly  0x1021 (x^16 + x^12 + x^15 + 1)
  *   Init  0
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2. See the file COPYING for more details.
  */
 
 #ifndef CRC_ITU_T_H
include/linux/crc16.h +1 -3
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *	crc16.h - CRC-16 routine
  *
@@ -7,9 +8,6 @@
  *   Init  0
  *
  * Copyright (c) 2005 Ben Gardner <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2. See the file COPYING for more details.
  */
 
 #ifndef __CRC16_H
include/linux/genalloc.h +1 -3
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Basic general purpose allocator for managing special purpose
  * memory, for example, memory that is not managed by the regular
@@ -21,9 +22,6 @@
  * the allocator can NOT be used in NMI handler.  So code uses the
  * allocator in NMI handler should depend on
  * CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG.
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 
include/linux/sha256.h +1 -3
@@ -1,10 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *  Copyright (C) 2014 Red Hat Inc.
  *
  *  Author: Vivek Goyal <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 #ifndef SHA256_H
kernel/crash_core.c +1 -3
@@ -1,9 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * crash.c - kernel crash support code.
  * Copyright (C) 2002-2004 Eric Biederman  <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 #include <linux/crash_core.h>
kernel/kexec.c +1 -3
@@ -1,9 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * kexec.c - kexec_load system call
  * Copyright (C) 2002-2004 Eric Biederman  <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
kernel/kexec_core.c +1 -3
@@ -1,9 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * kexec.c - kexec system call core code.
  * Copyright (C) 2002-2004 Eric Biederman  <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
kernel/kexec_file.c +1 -3
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * kexec: kexec_file_load system call
  *
  * Copyright (C) 2014 Red Hat Inc.
  * Authors:
  *      Vivek Goyal <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
lib/bitmap.c +1 -3
@@ -1,9 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * lib/bitmap.c
  * Helper functions for bitmap.h.
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 #include <linux/export.h>
 #include <linux/thread_info.h>
lib/cmdline.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * linux/lib/cmdline.c
  * Helper functions generally used for parsing kernel command line
@@ -5,11 +6,7 @@
  *
  * Code and copyrights come from init/main.c and arch/i386/kernel/setup.c.
  *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
- *
  * GNU Indent formatting options for this file: -kr -i8 -npsl -pcs
- *
  */
 
 #include <linux/export.h>
lib/crc-ccitt.c +1 -3
@@ -1,8 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *	linux/lib/crc-ccitt.c
- *
- *	This source code is licensed under the GNU General Public License,
- *	Version 2. See the file COPYING for more details.
  */
 
 #include <linux/types.h>
lib/crc-itu-t.c +1 -3
@@ -1,8 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *      crc-itu-t.c
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2. See the file COPYING for more details.
  */
 
 #include <linux/types.h>
lib/crc-t10dif.c +1 -3
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * T10 Data Integrity Field CRC16 calculation
  *
  * Copyright (c) 2007 Oracle Corporation.  All rights reserved.
  * Written by Martin K. Petersen <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2. See the file COPYING for more details.
  */
 
 #include <linux/types.h>
lib/crc16.c +1 -3
@@ -1,8 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *      crc16.c
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2. See the file COPYING for more details.
  */
 
 #include <linux/types.h>
lib/crc4.c +1 -3
@@ -1,8 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * crc4.c - simple crc-4 calculations.
- *
- * This source code is licensed under the GNU General Public License, Version
- * 2. See the file COPYING for more details.
  */
 
 #include <linux/crc4.h>
lib/crc7.c +1 -3
@@ -1,8 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *      crc7.c
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2. See the file COPYING for more details.
  */
 
 #include <linux/types.h>
lib/genalloc.c +1 -3
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Basic general purpose allocator for managing special purpose
  * memory, for example, memory that is not managed by the regular
@@ -23,9 +24,6 @@
  * CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG.
  *
  * Copyright 2005 (C) Jes Sorensen <[email protected]>
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 #include <linux/slab.h>
lib/parser.c +1 -3
@@ -1,8 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * lib/parser.c - simple parser for mount, etc. options.
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 
 #include <linux/ctype.h>
lib/scatterlist.c +1 -3
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2007 Jens Axboe <[email protected]>
  *
  * Scatterlist handling helpers.
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2. See the file COPYING for more details.
  */
 #include <linux/export.h>
 #include <linux/slab.h>
lib/sg_split.c +1 -3
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2015 Robert Jarzmik <[email protected]>
  *
  * Scatterlist splitting helpers.
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2. See the file COPYING for more details.
  */
 
 #include <linux/scatterlist.h>
net/netfilter/nf_conntrack_h323_asn1.c +1 -3
@@ -1,13 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * ip_conntrack_helper_h323_asn1.c - BER and PER decoding library for H.323
  * 			      	     conntrack/NAT module.
  *
  * Copyright (c) 2006 by Jing Min Zhao <[email protected]>
  *
- * This source code is licensed under General Public License version 2.
- *
  * See ip_conntrack_helper_h323_asn1.h for details.
- *
  */
 
 #ifdef __KERNEL__
tools/lib/bitmap.c +1 -3
@@ -1,9 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * From lib/bitmap.c
  * Helper functions for bitmap.h.
- *
- * This source code is licensed under the GNU General Public License,
- * Version 2.  See the file COPYING for more details.
  */
 #include <linux/bitmap.h>
 
Reviewed-by on v1 5/25
#22 lore raw

RE: [Batch 16 patch 05/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 230

In reply to Thomas Gleixner
Quoted 20 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 05/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 230

From: Thomas Gleixner [email protected]

Based on 2 normalized pattern(s):

this source code is licensed under the gnu general public license version 2 see the file copying for more details

this source code is licensed under general public license version 2 see

extracted by the scancode license scanner the SPDX license identifier

Quoted 8 lines

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=e482bdc1dbe1

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

Reviewed-by on v1 5/25
#23 lore raw

Re: [Batch 16 patch 05/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 230

In reply to Thomas Gleixner
Quoted 10 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 2 normalized pattern(s):

this source code is licensed under the gnu general public license version 2 see the file copying for more details

this source code is licensed under general public license version 2 see

Quoted 7 lines

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

#24 lore raw

PATCH 6/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 231

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this library is free software you can redistribute it and or modify it under the terms of the gnu general public license v2 as published by the free software foundation this library 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 lesser general public license for more details you should have received a copy of the gnu lesser general public license along with this library if not write to the free software foundation inc 59 temple place suite 330 boston ma 02111 1307 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).

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=16c652dd52fe

---
 fs/cifs/smb1ops.c |   14 +-------------
 fs/cifs/smb2ops.c |   13 -------------
 2 files changed, 1 insertion(+), 26 deletions(-)
fs/cifs/smb1ops.c +1 -13
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  SMB1 (CIFS) version specific operations
  *
  *  Copyright (c) 2012, Jeff Layton <[email protected]>
- *
- *  This library is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License v2 as published
- *  by the Free Software Foundation.
- *
- *  This library 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 Lesser General Public License for more details.
- *
- *  You should have received a copy of the GNU Lesser General Public License
- *  along with this library; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  */
 
 #include <linux/pagemap.h>
fs/cifs/smb2ops.c +0 -13
@@ -3,19 +3,6 @@
  *  SMB2 version specific operations
  *
  *  Copyright (c) 2012, Jeff Layton <[email protected]>
- *
- *  This library is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License v2 as published
- *  by the Free Software Foundation.
- *
- *  This library 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 Lesser General Public License for more details.
- *
- *  You should have received a copy of the GNU Lesser General Public License
- *  along with this library; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  */
 
 #include <linux/pagemap.h>
Reviewed-by on v1 6/25
#26 lore raw

RE: [Batch 16 patch 06/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 231

In reply to Thomas Gleixner
Quoted 63 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 06/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 231

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this library is free software you can redistribute it and or modify it under the terms of the gnu general public license v2 as published by the free software foundation this library 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 lesser general public license for more details you should have received a copy of the gnu lesser general public license along with this library if not write to the free software foundation inc 59 temple place suite 330 boston ma 02111 1307 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).

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-
spdx.git/commit/?h=batch16&id=16c652dd52fe

---
 fs/cifs/smb1ops.c |   14 +-------------
 fs/cifs/smb2ops.c |   13 -------------
 2 files changed, 1 insertion(+), 26 deletions(-)
fs/cifs/smb1ops.c +1 -11
@@ -1,20 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  SMB1 (CIFS) version specific operations
  *
  *  Copyright (c) 2012, Jeff Layton <[email protected]>
- *
- *  This library is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License v2 as published
- *  by the Free Software Foundation.
- *
- *  This library 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 Lesser General Public License for more details.
- *
- *  You should have received a copy of the GNU Lesser General Public

License
- * along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

Quoted 1 line

#include <linux/pagemap.h>

The first paragraph says GPL-2.0, but the other two paragraphs talk about LGPL!

I think we can still treat it as GPL.

-- zvr -
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

Reviewed-by
#27 lore raw

Re: [Batch 16 patch 06/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 231

Quoted 12 lines · Alexios
Quoted 11 lines

Based on 1 normalized pattern(s):

this library is free software you can redistribute it and or modify it under the terms of the gnu general public license v2 as published by the free software foundation this library 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 lesser general public license for more details you should have received a copy of the gnu lesser general public license along with this library if not write to the free software foundation inc 59 temple place suite 330 boston ma 02111 1307 usa

Quoted 5 lines

The first paragraph says GPL-2.0, but the other two paragraphs talk about LGPL!

I think we can still treat it as GPL.

May want to hold for review, but I'm fine with it as is.

#28 lore raw

PATCH 7/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 232

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

licensed under the gnu general public license version 2 0 gplv2

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=36925a0552a0

---
 tools/bpf/bpf_asm.c        |    2 +-
 tools/bpf/bpf_dbg.c        |    2 +-
 tools/bpf/bpf_jit_disasm.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
tools/bpf/bpf_asm.c +1 -1
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Minimal BPF assembler
  *
@@ -16,7 +17,6 @@
  *    pretty print a C-like construct.
  *
  * Copyright 2013 Daniel Borkmann <[email protected]>
- * Licensed under the GNU General Public License, version 2.0 (GPLv2)
  */
 
 #include <stdbool.h>
tools/bpf/bpf_dbg.c +1 -1
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Minimal BPF debugger
  *
@@ -28,7 +29,6 @@
  *  7) > step [-<n>, +<n>] (performs single stepping through the BPF)
  *
  * Copyright 2013 Daniel Borkmann <[email protected]>
- * Licensed under the GNU General Public License, version 2.0 (GPLv2)
  */
 
 #include <stdio.h>
tools/bpf/bpf_jit_disasm.c +1 -1
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Minimal BPF JIT image disassembler
  *
@@ -11,7 +12,6 @@
  *  3) Run e.g. `bpf_jit_disasm -o` to read out the last JIT code
  *
  * Copyright 2013 Daniel Borkmann <[email protected]>
- * Licensed under the GNU General Public License, version 2.0 (GPLv2)
  */
 
 #include <stdint.h>
#29 lore raw

Re: [Batch 16 patch 07/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 232

Quoted 6 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

licensed under the gnu general public license version 2 0 gplv2

Quoted 7 lines

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

Signature · 2 lines
Armijn Hemel, MSc
Tjaldur Software Governance Solutions
Reviewed-by Enrico Weigelt on v1 7/25
#30 lore raw

Re: [Batch 16 patch 07/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 232

In reply to Thomas Gleixner
Quoted 62 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

licensed under the gnu general public license version 2 0 gplv2

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=36925a0552a0

---
 tools/bpf/bpf_asm.c        |    2 +-
 tools/bpf/bpf_dbg.c        |    2 +-
 tools/bpf/bpf_jit_disasm.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
tools/bpf/bpf_asm.c +1 -1
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Minimal BPF assembler
  *
@@ -16,7 +17,6 @@
  *    pretty print a C-like construct.
  *
  * Copyright 2013 Daniel Borkmann <[email protected]>
- * Licensed under the GNU General Public License, version 2.0 (GPLv2)
  */
 
 #include <stdbool.h>
tools/bpf/bpf_dbg.c +1 -1
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Minimal BPF debugger
  *
@@ -28,7 +29,6 @@
  *  7) > step [-<n>, +<n>] (performs single stepping through the BPF)
  *
  * Copyright 2013 Daniel Borkmann <[email protected]>
- * Licensed under the GNU General Public License, version 2.0 (GPLv2)
  */
 
 #include <stdio.h>
tools/bpf/bpf_jit_disasm.c +1 -0
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Minimal BPF JIT image disassembler
  *

tools/bpf/bpf_jit_disasm.c line 17

Quoted 7 lines
tools/bpf/bpf_jit_disasm.c +0 -1
@@ -11,7 +12,6 @@
  *  3) Run e.g. `bpf_jit_disasm -o` to read out the last JIT code
  *
  * Copyright 2013 Daniel Borkmann <[email protected]>
- * Licensed under the GNU General Public License, version 2.0 (GPLv2)
  */
 
 #include <stdint.h>
Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
Reviewed-by on v1 7/25
#31 lore raw

RE: [Batch 16 patch 07/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 232

In reply to Thomas Gleixner
Quoted 16 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 07/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 232

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

licensed under the gnu general public license version 2 0 gplv2

extracted by the scancode license scanner the SPDX license identifier

Quoted 8 lines

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=36925a0552a0

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

Reviewed-by on v1 7/25
#32 lore raw

Re: [Batch 16 patch 07/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 232

In reply to Thomas Gleixner
Quoted 6 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

licensed under the gnu general public license version 2 0 gplv2

Quoted 7 lines

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

#33 lore raw

PATCH 8/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 233

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this software is licensed under the terms of the gnu general public license version 2 as published by the free software foundation and may be copied distributed and modified under those terms

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=141088e6ab1d

---
 drivers/extcon/extcon-max3355.c              |    5 +----
 drivers/gpio/gpio-reg.c                      |    5 +----
 drivers/gpio/gpio-tegra186.c                 |    5 +----
 drivers/i2c/busses/i2c-axxia.c               |    5 +----
 drivers/input/touchscreen/elants_i2c.c       |    5 +----
 include/dt-bindings/clock/lsi,axm5516-clks.h |    5 +----
 6 files changed, 6 insertions(+), 24 deletions(-)
drivers/extcon/extcon-max3355.c +1 -4
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Maxim Integrated MAX3355 USB OTG chip extcon driver
  *
  * Copyright (C)  2014-2015 Cogent Embedded, Inc.
  * Author: Sergei Shtylyov <[email protected]>
- *
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
  */
 
 #include <linux/extcon-provider.h>
drivers/gpio/gpio-reg.c +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * gpio-reg: single register individually fixed-direction GPIOs
  *
  * Copyright (C) 2016 Russell King
- *
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
  */
 #include <linux/gpio/driver.h>
 #include <linux/gpio/gpio-reg.h>
drivers/gpio/gpio-tegra186.c +1 -4
@@ -1,11 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (c) 2016-2017 NVIDIA Corporation
  *
  * Author: Thierry Reding <[email protected]>
- *
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
  */
 
 #include <linux/gpio/driver.h>
drivers/i2c/busses/i2c-axxia.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * This driver implements I2C master functionality using the LSI API2C
  * controller.
@@ -5,10 +6,6 @@
  * NOTE: The controller has a limitation in that it can only do transfers of
  * maximum 255 bytes at a time. If a larger transfer is attempted, error code
  * (-EINVAL) is returned.
- *
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
  */
 #include <linux/clk.h>
 #include <linux/clkdev.h>
drivers/input/touchscreen/elants_i2c.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Elan Microelectronics touch panels with I2C interface
  *
@@ -10,7 +11,6 @@
  *  Copyright (c) 2010-2012 Benjamin Tissoires <[email protected]>
  *  Copyright (c) 2010-2012 Ecole Nationale de l'Aviation Civile, France
  *
- *
  * This code is partly based on i2c-hid.c:
  *
  * Copyright (c) 2012 Benjamin Tissoires <[email protected]>
@@ -19,9 +19,6 @@
  */
 
 /*
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
  */
 
 #include <linux/module.h>
include/dt-bindings/clock/lsi,axm5516-clks.h +1 -4
@@ -1,9 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (c) 2014 LSI Corporation
- *
- * This software is licensed under the terms of the GNU General Public
- * License version 2, as published by the Free Software Foundation, and
- * may be copied, distributed, and modified under those terms.
  */
 
 #ifndef _DT_BINDINGS_CLK_AXM5516_H
#34 lore raw

Re: [Batch 16 patch 08/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 233

Quoted 8 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this software is licensed under the terms of the gnu general public license version 2 as published by the free software foundation and may be copied distributed and modified under those terms

Quoted 7 lines

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

Signature · 2 lines
Armijn Hemel, MSc
Tjaldur Software Governance Solutions
#35 lore raw

Re: [Batch 16 patch 08/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 233

Quoted 11 lines · Armijn Hemel - Tjaldur Software Governance Solutions
Quoted 10 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this software is licensed under the terms of the gnu general public license version 2 as published by the free software foundation and may be copied distributed and modified under those terms

extracted by the scancode license scanner the SPDX license identifier

Quoted 8 lines
Quoted 5 lines

GPL-2.0-only

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

Nak for drivers/input/touchscreen/elants_i2c.c.

This has to be done manually, as it would leave some garbage. I'll send patch in a few minutes.

--mtx

Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
maintainer
#36 lore raw

Re: [Batch 16 patch 08/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 233

Quoted 15 lines · metux IT consult
Quoted 13 lines · Armijn Hemel - Tjaldur Software Governance Solutions
Quoted 12 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this software is licensed under the terms of the gnu general public license version 2 as published by the free software foundation and may be copied distributed and modified under those terms

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

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

Nak for drivers/input/touchscreen/elants_i2c.c.

Was the patch incorrect?

Quoted 2 lines

This has to be done manually, as it would leave some garbage. I'll send patch in a few minutes.

Garbage where?

That's the problem when you do not properly quote the relevant patch text in an email :(

thanks,

greg k-h

#37 lore raw

Re: [Batch 16 patch 08/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 233

Quoted 18 lines · Greg KH
Quoted 17 lines · metux IT consult
Quoted 15 lines · Armijn Hemel - Tjaldur Software Governance Solutions
Quoted 14 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this software is licensed under the terms of the gnu general public license version 2 as published by the free software foundation and may be copied distributed and modified under those terms

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Nak for drivers/input/touchscreen/elants_i2c.c.

Was the patch incorrect?

Not necessarily incorrect, but not so nice looking.

Quoted 5 lines
Quoted 3 lines

This has to be done manually, as it would leave some garbage. I'll send patch in a few minutes.

Garbage where?

Leaves in some:

/*
*/

Did you receive my patch on that ?
(not sure whether these mails pass the list - coming from a different sender address)

--mtx

Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
#38 lore raw

Re: [Batch 16 patch 08/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 233

Quoted 7 lines · metux IT consult
Quoted 4 lines · Greg KH
Quoted 1 line · metux IT consult

Nak for drivers/input/touchscreen/elants_i2c.c.

Was the patch incorrect?

Not necessarily incorrect, but not so nice looking.

That's hardly a reason for a NAK. This is a shortcoming of the patcher, which has been pointed out already and I have a script which fixes those up before generating the final set for Greg to apply. Could have done before posting, but forgot.

Thanks,

tglx

Reviewed-by on v1 8/25
#39 lore raw

RE: [Batch 16 patch 08/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 233

In reply to Thomas Gleixner
Quoted 18 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 08/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 233

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this software is licensed under the terms of the gnu general public license version 2 as published by the free software foundation and may be copied distributed and modified under those terms

extracted by the scancode license scanner the SPDX license identifier

Quoted 8 lines

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=141088e6ab1d

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

Reviewed-by on v1 8/25
#40 lore raw

Re: [Batch 16 patch 08/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 233

In reply to Thomas Gleixner
Quoted 8 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this software is licensed under the terms of the gnu general public license version 2 as published by the free software foundation and may be copied distributed and modified under those terms

Quoted 7 lines

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

#41 lore raw

PATCH 9/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

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

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=dc394a8383a1

---
 arch/arm/include/asm/arch_gicv3.h                                |   13 --------
 arch/arm/include/asm/arm-cci.h                                   |   13 --------
 arch/arm/include/asm/kvm_hyp.h                                   |   13 --------
 arch/arm/include/asm/stage2_pgtable.h                            |   13 --------
 arch/arm/include/asm/vdso_datapage.h                             |   13 --------
 arch/arm/kernel/vdso.c                                           |   13 --------
 arch/arm/kvm/hyp/banked-sr.c                                     |   13 --------
 arch/arm/kvm/hyp/cp15-sr.c                                       |   13 --------
 arch/arm/kvm/hyp/entry.S                                         |   13 --------
 arch/arm/kvm/hyp/s2-setup.c                                      |   13 --------
 arch/arm/kvm/hyp/switch.c                                        |   13 --------
 arch/arm/kvm/hyp/tlb.c                                           |   13 --------
 arch/arm/kvm/hyp/vfp.S                                           |   13 --------
 arch/arm/mach-omap2/display.h                                    |   13 --------
 arch/arm/vdso/vdso.S                                             |   13 --------
 arch/arm/vdso/vdso.lds.S                                         |   13 --------
 arch/arm64/include/asm/arch_gicv3.h                              |   13 --------
 arch/arm64/include/asm/arch_timer.h                              |   13 --------

<SNIP>

 arch/riscv/include/uapi/asm/hwcap.h                              |   13 --------
 arch/riscv/include/uapi/asm/ucontext.h                           |   13 --------
 arch/riscv/kernel/cpufeature.c                                   |   13 --------
 arch/riscv/kernel/smp.c                                          |   13 --------
 arch/riscv/kernel/vdso.c                                         |   13 --------
 crypto/sm3_generic.c                                             |   13 --------
 drivers/clocksource/dw_apb_timer_of.c                            |   13 --------
 drivers/crypto/stm32/stm32-hash.c                                |   16 ----------
 drivers/dma-buf/dma-buf.c                                        |   13 --------
 drivers/dma/at_xdmac.c                                           |   13 --------
 drivers/gpio/gpio-xgene.c                                        |   13 --------
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c                   |   13 --------
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c                     |   13 --------
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h                     |   13 --------
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c                 |   13 --------
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c                  |   13 --------
 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c                     |   13 --------
 drivers/gpu/drm/i2c/tda998x_drv.c                                |   13 --------
 drivers/gpu/drm/msm/adreno/a3xx_gpu.c                            |   13 --------
 drivers/gpu/drm/msm/adreno/a3xx_gpu.h                            |   13 --------

<SNIP>

 drivers/video/fbdev/omap2/omapfb/dss/overlay-sysfs.c             |   13 --------
 drivers/video/fbdev/omap2/omapfb/dss/overlay.c                   |   13 --------
 drivers/video/fbdev/omap2/omapfb/dss/pll.c                       |   13 --------
 drivers/video/fbdev/omap2/omapfb/dss/rfbi.c                      |   13 --------
 drivers/video/fbdev/omap2/omapfb/dss/sdi.c                       |   13 --------
 drivers/video/fbdev/omap2/omapfb/dss/venc.c                      |   13 --------
 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c                  |   13 --------
 drivers/video/fbdev/omap2/omapfb/omapfb-main.c                   |   13 --------
 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c                  |   13 --------
 drivers/video/fbdev/omap2/omapfb/omapfb.h                        |   13 --------
 include/clocksource/arm_arch_timer.h                             |   13 --------
 include/clocksource/samsung_pwm.h                                |   13 --------
 include/crypto/sm3_base.h                                        |   13 --------
 include/dt-bindings/mfd/atmel-flexcom.h                          |   13 --------
 include/kvm/arm_pmu.h                                            |   13 --------
 include/kvm/arm_psci.h                                           |   13 --------
 include/kvm/arm_vgic.h                                           |   13 --------
 include/linux/apple-gmux.h                                       |   13 --------
 include/linux/dma-buf.h                                          |   13 --------
 include/linux/dma-iommu.h                                        |   13 --------
 include/linux/input/cma3000.h                                    |   13 --------
 include/linux/irqchip/arm-gic-v3.h                               |   14 --------
 include/linux/irqchip/arm-gic-v4.h                               |   13 --------
 include/linux/irqchip/chained_irq.h                              |   13 --------
 include/linux/irqchip/irq-partition-percpu.h                     |   13 --------
 include/linux/mfd/atmel-hlcdc.h                                  |   13 --------
 include/linux/mfd/sky81452.h                                     |   13 --------
 include/linux/platform_data/dmtimer-omap.h                       |   13 --------
 include/linux/platform_data/sky81452-backlight.h                 |   13 --------
 include/linux/rtsx_usb.h                                         |   13 --------
 include/linux/uwb/debug-cmd.h                                    |   13 --------
 include/net/nfc/nci.h                                            |   14 --------
 include/net/nfc/nci_core.h                                       |   14 --------
 include/video/omap-panel-data.h                                  |   13 --------
 net/bluetooth/bnep/bnep.h                                        |   12 -------
 net/nfc/nci/core.c                                               |   14 --------
 net/nfc/nci/data.c                                               |   14 --------
 net/nfc/nci/hci.c                                                |   14 --------
 net/nfc/nci/lib.c                                                |   14 --------
 net/nfc/nci/ntf.c                                                |   14 --------
 net/nfc/nci/rsp.c                                                |   14 --------
 sound/soc/atmel/atmel-i2s.c                                      |   13 --------
 tools/arch/riscv/include/uapi/asm/bitsperlong.h                  |   13 --------
 virt/kvm/arm/aarch32.c                                           |   13 --------
 virt/kvm/arm/hyp/timer-sr.c                                      |   13 --------
 virt/kvm/arm/hyp/vgic-v3-sr.c                                    |   13 --------
 virt/kvm/arm/perf.c                                              |   13 --------
 virt/kvm/arm/pmu.c                                               |   13 --------
 virt/kvm/arm/psci.c                                              |   13 --------
 virt/kvm/arm/vgic/vgic-debug.c                                   |   13 --------
 virt/kvm/arm/vgic/vgic-init.c                                    |   13 --------
 virt/kvm/arm/vgic/vgic-irqfd.c                                   |   13 --------
 virt/kvm/arm/vgic/vgic-its.c                                     |   13 --------
 virt/kvm/arm/vgic/vgic-mmio.h                                    |   13 --------
 virt/kvm/arm/vgic/vgic-v2.c                                      |   13 --------
 virt/kvm/arm/vgic/vgic-v3.c                                      |   12 -------
 virt/kvm/arm/vgic/vgic-v4.c                                      |   13 --------
 virt/kvm/arm/vgic/vgic.c                                         |   13 --------
 virt/kvm/arm/vgic/vgic.h                                         |   13 --------
 503 files changed, 503 insertions(+), 6058 deletions(-)
arch/arm/include/asm/arch_gicv3.h +1 -12
@@ -1,19 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * arch/arm/include/asm/arch_gicv3.h
  *
  * Copyright (C) 2015 ARM Ltd.
- *
- * 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 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/>.
  */
 #ifndef __ASM_ARCH_GICV3_H
 #define __ASM_ARCH_GICV3_H
arch/arm/include/asm/arm-cci.h +1 -12
@@ -1,19 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * arch/arm/include/asm/arm-cci.h
  *
  * Copyright (C) 2015 ARM Ltd.
- *
- * 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 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/>.
  */
 
 #ifndef __ASM_ARM_CCI_H
arch/arm/include/asm/kvm_hyp.h +1 -12
@@ -1,18 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2015 - ARM Ltd
  * Author: Marc Zyngier <[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.
- *
- * 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/>.
  */
 
 #ifndef __ARM_KVM_HYP_H__
arch/arm/include/asm/stage2_pgtable.h +1 -12
@@ -1,19 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2016 - ARM Ltd
  *
  * stage2 page table helpers
- *
- * 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 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/>.
  */
 
 #ifndef __ARM_S2_PGTABLE_H_
arch/arm/include/asm/vdso_datapage.h +1 -12
@@ -1,19 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Adapted from arm64 version.
  *
  * Copyright (C) 2012 ARM Limited
- *
- * 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 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/>.
  */
 #ifndef __ASM_VDSO_DATAPAGE_H
 #define __ASM_VDSO_DATAPAGE_H
arch/arm/kernel/vdso.c +1 -12
@@ -1,20 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Adapted from arm64 version.
  *
  * Copyright (C) 2012 ARM Limited
  * Copyright (C) 2015 Mentor Graphics 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.
- *
- * 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/>.
  */
 
 #include <linux/cache.h>
arch/arm/kvm/hyp/banked-sr.c +1 -12
@@ -1,21 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Original code:
  * Copyright (C) 2012 - Virtual Open Systems and Columbia University
  * Author: Christoffer Dall <[email protected]>
  *
  * Mostly rewritten in C by Marc Zyngier <[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.
- *
- * 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/>.
  */
 
 #include <asm/kvm_hyp.h>
arch/arm/kvm/hyp/cp15-sr.c +1 -12
@@ -1,21 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Original code:
  * Copyright (C) 2012 - Virtual Open Systems and Columbia University
  * Author: Christoffer Dall <[email protected]>
  *
  * Mostly rewritten in C by Marc Zyngier <[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.
- *
- * 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/>.
  */
 
 #include <asm/kvm_hyp.h>
arch/arm/kvm/hyp/entry.S +1 -12
@@ -1,18 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2016 - ARM Ltd
  * Author: Marc Zyngier <[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.
- *
- * 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/>.
 */
 
 #include <linux/linkage.h>
arch/arm/kvm/hyp/s2-setup.c +1 -12
@@ -1,18 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2016 - ARM Ltd
  * Author: Marc Zyngier <[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.
- *
- * 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/>.
  */
 
 #include <linux/types.h>
arch/arm/kvm/hyp/switch.c +1 -12
@@ -1,18 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2015 - ARM Ltd
  * Author: Marc Zyngier <[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.
- *
- * 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/>.
  */
 #include <linux/jump_label.h>
 
arch/arm/kvm/hyp/tlb.c +1 -12
@@ -1,21 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Original code:
  * Copyright (C) 2012 - Virtual Open Systems and Columbia University
  * Author: Christoffer Dall <[email protected]>
  *
  * Mostly rewritten in C by Marc Zyngier <[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.
- *
- * 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/>.
  */
 
 #include <asm/kvm_hyp.h>
arch/arm/kvm/hyp/vfp.S +1 -12
@@ -1,18 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2012 - Virtual Open Systems and Columbia University
  * Author: Christoffer Dall <[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.
- *
- * 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/>.
  */
 
 #include <linux/linkage.h>
arch/arm/mach-omap2/display.h +1 -12
@@ -1,19 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * display.h - OMAP2+ integration-specific DSS header
  *
  * Copyright (C) 2011 Texas Instruments, 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 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/>.
  */
 
 #ifndef __ARCH_ARM_MACH_OMAP2_DISPLAY_H
arch/arm/vdso/vdso.S +1 -12
@@ -1,20 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Adapted from arm64 version.
  *
  * Copyright (C) 2012 ARM Limited
  *
- * 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 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/>.
- *
  * Author: Will Deacon <[email protected]>
  */
 
arch/arm/vdso/vdso.lds.S +1 -12
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Adapted from arm64 version.
  *
@@ -5,18 +6,6 @@
  *
  * Copyright (C) 2012 ARM Limited
  *
- * 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 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/>.
- *
  * Author: Will Deacon <[email protected]>
  * Heavily based on the vDSO linker scripts for other archs.
  */
arch/arm64/include/asm/arch_gicv3.h +1 -12
@@ -1,19 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * arch/arm64/include/asm/arch_gicv3.h
  *
  * Copyright (C) 2015 ARM Ltd.
- *
- * 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 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/>.
  */
 #ifndef __ASM_ARCH_GICV3_H
 #define __ASM_ARCH_GICV3_H
arch/arm64/include/asm/arch_timer.h +1 -12
@@ -1,20 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * arch/arm64/include/asm/arch_timer.h
  *
  * Copyright (C) 2012 ARM Ltd.
  * Author: Marc Zyngier <[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.
- *
- * 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/>.
  */
 #ifndef __ASM_ARCH_TIMER_H
 #define __ASM_ARCH_TIMER_H
arch/arm64/include/asm/arm-cci.h +1 -12
@@ -1,19 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * arch/arm64/include/asm/arm-cci.h
  *
  * Copyright (C) 2015 ARM Ltd.
- *
- * 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 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/>.
  */
 
 #ifndef __ASM_ARM_CCI_H
arch/arm64/include/asm/asm-bug.h +1 -12
@@ -1,18 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 #ifndef __ASM_ASM_BUG_H
 /*
  * Copyright (C) 2017  ARM Limited
- *
- * 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 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/>.
  */
 #define __ASM_ASM_BUG_H
 
arch/arm64/include/asm/assembler.h +1 -12
@@ -1,20 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Based on arch/arm/include/asm/assembler.h, arch/arm/mm/proc-macros.S
  *
  * Copyright (C) 1996-2000 Russell King
  * Copyright (C) 2012 ARM Ltd.
- *
- * 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 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/>.
  */
 #ifndef __ASSEMBLY__
 #error "Only include this from assembly code"
arch/arm64/include/asm/atomic.h +1 -12
@@ -1,21 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Based on arch/arm/include/asm/atomic.h
  *
  * Copyright (C) 1996 Russell King.
  * Copyright (C) 2002 Deep Blue Solutions Ltd.
  * Copyright (C) 2012 ARM Ltd.
- *
- * 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 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/>.
  */
 #ifndef __ASM_ATOMIC_H
 #define __ASM_ATOMIC_H
arch/arm64/include/asm/atomic_ll_sc.h +1 -12
@@ -1,21 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Based on arch/arm/include/asm/atomic.h
  *
  * Copyright (C) 1996 Russell King.
  * Copyright (C) 2002 Deep Blue Solutions Ltd.
  * Copyright (C) 2012 ARM Ltd.
- *
- * 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 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/>.
  */
 
 #ifndef __ASM_ATOMIC_LL_SC_H
arch/arm64/include/asm/atomic_lse.h +1 -12
@@ -1,21 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Based on arch/arm/include/asm/atomic.h
  *
  * Copyright (C) 1996 Russell King.
  * Copyright (C) 2002 Deep Blue Solutions Ltd.
  * Copyright (C) 2012 ARM Ltd.
- *
- * 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 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/>.
  */
 
 #ifndef __ASM_ATOMIC_LSE_H
arch/arm64/include/asm/barrier.h +1 -12
@@ -1,19 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Based on arch/arm/include/asm/barrier.h
  *
  * Copyright (C) 2012 ARM Ltd.
- *
- * 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 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/>.
  */
 #ifndef __ASM_BARRIER_H
 #define __ASM_BARRIER_H
arch/arm64/include/asm/bitops.h +1 -12
@@ -1,17 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2012 ARM Ltd.
- *
- * 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 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/>.
  */
 #ifndef __ASM_BITOPS_H
 #define __ASM_BITOPS_H
arch/arm64/include/asm/bug.h +1 -12
@@ -1,18 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2015  ARM Limited
  * Author: Dave Martin <[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.
- *
- * 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/>.
  */
 
 #ifndef _ARCH_ARM64_ASM_BUG_H
arch/arm64/include/asm/cache.h +1 -12
@@ -1,17 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2012 ARM Ltd.
- *
- * 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 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/>.
  */
 #ifndef __ASM_CACHE_H
 #define __ASM_CACHE_H
arch/arm64/include/asm/cacheflush.h +1 -12
@@ -1,20 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Based on arch/arm/include/asm/cacheflush.h
  *
  * Copyright (C) 1999-2002 Russell King.
  * Copyright (C) 2012 ARM Ltd.
- *
- * 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 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/>.
  */
 #ifndef __ASM_CACHEFLUSH_H
 #define __ASM_CACHEFLUSH_H
arch/arm64/include/asm/checksum.h +1 -9
@@ -1,17 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2016 ARM Ltd.
- *
- * 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 the
- * GNU General Public License for more details.
 
 
Reviewed-by on v1 9/25
#43 lore raw

RE: [Batch 16 patch 09/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234

In reply to Thomas Gleixner
Quoted 24 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 09/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234

From: Thomas Gleixner [email protected]

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

extracted by the scancode license scanner the SPDX license identifier

Quoted 8 lines

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=dc394a8383a1

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

Reviewed-by on v1 9/25
#44 lore raw

Re: [Batch 16 patch 09/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234

In reply to Thomas Gleixner
Quoted 14 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

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

Quoted 7 lines

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

#45 lore raw

PATCH 10/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

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

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=a5f7375251e1

---
 drivers/ata/ahci_seattle.c                       |   10 +---------
 drivers/cpufreq/sfi-cpufreq.c                    |   10 +---------
 drivers/gpu/drm/rockchip/cdn-dp-core.h           |   10 +---------
 drivers/i2c/busses/i2c-simtec.c                  |   10 +---------
 drivers/media/usb/pvrusb2/pvrusb2-audio.c        |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-audio.h        |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-context.c      |   11 +----------
 drivers/media/usb/pvrusb2/pvrusb2-context.h      |   11 +----------
 drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.c     |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.h     |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c         |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-ctrl.h         |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-cx2584x-v4l.c  |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-cx2584x-v4l.h  |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-debug.h        |   11 +----------
 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c     |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-debugifc.h     |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-devattr.c      |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-devattr.h      |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-dvb.c          |   11 +----------
 drivers/media/usb/pvrusb2/pvrusb2-eeprom.c       |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-eeprom.h       |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-encoder.c      |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-encoder.h      |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-fx2-cmd.h      |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-hdw-internal.h |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-hdw.c          |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-hdw.h          |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c     |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.h     |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-io.c           |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-io.h           |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-ioread.c       |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-ioread.h       |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-main.c         |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-std.c          |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-std.h          |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c        |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-sysfs.h        |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-util.h         |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c         |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-v4l2.h         |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-video-v4l.c    |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-video-v4l.h    |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-wm8775.c       |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-wm8775.h       |   12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2.h              |   12 +-----------
 drivers/net/ethernet/alacritech/slicoss.c        |   11 +----------
 drivers/phy/rockchip/phy-rockchip-emmc.c         |   10 +---------
 drivers/phy/rockchip/phy-rockchip-pcie.c         |   10 +---------
 drivers/phy/rockchip/phy-rockchip-usb.c          |   10 +---------
 include/linux/kvm_irqfd.h                        |    9 +--------
 net/sched/sch_pie.c                              |   11 +----------
 53 files changed, 53 insertions(+), 560 deletions(-)
drivers/ata/ahci_seattle.c +1 -9
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * AMD Seattle AHCI SATA driver
  *
@@ -5,15 +6,6 @@
  * Author: Brijesh Singh <[email protected]>
  *
  * based on the AHCI SATA platform driver by Jeff Garzik and Anton Vorontsov
- *
- * 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.
  */
 
 #include <linux/kernel.h>
drivers/cpufreq/sfi-cpufreq.c +1 -9
@@ -1,15 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  SFI Performance States Driver
  *
- *  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.
- *
  *  Author: Vishwesh M Rudramuni <[email protected]>
  *  Author: Srinidhi Kasagar <[email protected]>
  */
drivers/gpu/drm/rockchip/cdn-dp-core.h +1 -9
@@ -1,15 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2016 Chris Zhong <[email protected]>
  * Copyright (C) 2016 ROCKCHIP, Inc.
- *
- * 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.
  */
 
 #ifndef _CDN_DP_CORE_H
drivers/i2c/busses/i2c-simtec.c +1 -9
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2005 Simtec Electronics
  *	Ben Dooks <[email protected]>
  *
  * Simtec Generic I2C Controller
- *
- * 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.
 */
 
 #include <linux/kernel.h>
drivers/media/usb/pvrusb2/pvrusb2-audio.c +1 -11
@@ -1,18 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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.
- *
  */
 
 #include "pvrusb2-audio.h"
drivers/media/usb/pvrusb2/pvrusb2-audio.h +1 -11
@@ -1,18 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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.
- *
  */
 
 #ifndef __PVRUSB2_AUDIO_H
drivers/media/usb/pvrusb2/pvrusb2-context.c +1 -10
@@ -1,16 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 
 #include "pvrusb2-context.h"
drivers/media/usb/pvrusb2/pvrusb2-context.h +1 -10
@@ -1,16 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_CONTEXT_H
 #define __PVRUSB2_CONTEXT_H
drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.c +1 -11
@@ -1,18 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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.
- *
  */
 
 /*
drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.h +1 -11
@@ -1,18 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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.
- *
  */
 
 #ifndef __PVRUSB2_CS53L32A_H
drivers/media/usb/pvrusb2/pvrusb2-ctrl.c +1 -11
@@ -1,17 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 
 #include "pvrusb2-ctrl.h"
drivers/media/usb/pvrusb2/pvrusb2-ctrl.h +1 -11
@@ -1,17 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_CTRL_H
 #define __PVRUSB2_CTRL_H
drivers/media/usb/pvrusb2/pvrusb2-cx2584x-v4l.c +1 -11
@@ -1,18 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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.
- *
  */
 
 /*
drivers/media/usb/pvrusb2/pvrusb2-cx2584x-v4l.h +1 -11
@@ -1,18 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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.
- *
  */
 
 #ifndef __PVRUSB2_CX2584X_V4L_H
drivers/media/usb/pvrusb2/pvrusb2-debug.h +1 -10
@@ -1,16 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_DEBUG_H
 #define __PVRUSB2_DEBUG_H
drivers/media/usb/pvrusb2/pvrusb2-debugifc.c +1 -11
@@ -1,17 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 
 #include <linux/string.h>
drivers/media/usb/pvrusb2/pvrusb2-debugifc.h +1 -11
@@ -1,17 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_DEBUGIFC_H
 #define __PVRUSB2_DEBUGIFC_H
drivers/media/usb/pvrusb2/pvrusb2-devattr.c +1 -11
@@ -1,17 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
- *
  *  Copyright (C) 2007 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 
 /*
drivers/media/usb/pvrusb2/pvrusb2-devattr.h +1 -11
@@ -1,17 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_DEVATTR_H
 #define __PVRUSB2_DEVATTR_H
drivers/media/usb/pvrusb2/pvrusb2-dvb.c +1 -10
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  pvrusb2-dvb.c - linux-dvb api interface to the pvrusb2 driver.
  *
  *  Copyright (C) 2007, 2008 Michael Krufky <[email protected]>
- *
- *  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.
- *
  */
 
 #include <linux/kthread.h>
drivers/media/usb/pvrusb2/pvrusb2-eeprom.c +1 -11
@@ -1,18 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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.
- *
  */
 
 #include <linux/slab.h>
drivers/media/usb/pvrusb2/pvrusb2-eeprom.h +1 -11
@@ -1,18 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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.
- *
  */
 
 #ifndef __PVRUSB2_EEPROM_H
drivers/media/usb/pvrusb2/pvrusb2-encoder.c +1 -11
@@ -1,18 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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.
- *
  */
 
 #include <linux/device.h>   // for linux/firmware.h
drivers/media/usb/pvrusb2/pvrusb2-encoder.h +1 -11
@@ -1,18 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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.
- *
  */
 
 #ifndef __PVRUSB2_ENCODER_H
drivers/media/usb/pvrusb2/pvrusb2-fx2-cmd.h +1 -11
@@ -1,17 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
- *
  *  Copyright (C) 2007 Michael Krufky <[email protected]>
- *
- *  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.
- *
  */
 
 #ifndef _PVRUSB2_FX2_CMD_H_
drivers/media/usb/pvrusb2/pvrusb2-hdw-internal.h +1 -11
@@ -1,17 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_HDW_INTERNAL_H
 #define __PVRUSB2_HDW_INTERNAL_H
drivers/media/usb/pvrusb2/pvrusb2-hdw.c +1 -11
@@ -1,17 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 
 #include <linux/errno.h>
drivers/media/usb/pvrusb2/pvrusb2-hdw.h +1 -11
@@ -1,17 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_HDW_H
 #define __PVRUSB2_HDW_H
drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c +1 -11
@@ -1,17 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 
 #include <linux/i2c.h>
drivers/media/usb/pvrusb2/pvrusb2-i2c-core.h +1 -11
@@ -1,17 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_I2C_CORE_H
 #define __PVRUSB2_I2C_CORE_H
drivers/media/usb/pvrusb2/pvrusb2-io.c +1 -11
@@ -1,17 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 
 #include "pvrusb2-io.h"
drivers/media/usb/pvrusb2/pvrusb2-io.h +1 -11
@@ -1,17 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_IO_H
 #define __PVRUSB2_IO_H
drivers/media/usb/pvrusb2/pvrusb2-ioread.c +1 -11
@@ -1,17 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 
 #include "pvrusb2-ioread.h"
drivers/media/usb/pvrusb2/pvrusb2-ioread.h +1 -11
@@ -1,17 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_IOREAD_H
 #define __PVRUSB2_IOREAD_H
drivers/media/usb/pvrusb2/pvrusb2-main.c +1 -11
@@ -1,18 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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.
- *
  */
 
 #include <linux/kernel.h>
drivers/media/usb/pvrusb2/pvrusb2-std.c +1 -11
@@ -1,17 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 
 #include "pvrusb2-std.h"
drivers/media/usb/pvrusb2/pvrusb2-std.h +1 -11
@@ -1,17 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_STD_H
 #define __PVRUSB2_STD_H
drivers/media/usb/pvrusb2/pvrusb2-sysfs.c +1 -11
@@ -1,17 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 
 #include <linux/string.h>
drivers/media/usb/pvrusb2/pvrusb2-sysfs.h +1 -11
@@ -1,17 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_SYSFS_H
 #define __PVRUSB2_SYSFS_H
drivers/media/usb/pvrusb2/pvrusb2-util.h +1 -11
@@ -1,17 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_UTIL_H
 #define __PVRUSB2_UTIL_H

--- a/drivers/media/usb/pvrusb2/pvrusb2-v4l2.c

#46 lore raw

Re: [Batch 16 patch 10/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235

On 03.06.19 07:44, Thomas Gleixner wrote:

hi folks,

drivers/media/usb/pvrusb2/pvrusb2-audio.c line 3

Quoted 7 lines
drivers/media/usb/pvrusb2/pvrusb2-audio.c +1 -1
@@ -1,18 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
- *

maybe we should take away the other empty line, too ?

drivers/media/usb/pvrusb2/pvrusb2-audio.h line 3

Quoted 7 lines
drivers/media/usb/pvrusb2/pvrusb2-audio.h +1 -1
@@ -1,18 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *
- *

same here.

drivers/media/usb/pvrusb2/pvrusb2-context.c line 3

Quoted 6 lines
drivers/media/usb/pvrusb2/pvrusb2-context.c +1 -0
@@ -1,16 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *

here too ?

Quoted 17 lines
drivers/media/usb/pvrusb2/pvrusb2-context.c +0 -10
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 
 #include "pvrusb2-context.h"

drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.c line 3

Quoted 4 lines
drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.c +1 -1
@@ -1,18 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *
- *

and here

Quoted 5 lines
drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.c +0 -3
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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

drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.c line 8

Quoted 10 lines
drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.c +0 -7
- *  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.
- *
  */
 
 /*

--mtx

Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287

A message that is not in the archive (sent off-list or not yet received): [email protected]

#48 lore raw

PATCH 1/1 treewide: refined: Replace GPLv2 boilerplate/reference with SPDX - rule 235

This is a manually refined version of the original patch, which also removes some empty comment lines which tglx's bot didn't catch yet. Original commit message below.

Original-Author: Thomas Gleixner <[email protected]>

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

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

---
 drivers/ata/ahci_seattle.c                       | 10 +---------
 drivers/cpufreq/sfi-cpufreq.c                    | 10 +---------
 drivers/gpu/drm/rockchip/cdn-dp-core.h           | 10 +---------
 drivers/i2c/busses/i2c-simtec.c                  | 10 +---------
 drivers/media/usb/pvrusb2/pvrusb2-audio.c        | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-audio.h        | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-context.c      | 12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-context.h      | 12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.c     | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.h     | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c         | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-ctrl.h         | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-cx2584x-v4l.c  | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-cx2584x-v4l.h  | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-debug.h        | 12 +-----------
 drivers/media/usb/pvrusb2/pvrusb2-debugifc.c     | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-debugifc.h     | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-devattr.c      | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-devattr.h      | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-dvb.c          | 11 +----------
 drivers/media/usb/pvrusb2/pvrusb2-eeprom.c       | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-eeprom.h       | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-encoder.c      | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-encoder.h      | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-fx2-cmd.h      | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-hdw-internal.h | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-hdw.c          | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-hdw.h          | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c     | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.h     | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-io.c           | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-io.h           | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-ioread.c       | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-ioread.h       | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-main.c         | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-std.c          | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-std.h          | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c        | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-sysfs.h        | 13 +------------
 drivers/media/usb/pvrusb2/pvrusb2-util.h         | 13 +------------
 40 files changed, 40 insertions(+), 463 deletions(-)
drivers/ata/ahci_seattle.c +1 -9
index e57b6f9..ced12705 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * AMD Seattle AHCI SATA driver
  *
@@ -5,15 +6,6 @@
  * Author: Brijesh Singh <[email protected]>
  *
  * based on the AHCI SATA platform driver by Jeff Garzik and Anton Vorontsov
- *
- * 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.
  */
 
 #include <linux/kernel.h>
drivers/cpufreq/sfi-cpufreq.c +1 -9
index 9787704..45cfdf6 100644
@@ -1,15 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  SFI Performance States Driver
  *
- *  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.
- *
  *  Author: Vishwesh M Rudramuni <[email protected]>
  *  Author: Srinidhi Kasagar <[email protected]>
  */
drivers/gpu/drm/rockchip/cdn-dp-core.h +1 -9
index 48fef95..f18a01e 100644
@@ -1,15 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Copyright (C) 2016 Chris Zhong <[email protected]>
  * Copyright (C) 2016 ROCKCHIP, Inc.
- *
- * 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.
  */
 
 #ifndef _CDN_DP_CORE_H
drivers/i2c/busses/i2c-simtec.c +1 -9
index adca51a..458c7bc 100644
@@ -1,17 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2005 Simtec Electronics
  *	Ben Dooks <[email protected]>
  *
  * Simtec Generic I2C Controller
- *
- * 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.
 */
 
 #include <linux/kernel.h>
drivers/media/usb/pvrusb2/pvrusb2-audio.c +1 -12
index 356afa2..f2b3f2d 100644
@@ -1,18 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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.
- *
  */
 
 #include "pvrusb2-audio.h"
drivers/media/usb/pvrusb2/pvrusb2-audio.h +1 -12
index 4f38984..af8f443 100644
@@ -1,18 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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.
- *
  */
 
 #ifndef __PVRUSB2_AUDIO_H
drivers/media/usb/pvrusb2/pvrusb2-context.c +1 -11
index d9e8481..0232eb1 100644
@@ -1,16 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 
 #include "pvrusb2-context.h"
drivers/media/usb/pvrusb2/pvrusb2-context.h +1 -11
index 13e00c5..7d86aaa 100644
@@ -1,16 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_CONTEXT_H
 #define __PVRUSB2_CONTEXT_H
drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.c +1 -12
index 679f3ff..7f59d22 100644
@@ -1,18 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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.
- *
  */
 
 /*
drivers/media/usb/pvrusb2/pvrusb2-cs53l32a.h +1 -12
index 90dfb8b..5960f23 100644
@@ -1,18 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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.
- *
  */
 
 #ifndef __PVRUSB2_CS53L32A_H
drivers/media/usb/pvrusb2/pvrusb2-ctrl.c +1 -12
index 5f4ba84..e8f5021 100644
@@ -1,17 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 
 #include "pvrusb2-ctrl.h"
drivers/media/usb/pvrusb2/pvrusb2-ctrl.h +1 -12
index 4b9152e..79e1a59 100644
@@ -1,17 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_CTRL_H
 #define __PVRUSB2_CTRL_H
drivers/media/usb/pvrusb2/pvrusb2-cx2584x-v4l.c +1 -12
index d5bec0f..6a2e0d6 100644
@@ -1,18 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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.
- *
  */
 
 /*
drivers/media/usb/pvrusb2/pvrusb2-cx2584x-v4l.h +1 -12
index dfddc88..bce4967 100644
@@ -1,18 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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.
- *
  */
 
 #ifndef __PVRUSB2_CX2584X_V4L_H
drivers/media/usb/pvrusb2/pvrusb2-debug.h +1 -11
index 1323f94..124bd82 100644
@@ -1,16 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_DEBUG_H
 #define __PVRUSB2_DEBUG_H
drivers/media/usb/pvrusb2/pvrusb2-debugifc.c +1 -12
index d3f3bd9..03569e7 100644
@@ -1,17 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 
 #include <linux/string.h>
drivers/media/usb/pvrusb2/pvrusb2-debugifc.h +1 -12
index fcaaa8d..e55f001 100644
@@ -1,17 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_DEBUGIFC_H
 #define __PVRUSB2_DEBUGIFC_H
drivers/media/usb/pvrusb2/pvrusb2-devattr.c +1 -12
index 06de1c8..0bd9b3c 100644
@@ -1,17 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
- *
- *
  *  Copyright (C) 2007 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 
 /*
drivers/media/usb/pvrusb2/pvrusb2-devattr.h +1 -12
index c1e7d48..29e0943 100644
@@ -1,17 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_DEVATTR_H
 #define __PVRUSB2_DEVATTR_H
drivers/media/usb/pvrusb2/pvrusb2-dvb.c +1 -10
index 4b32b21..d8874a9 100644
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  pvrusb2-dvb.c - linux-dvb api interface to the pvrusb2 driver.
  *
  *  Copyright (C) 2007, 2008 Michael Krufky <[email protected]>
- *
- *  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.
- *
  */
 
 #include <linux/kthread.h>
drivers/media/usb/pvrusb2/pvrusb2-eeprom.c +1 -12
index 8b643d5..dff01d5 100644
@@ -1,18 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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.
- *
  */
 
 #include <linux/slab.h>
drivers/media/usb/pvrusb2/pvrusb2-eeprom.h +1 -12
index 1d81cac3..549bfc1 100644
@@ -1,18 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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.
- *
  */
 
 #ifndef __PVRUSB2_EEPROM_H
drivers/media/usb/pvrusb2/pvrusb2-encoder.c +1 -12
index 43e4340..34f2ff2 100644
@@ -1,18 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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.
- *
  */
 
 #include <linux/device.h>   // for linux/firmware.h
drivers/media/usb/pvrusb2/pvrusb2-encoder.h +1 -12
index 10d7f0b..2e00967 100644
@@ -1,18 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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.
- *
  */
 
 #ifndef __PVRUSB2_ENCODER_H
drivers/media/usb/pvrusb2/pvrusb2-fx2-cmd.h +1 -12
index 0a01de4..5b97cd5 100644
@@ -1,17 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
- *
- *
  *  Copyright (C) 2007 Michael Krufky <[email protected]>
- *
- *  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.
- *
  */
 
 #ifndef _PVRUSB2_FX2_CMD_H_
drivers/media/usb/pvrusb2/pvrusb2-hdw-internal.h +1 -12
index 7a82419..026f724 100644
@@ -1,17 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_HDW_INTERNAL_H
 #define __PVRUSB2_HDW_INTERNAL_H
drivers/media/usb/pvrusb2/pvrusb2-hdw.c +1 -12
index 816c857..8ef899c 100644
@@ -1,17 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 
 #include <linux/errno.h>
drivers/media/usb/pvrusb2/pvrusb2-hdw.h +1 -12
index bd2b7a6..381bf39 100644
@@ -1,17 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_HDW_H
 #define __PVRUSB2_HDW_H
drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c +1 -12
index 8f02308..b5258b4 100644
@@ -1,17 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 
 #include <linux/i2c.h>
drivers/media/usb/pvrusb2/pvrusb2-i2c-core.h +1 -12
index 1c44dee..d43a197 100644
@@ -1,17 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_I2C_CORE_H
 #define __PVRUSB2_I2C_CORE_H
drivers/media/usb/pvrusb2/pvrusb2-io.c +1 -12
index 6d153fc..21a9076 100644
@@ -1,17 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 
 #include "pvrusb2-io.h"
drivers/media/usb/pvrusb2/pvrusb2-io.h +1 -12
index e769aeb..655f468 100644
@@ -1,17 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_IO_H
 #define __PVRUSB2_IO_H
drivers/media/usb/pvrusb2/pvrusb2-ioread.c +1 -12
index 602097b..9f62845 100644
@@ -1,17 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 
 #include "pvrusb2-ioread.h"
drivers/media/usb/pvrusb2/pvrusb2-ioread.h +1 -12
index 5827ea0..a0905d9 100644
@@ -1,17 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_IOREAD_H
 #define __PVRUSB2_IOREAD_H
drivers/media/usb/pvrusb2/pvrusb2-main.c +1 -12
index 23672dd..fd33acf 100644
@@ -1,18 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
  *  Copyright (C) 2004 Aurelien Alleaume <[email protected]>
- *
- *  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.
- *
  */
 
 #include <linux/kernel.h>
drivers/media/usb/pvrusb2/pvrusb2-std.c +1 -12
index 6b651f8..9c0ccf0 100644
@@ -1,17 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 
 #include "pvrusb2-std.h"
drivers/media/usb/pvrusb2/pvrusb2-std.h +1 -12
index b48304f..7e47d79 100644
@@ -1,17 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_STD_H
 #define __PVRUSB2_STD_H
drivers/media/usb/pvrusb2/pvrusb2-sysfs.c +1 -12
index 7bc6d09..d3481fd 100644
@@ -1,17 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 
 #include <linux/string.h>
drivers/media/usb/pvrusb2/pvrusb2-sysfs.h +1 -12
index 431f4fd..c1bf6ca 100644
@@ -1,17 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_SYSFS_H
 #define __PVRUSB2_SYSFS_H
drivers/media/usb/pvrusb2/pvrusb2-util.h +1 -12
index b03ca3e..131b760 100644
@@ -1,17 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
- *
- *
  *  Copyright (C) 2005 Mike Isely <[email protected]>
- *
- *  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.
- *
  */
 #ifndef __PVRUSB2_UTIL_H
 #define __PVRUSB2_UTIL_H
Signature · 1 line
1.9.1
maintainer
#49 lore raw

Re: [PATCH] treewide: refined: Replace GPLv2 boilerplate/reference with SPDX - rule 235

Quoted 7 lines · metux IT consult

This is a manually refined version of the original patch, which also removes some empty comment lines which tglx's bot didn't catch yet. Original commit message below.

Original-Author: Thomas Gleixner <[email protected]>

Those are not "normal" tags for a kernel git commit message, sorry. Just send your patch as a follow-on one and I will be glad to review it then.

thanks,

greg k-h

#50 lore raw

Re: [PATCH] treewide: refined: Replace GPLv2 boilerplate/reference with SPDX - rule 235

Quoted 10 lines · Greg KH
Quoted 7 lines · metux IT consult

This is a manually refined version of the original patch, which also removes some empty comment lines which tglx's bot didn't catch yet. Original commit message below.

Original-Author: Thomas Gleixner <[email protected]>

Those are not "normal" tags for a kernel git commit message, sorry.

I know, just added them to leave no room for misinterpretation, don't wanna steal any laurels from tglx ;-)

Quoted 2 lines

Just send your patch as a follow-on one and I will be glad to review it then.

okay.

--mtx

Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
#51 lore raw

Re: [PATCH] treewide: refined: Replace GPLv2 boilerplate/reference with SPDX - rule 235

In reply to Enrico Weigelt, metux IT consult
Quoted 2 lines · metux IT consult

This is a manually refined version of the original patch, which also removes some empty comment lines which tglx's bot didn't catch yet.

I have a script to fix that up. No need to do that manually. Forgot to run it before posting batch16, but will run it before generating the final set after sorting out all the 'needs more review' items.

Thanks,

tglx

#52 lore raw

Re: [PATCH] treewide: refined: Replace GPLv2 boilerplate/reference with SPDX - rule 235

Quoted 8 lines · Thomas Gleixner
Quoted 2 lines · metux IT consult

This is a manually refined version of the original patch, which also removes some empty comment lines which tglx's bot didn't catch yet.

I have a script to fix that up. No need to do that manually. Forgot to run it before posting batch16, but will run it before generating the final set after sorting out all the 'needs more review' items.

Great :)

Is it a separate script ? Could publish it ?

I think that might be a nice addition for checkpatch+friends - I'd like to extend it to check and possibly correct ugly comments, formatting errors, etc.

--mtx

Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
#53 lore raw

Re: [PATCH] treewide: refined: Replace GPLv2 boilerplate/reference with SPDX - rule 235

Quoted 3 lines · metux IT consult

I think that might be a nice addition for checkpatch+friends - I'd like to extend it to check and possibly correct ugly comments, formatting errors, etc.

Fixing up "ugly" comments should only be done on the drivers/staging/ tree, and people working there can do it "by hand" if they really want to. Don't annoy maintainers of other subsystems with changes like this, unless you want to be added to their mailbox kill-file.

thanks,

greg k-h

#54 lore raw

Re: [PATCH] treewide: refined: Replace GPLv2 boilerplate/reference with SPDX - rule 235

Quoted 4 lines · Greg KH

Fixing up "ugly" comments should only be done on the drivers/staging/ tree, and people working there can do it "by hand" if they really want to. Don't annoy maintainers of other subsystems with changes like this, unless you want to be added to their mailbox kill-file.

hmm, improving readability is not wanted ? and what about things like fixing formatting, etc ?

I've made the experience that some maintainers really welcomed that. (even though that's obviously on a low priority).

I'm a bit confused about that ...

--mtx

Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
#55 lore raw

Re: [PATCH] treewide: refined: Replace GPLv2 boilerplate/reference with SPDX - rule 235

Quoted 9 lines · metux IT consult
Quoted 4 lines · Greg KH

Fixing up "ugly" comments should only be done on the drivers/staging/ tree, and people working there can do it "by hand" if they really want to. Don't annoy maintainers of other subsystems with changes like this, unless you want to be added to their mailbox kill-file.

hmm, improving readability is not wanted ? and what about things like fixing formatting, etc ?

For some subsystems, that is not appreciated.

Quoted 2 lines

I've made the experience that some maintainers really welcomed that. (even though that's obviously on a low priority).

Again, it depends on the maintainer and the subsystem. The only place it is guaranteed that you can do this type of work is in driver/staging/ To do elsewhere is to risk annoying people, so I would not recommend it at all.

thanks,

greg k-h

#56 lore raw

Re: [PATCH] treewide: refined: Replace GPLv2 boilerplate/reference with SPDX - rule 235

In reply to Enrico Weigelt, metux IT consult
Quoted 9 lines · metux IT consult
Quoted 4 lines · Greg KH

Fixing up "ugly" comments should only be done on the drivers/staging/ tree, and people working there can do it "by hand" if they really want to. Don't annoy maintainers of other subsystems with changes like this, unless you want to be added to their mailbox kill-file.

hmm, improving readability is not wanted ? and what about things like fixing formatting, etc ?

I rather prefer people to read comments, try to make sense out of them and fix up the sloppy wording or the stale and misleading information. That's much more valuable than yet another spell checker exercise.

Thanks,

tglx

Reviewed-by on v1 10/25
#57 lore raw

RE: [Batch 16 patch 10/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235

In reply to Thomas Gleixner
Quoted 24 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 10/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235

From: Thomas Gleixner [email protected]

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

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

Quoted 7 lines

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-
spdx.git/commit/?h=batch16&id=a5f7375251e1

Another "either" that makes no sense...

-- zvr -

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

Reviewed-by on v1 10/25
#58 lore raw

Re: [Batch 16 patch 10/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235

In reply to Thomas Gleixner
Quoted 12 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

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

Quoted 7 lines

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

#59 lore raw

PATCH 11/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 236

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

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 all express or implied conditions representations and warranties including any implied warranty of merchantability fitness for a particular purpose or non infringement are disclaimed except to the extent that such disclaimers are held to be legally invalid see the gnu general public license for more details a copy of which can be found in the file copying included with this package

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=13304f592dc5

---
 drivers/scsi/be2iscsi/be_main.c    |   14 +-------------
 drivers/scsi/be2iscsi/be_mgmt.c    |   14 +-------------
 drivers/scsi/lpfc/Makefile         |   12 +-----------
 drivers/scsi/lpfc/lpfc.h           |   12 +-----------
 drivers/scsi/lpfc/lpfc_attr.c      |   12 +-----------
 drivers/scsi/lpfc/lpfc_attr.h      |   12 +-----------
 drivers/scsi/lpfc/lpfc_bsg.c       |   12 +-----------
 drivers/scsi/lpfc/lpfc_bsg.h       |   12 +-----------
 drivers/scsi/lpfc/lpfc_compat.h    |   12 +-----------
 drivers/scsi/lpfc/lpfc_crtn.h      |   12 +-----------
 drivers/scsi/lpfc/lpfc_ct.c        |   12 +-----------
 drivers/scsi/lpfc/lpfc_debugfs.c   |   12 +-----------
 drivers/scsi/lpfc/lpfc_debugfs.h   |   12 +-----------
 drivers/scsi/lpfc/lpfc_disc.h      |   12 +-----------
 drivers/scsi/lpfc/lpfc_els.c       |   12 +-----------
 drivers/scsi/lpfc/lpfc_hbadisc.c   |   12 +-----------
 drivers/scsi/lpfc/lpfc_hw.h        |   12 +-----------
 drivers/scsi/lpfc/lpfc_hw4.h       |   12 +-----------
 drivers/scsi/lpfc/lpfc_ids.h       |   12 +-----------
 drivers/scsi/lpfc/lpfc_init.c      |   12 +-----------
 drivers/scsi/lpfc/lpfc_logmsg.h    |   12 +-----------
 drivers/scsi/lpfc/lpfc_mbox.c      |   12 +-----------
 drivers/scsi/lpfc/lpfc_mem.c       |   12 +-----------
 drivers/scsi/lpfc/lpfc_nl.h        |   12 +-----------
 drivers/scsi/lpfc/lpfc_nportdisc.c |   12 +-----------
 drivers/scsi/lpfc/lpfc_nvme.c      |   12 +-----------
 drivers/scsi/lpfc/lpfc_nvme.h      |   12 +-----------
 drivers/scsi/lpfc/lpfc_nvmet.c     |   12 +-----------
 drivers/scsi/lpfc/lpfc_nvmet.h     |   12 +-----------
 drivers/scsi/lpfc/lpfc_scsi.c      |   12 +-----------
 drivers/scsi/lpfc/lpfc_scsi.h      |   12 +-----------
 drivers/scsi/lpfc/lpfc_sli.c       |   12 +-----------
 drivers/scsi/lpfc/lpfc_sli.h       |   12 +-----------
 drivers/scsi/lpfc/lpfc_sli4.h      |   12 +-----------
 drivers/scsi/lpfc/lpfc_version.h   |   12 +-----------
 drivers/scsi/lpfc/lpfc_vport.c     |   12 +-----------
 drivers/scsi/lpfc/lpfc_vport.h     |   12 +-----------
 37 files changed, 37 insertions(+), 411 deletions(-)
drivers/scsi/be2iscsi/be_main.c +1 -13
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * This file is part of the Emulex Linux Device Driver for Enterprise iSCSI
  * Host Bus Adapters. Refer to the README file included with this package
@@ -6,21 +7,8 @@
  * Copyright (c) 2018 Broadcom. All Rights Reserved.
  * The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.
  *
- * 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. ALL EXPRESS
- * OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
- * IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
- * OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH
- * DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
- * See the GNU General Public License for more details, a copy of which
- * can be found in the file COPYING included with this package.
- *
  * Contact Information:
  * [email protected]
- *
  */
 
 #include <linux/reboot.h>
drivers/scsi/be2iscsi/be_mgmt.c +1 -13
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * This file is part of the Emulex Linux Device Driver for Enterprise iSCSI
  * Host Bus Adapters. Refer to the README file included with this package
@@ -6,21 +7,8 @@
  * Copyright (c) 2018 Broadcom. All Rights Reserved.
  * The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.
  *
- * 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. ALL EXPRESS
- * OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
- * IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
- * OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH
- * DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
- * See the GNU General Public License for more details, a copy of which
- * can be found in the file COPYING included with this package.
- *
  * Contact Information:
  * [email protected]
- *
  */
 
 #include <linux/bsg-lib.h>
drivers/scsi/lpfc/Makefile +1 -11
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 #/*******************************************************************
 # * This file is part of the Emulex Linux Device Driver for         *
 # * Fibre Channel Host Bus Adapters.                                *
@@ -7,17 +8,6 @@
 # * EMULEX and SLI are trademarks of Emulex.                        *
 # * www.broadcom.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. *
-# * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
-# * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
-# * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
-# * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
-# * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
-# * more details, a copy of which can be found in the file COPYING  *
-# * included with this package.                                     *
 # *******************************************************************/
 ######################################################################
 
drivers/scsi/lpfc/lpfc.h +1 -11
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
@@ -8,17 +9,6 @@
  * www.broadcom.com                                                *
  * Portions Copyright (C) 2004-2005 Christoph Hellwig              *
  *                                                                 *
- * 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. *
- * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
- * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
- * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
- * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
- * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
- * more details, a copy of which can be found in the file COPYING  *
- * included with this package.                                     *
  *******************************************************************/
 
 #include <scsi/scsi_host.h>
drivers/scsi/lpfc/lpfc_attr.c +1 -11
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
@@ -8,17 +9,6 @@
  * www.broadcom.com                                                *
  * Portions Copyright (C) 2004-2005 Christoph Hellwig              *
  *                                                                 *
- * 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. *
- * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
- * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
- * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
- * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
- * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
- * more details, a copy of which can be found in the file COPYING  *
- * included with this package.                                     *
  *******************************************************************/
 
 #include <linux/ctype.h>
drivers/scsi/lpfc/lpfc_attr.h +1 -11
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
@@ -8,17 +9,6 @@
  * www.broadcom.com                                                *
  * Portions Copyright (C) 2004-2005 Christoph Hellwig              *
  *                                                                 *
- * 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. *
- * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
- * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
- * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
- * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
- * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
- * more details, a copy of which can be found in the file COPYING  *
- * included with this package.                                     *
  *******************************************************************/
 
 #define LPFC_ATTR(name, defval, minval, maxval, desc) \
drivers/scsi/lpfc/lpfc_bsg.c +1 -11
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
@@ -7,17 +8,6 @@
  * EMULEX and SLI are trademarks of Emulex.                        *
  * www.broadcom.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. *
- * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
- * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
- * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
- * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
- * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
- * more details, a copy of which can be found in the file COPYING  *
- * included with this package.                                     *
  *******************************************************************/
 
 #include <linux/interrupt.h>
drivers/scsi/lpfc/lpfc_bsg.h +1 -11
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
@@ -7,17 +8,6 @@
  * EMULEX and SLI are trademarks of Emulex.                        *
  * www.broadcom.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. *
- * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
- * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
- * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
- * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
- * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
- * more details, a copy of which can be found in the file COPYING  *
- * included with this package.                                     *
  *******************************************************************/
 /* bsg definitions
  * No pointers to user data are allowed, all application buffers and sizes will
drivers/scsi/lpfc/lpfc_compat.h +1 -11
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
@@ -7,17 +8,6 @@
  * EMULEX and SLI are trademarks of Emulex.                        *
  * www.broadcom.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. *
- * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
- * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
- * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
- * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
- * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
- * more details, a copy of which can be found in the file COPYING  *
- * included with this package.                                     *
  *******************************************************************/
 
 /*
drivers/scsi/lpfc/lpfc_crtn.h +1 -11
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
@@ -7,17 +8,6 @@
  * EMULEX and SLI are trademarks of Emulex.                        *
  * www.broadcom.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. *
- * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
- * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
- * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
- * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
- * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
- * more details, a copy of which can be found in the file COPYING  *
- * included with this package.                                     *
  *******************************************************************/
 
 typedef int (*node_filter)(struct lpfc_nodelist *, void *);
drivers/scsi/lpfc/lpfc_ct.c +1 -11
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
@@ -7,17 +8,6 @@
  * EMULEX and SLI are trademarks of Emulex.                        *
  * www.broadcom.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. *
- * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
- * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
- * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
- * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
- * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
- * more details, a copy of which can be found in the file COPYING  *
- * included with this package.                                     *
  *******************************************************************/
 
 /*
drivers/scsi/lpfc/lpfc_debugfs.c +1 -11
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
@@ -7,17 +8,6 @@
  * EMULEX and SLI are trademarks of Emulex.                        *
  * www.broadcom.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. *
- * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
- * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
- * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
- * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
- * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
- * more details, a copy of which can be found in the file COPYING  *
- * included with this package.                                     *
  *******************************************************************/
 
 #include <linux/blkdev.h>
drivers/scsi/lpfc/lpfc_debugfs.h +1 -11
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
@@ -7,17 +8,6 @@
  * EMULEX and SLI are trademarks of Emulex.                        *
  * www.broadcom.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. *
- * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
- * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
- * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
- * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
- * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
- * more details, a copy of which can be found in the file COPYING  *
- * included with this package.                                     *
  *******************************************************************/
 
 #ifndef _H_LPFC_DEBUG_FS
drivers/scsi/lpfc/lpfc_disc.h +1 -11
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
@@ -7,17 +8,6 @@
  * EMULEX and SLI are trademarks of Emulex.                        *
  * www.broadcom.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. *
- * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
- * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
- * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
- * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
- * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
- * more details, a copy of which can be found in the file COPYING  *
- * included with this package.                                     *
  *******************************************************************/
 
 #define FC_MAX_HOLD_RSCN     32	      /* max number of deferred RSCNs */
drivers/scsi/lpfc/lpfc_els.c +1 -11
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
@@ -8,17 +9,6 @@
  * www.broadcom.com                                                *
  * Portions Copyright (C) 2004-2005 Christoph Hellwig              *
  *                                                                 *
- * 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. *
- * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
- * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
- * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
- * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
- * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
- * more details, a copy of which can be found in the file COPYING  *
- * included with this package.                                     *
  *******************************************************************/
 /* See Fibre Channel protocol T11 FC-LS for details */
 #include <linux/blkdev.h>
drivers/scsi/lpfc/lpfc_hbadisc.c +1 -11
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
@@ -8,17 +9,6 @@
  * www.broadcom.com                                                *
  * Portions Copyright (C) 2004-2005 Christoph Hellwig              *
  *                                                                 *
- * 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. *
- * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
- * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
- * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
- * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
- * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
- * more details, a copy of which can be found in the file COPYING  *
- * included with this package.                                     *
  *******************************************************************/
 
 #include <linux/blkdev.h>
drivers/scsi/lpfc/lpfc_hw.h +1 -11
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
@@ -7,17 +8,6 @@
  * EMULEX and SLI are trademarks of Emulex.                        *
  * www.broadcom.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. *
- * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
- * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
- * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
- * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
- * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
- * more details, a copy of which can be found in the file COPYING  *
- * included with this package.                                     *
  *******************************************************************/
 
 #define FDMI_DID        0xfffffaU
drivers/scsi/lpfc/lpfc_hw4.h +1 -11
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
@@ -7,17 +8,6 @@
  * EMULEX and SLI are trademarks of Emulex.                        *
  * www.broadcom.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. *
- * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
- * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
- * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
- * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
- * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
- * more details, a copy of which can be found in the file COPYING  *
- * included with this package.                                     *
  *******************************************************************/
 
 /* Macros to deal with bit fields. Each bit field must have 3 #defines
drivers/scsi/lpfc/lpfc_ids.h +1 -11
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
@@ -8,17 +9,6 @@
  * www.broadcom.com                                                *
  * Portions Copyright (C) 2004-2005 Christoph Hellwig              *
  *                                                                 *
- * 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. *
- * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
- * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
- * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
- * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
- * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
- * more details, a copy of which can be found in the file COPYING  *
- * included with this package.                                     *
  *******************************************************************/
 
 #include <linux/pci.h>
drivers/scsi/lpfc/lpfc_init.c +1 -11
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
@@ -8,17 +9,6 @@
  * www.broadcom.com                                                *
  * Portions Copyright (C) 2004-2005 Christoph Hellwig              *
  *                                                                 *
- * 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. *
- * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
- * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
- * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
- * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
- * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
- * more details, a copy of which can be found in the file COPYING  *
- * included with this package.                                     *
  *******************************************************************/
 
 #include <linux/blkdev.h>
drivers/scsi/lpfc/lpfc_logmsg.h +1 -11
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
@@ -7,17 +8,6 @@
  * EMULEX and SLI are trademarks of Emulex.                        *
  * www.broadcom.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. *
- * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
- * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
- * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
- * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
- * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
- * more details, a copy of which can be found in the file COPYING  *
- * included with this package.                                     *
  *******************************************************************/
 
 #define LOG_ELS		0x00000001	/* ELS events */
drivers/scsi/lpfc/lpfc_mbox.c +1 -11
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
@@ -8,17 +9,6 @@
  * www.broadcom.com                                                *
  * Portions Copyright (C) 2004-2005 Christoph Hellwig              *
  *                                                                 *
- * 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. *
- * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
- * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
- * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
- * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
- * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
- * more details, a copy of which can be found in the file COPYING  *
- * included with this package.                                     *
  *******************************************************************/
 
 #include <linux/blkdev.h>
drivers/scsi/lpfc/lpfc_mem.c +1 -2
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
@@ -8,17 +9,6 @@
  * www.broadcom.com                                                *
  * Portions Copyright (C) 2004-2005 Christoph Hellwig              *
  *                                                                 *
- * This program is free software; you can redistribute it and/or   *
- * modify it under the terms of version 2 of the GNU General       *
 
 
Reviewed-by on v1 11/25
#61 lore raw

RE: [Batch 16 patch 11/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 236

In reply to Thomas Gleixner
Quoted 25 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 11/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 236

From: Thomas Gleixner [email protected]

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 all express or implied conditions representations and warranties including any implied warranty of merchantability fitness for a particular purpose or non infringement are disclaimed except to the extent that such disclaimers are held to be legally invalid see the gnu general public license for more details a copy of which can be found in the file copying included with this package

extracted by the scancode license scanner the SPDX license identifier

Quoted 8 lines

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=13304f592dc5

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

#62 lore raw

Re: [Batch 16 patch 11/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 236

In reply to Thomas Gleixner
Quoted 4 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

Quoted 10 lines

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 all express or implied conditions representations and warranties including any implied warranty of merchantability fitness for a particular purpose or non infringement are disclaimed except to the extent that such disclaimers are held to be legally invalid see the gnu general public license for more details a copy of which can be found in the file copying included with this package

Custom disclaimer, hold for review.

Allison

#63 lore raw

PATCH 12/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 237

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

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

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=97f769ae2907

---
 drivers/media/v4l2-core/videobuf-core.c       |    5 +----
 drivers/media/v4l2-core/videobuf-dma-contig.c |    5 +----
 drivers/media/v4l2-core/videobuf-dma-sg.c     |    5 +----
 drivers/media/v4l2-core/videobuf-vmalloc.c    |    5 +----
 include/media/videobuf-core.h                 |    5 +----
 include/media/videobuf-dma-contig.h           |    5 +----
 include/media/videobuf-dma-sg.h               |    5 +----
 include/media/videobuf-vmalloc.h              |    5 +----
 8 files changed, 8 insertions(+), 32 deletions(-)
drivers/media/v4l2-core/videobuf-core.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * generic helper functions for handling video4linux capture buffers
  *
@@ -7,10 +8,6 @@
  * (c) 2001,02 Gerd Knorr <[email protected]>
  * (c) 2006 Mauro Carvalho Chehab, <[email protected]>
  * (c) 2006 Ted Walther and John Sokol
- *
- * 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
  */
 
 #include <linux/init.h>
drivers/media/v4l2-core/videobuf-dma-contig.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * helper functions for physically contiguous capture buffers
  *
@@ -8,10 +9,6 @@
  *
  * Based on videobuf-vmalloc.c,
  * (c) 2007 Mauro Carvalho Chehab, <[email protected]>
- *
- * 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
  */
 
 #include <linux/init.h>
drivers/media/v4l2-core/videobuf-dma-sg.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * helper functions for SG DMA video4linux capture buffers
  *
@@ -12,10 +13,6 @@
  * (c) 2001,02 Gerd Knorr <[email protected]>
  * (c) 2006 Mauro Carvalho Chehab, <[email protected]>
  * (c) 2006 Ted Walther and John Sokol
- *
- * 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
  */
 
 #include <linux/init.h>
drivers/media/v4l2-core/videobuf-vmalloc.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * helper functions for vmalloc video4linux capture buffers
  *
@@ -7,10 +8,6 @@
  * to touch the video data.
  *
  * (c) 2007 Mauro Carvalho Chehab, <[email protected]>
- *
- * 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
  */
 
 #include <linux/init.h>
include/media/videobuf-core.h +1 -4
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * generic helper functions for handling video4linux capture buffers
  *
@@ -7,10 +8,6 @@
  * (c) 2001,02 Gerd Knorr <[email protected]>
  * (c) 2006 Mauro Carvalho Chehab, <[email protected]>
  * (c) 2006 Ted Walther and John Sokol
- *
- * 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
  */
 
 #ifndef _VIDEOBUF_CORE_H
include/media/videobuf-dma-contig.h +1 -4
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * helper functions for physically contiguous capture buffers
  *
@@ -5,10 +6,6 @@
  * (i.e. the buffers must be linear in physical memory)
  *
  * Copyright (c) 2008 Magnus Damm
- *
- * 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
  */
 #ifndef _VIDEOBUF_DMA_CONTIG_H
 #define _VIDEOBUF_DMA_CONTIG_H
include/media/videobuf-dma-sg.h +1 -4
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * helper functions for SG DMA video4linux capture buffers
  *
@@ -12,10 +13,6 @@
  * (c) 2001,02 Gerd Knorr <[email protected]>
  * (c) 2006 Mauro Carvalho Chehab, <[email protected]>
  * (c) 2006 Ted Walther and John Sokol
- *
- * 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
  */
 #ifndef _VIDEOBUF_DMA_SG_H
 #define _VIDEOBUF_DMA_SG_H
include/media/videobuf-vmalloc.h +1 -4
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * helper functions for vmalloc capture buffers
  *
@@ -7,10 +8,6 @@
  * to touch the video data.
  *
  * (c) 2007 Mauro Carvalho Chehab, <[email protected]>
- *
- * 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
  */
 #ifndef _VIDEOBUF_VMALLOC_H
 #define _VIDEOBUF_VMALLOC_H
Reviewed-by on v1 12/25
#65 lore raw

RE: [Batch 16 patch 12/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 237

In reply to Thomas Gleixner
Quoted 18 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 12/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 237

From: Thomas Gleixner [email protected]

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

extracted by the scancode license scanner the SPDX license identifier

Quoted 8 lines

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=97f769ae2907

Yes, yes, "either"...

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

Reviewed-by on v1 12/25
#66 lore raw

Re: [Batch 16 patch 12/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 237

In reply to Thomas Gleixner
Quoted 8 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

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

Quoted 7 lines

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

#67 lore raw

PATCH 13/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 238

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 2 normalized pattern(s):

the original driver s license is gpl as declared with module_license 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 under 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

the original driver s license is gpl as declared with module_license [copyright] [c] [2010] [2012] [mauro] [carvalho] [chehab] [driver] [modified] [by] [in] [order] [to] [work] [with] [upstream] [drxk] [driver] [and] [tons] [of] [bugs] [got] [fixed] [and] [converted] [to] [use] [dvb] [usb] [v2] 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 under 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

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=a35255b3d6f9

---
 drivers/media/tuners/mt2063.c         |   11 +----------
 drivers/media/usb/dvb-usb-v2/az6007.c |   10 +---------
 2 files changed, 2 insertions(+), 19 deletions(-)
drivers/media/tuners/mt2063.c +1 -10
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Driver for mt2063 Micronas tuner
  *
@@ -7,16 +8,6 @@
  *		Henry Wang <[email protected]>
  * Made publicly available by Terratec, at:
  *	http://linux.terratec.de/files/TERRATEC_H7/20110323_TERRATEC_H7_Linux.tar.gz
- * The original driver's license is GPL, as declared with MODULE_LICENSE()
- *
- * 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 under 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.
  */
 
 #include <linux/init.h>
drivers/media/usb/dvb-usb-v2/az6007.c +1 -9
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Driver for AzureWave 6007 DVB-C/T USB2.0 and clones
  *
@@ -10,15 +11,6 @@
  * Copyright (c) 2010-2012 Mauro Carvalho Chehab
  *	Driver modified by in order to work with upstream drxk driver, and
  *	tons of bugs got fixed, and converted to use dvb-usb-v2.
- *
- * 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 under 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.
  */
 
 #include "drxk.h"
Reviewed-by on v1 13/25
#69 lore raw

RE: [Batch 16 patch 13/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 238

In reply to Thomas Gleixner
Quoted 35 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 13/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 238

From: Thomas Gleixner [email protected]

Based on 2 normalized pattern(s):

the original driver s license is gpl as declared with module_license 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 under 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

the original driver s license is gpl as declared with module_license [copyright] [c] [2010] [2012] [mauro] [carvalho] [chehab] [driver] [modified] [by] [in] [order] [to] [work] [with] [upstream] [drxk] [driver] [and] [tons] [of] [bugs] [got] [fixed] [and] [converted] [to] [use] [dvb] [usb] [v2] 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 under 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

extracted by the scancode license scanner the SPDX license identifier

Quoted 8 lines

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=a35255b3d6f9

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

Reviewed-by on v1 13/25
#70 lore raw

Re: [Batch 16 patch 13/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 238

In reply to Thomas Gleixner
Quoted 25 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 2 normalized pattern(s):

the original driver s license is gpl as declared with module_license 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 under 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

the original driver s license is gpl as declared with module_license [copyright] [c] [2010] [2012] [mauro] [carvalho] [chehab] [driver] [modified] [by] [in] [order] [to] [work] [with] [upstream] [drxk] [driver] [and] [tons] [of] [bugs] [got] [fixed] [and] [converted] [to] [use] [dvb] [usb] [v2] 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 under 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

Quoted 7 lines

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

#71 lore raw

PATCH 14/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 239

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

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 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 675 mass ave cambridge ma 02139 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).

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=daf2bb45e5a0

---
 sound/soc/jz4740/qi_lb60.c |   10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)
sound/soc/jz4740/qi_lb60.c +1 -9
@@ -1,14 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Copyright (C) 2009, Lars-Peter Clausen <[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.
- *
- *  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.,
- *  675 Mass Ave, Cambridge, MA 02139, USA.
- *
  */
 
 #include <linux/module.h>
Reviewed-by on v1 14/25
#73 lore raw

RE: [Batch 16 patch 14/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 239

In reply to Thomas Gleixner
Quoted 21 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 14/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 239

From: Thomas Gleixner [email protected]

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 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 675 mass ave cambridge ma 02139 usa

extracted by the scancode license scanner the SPDX license identifier

Quoted 8 lines

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=daf2bb45e5a0

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

#74 lore raw

Re: [Batch 16 patch 14/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 239

In reply to Thomas Gleixner
Quoted 11 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

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 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 675 mass ave cambridge ma 02139 usa

Quoted 7 lines

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

Signature · 2 lines
Armijn Hemel, MSc
Tjaldur Software Governance Solutions
Reviewed-by on v1 14/25
#75 lore raw

Re: [Batch 16 patch 14/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 239

In reply to Thomas Gleixner
Quoted 11 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

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 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 675 mass ave cambridge ma 02139 usa

Quoted 7 lines

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

#76 lore raw

PATCH 15/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 240

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

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 dated june 1991 on debian gnu linux systems the complete text of the gnu general public license version 2 can be found in \ usr share common licenses gpl 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).

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=070cc65e1bfc

---
 scripts/package/mkdebian |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
scripts/package/mkdebian +1 -6
@@ -1,4 +1,5 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # Copyright 2003 Wichert Akkerman <[email protected]>
 #
@@ -160,12 +161,6 @@ Copyright: 1991 - 2018 Linus Torvalds an
 The git repository for mainline kernel development is at:
 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
 
-    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 dated June, 1991.
-
-On Debian GNU/Linux systems, the complete text of the GNU General Public
-License version 2 can be found in \`/usr/share/common-licenses/GPL-2'.
 EOF
 
 # Generate a control file
#77 lore raw

Re: [Batch 16 patch 15/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 240

Quoted 11 lines · Thomas Gleixner
scripts/package/mkdebian +1 -0
@@ -1,4 +1,5 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # Copyright 2003 Wichert Akkerman <[email protected]>
 #
@@ -160,12 +161,6 @@ Copyright: 1991 - 2018 Linus Torvalds an
 The git repository for mainline kernel development is at:
 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

scripts/package/mkdebian Copyright: 1991 - 2018 Linus Torvalds an · line 166

Quoted 10 lines
scripts/package/mkdebian +0 -6
 
-    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 dated June, 1991.
-
-On Debian GNU/Linux systems, the complete text of the GNU General Public
-License version 2 can be found in \`/usr/share/common-licenses/GPL-2'.
 EOF
 
 # Generate a control file

Really sure that the generated deb copyright file should be changed ? (this text is not for the script itself, but the generated .deb)

Anyways, this statement might not be fully correct, if not everything really is GPLv2.

Oh, and I can't see any explicit statement that this script is gplv2.

--mtx

Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
maintainer
#78 lore raw

Re: [Batch 16 patch 15/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 240

Quoted 27 lines · metux IT consult
Quoted 11 lines · Thomas Gleixner
scripts/package/mkdebian +1 -0
@@ -1,4 +1,5 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # Copyright 2003 Wichert Akkerman <[email protected]>
 #
@@ -160,12 +161,6 @@ Copyright: 1991 - 2018 Linus Torvalds an
 The git repository for mainline kernel development is at:
 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

scripts/package/mkdebian Copyright: 1991 - 2018 Linus Torvalds an · line 166

Quoted 10 lines
scripts/package/mkdebian +0 -6
 
-    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 dated June, 1991.
-
-On Debian GNU/Linux systems, the complete text of the GNU General Public
-License version 2 can be found in \`/usr/share/common-licenses/GPL-2'.
 EOF
 
 # Generate a control file

Really sure that the generated deb copyright file should be changed ? (this text is not for the script itself, but the generated .deb)

Quoted 4 lines

Anyways, this statement might not be fully correct, if not everything really is GPLv2.

Oh, and I can't see any explicit statement that this script is gplv2.

Oops, this scripts went a bit crazy here, this "GPL statement" is for the autogenerated .deb file, not the license for the script itself.

Thomas, you should add this to the "look at later" file.

Well, it really should just get add to the "files with no license so they get a GPLv2 tag added to them" pile, as that is what this one is.

thanks,

greg k-h

#79 lore raw

Re: [Batch 16 patch 15/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 240

Quoted 28 lines · Greg KH
Quoted 27 lines · metux IT consult
Quoted 11 lines · Thomas Gleixner
scripts/package/mkdebian +1 -0
@@ -1,4 +1,5 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # Copyright 2003 Wichert Akkerman <[email protected]>
 #
@@ -160,12 +161,6 @@ Copyright: 1991 - 2018 Linus Torvalds an
 The git repository for mainline kernel development is at:
 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

scripts/package/mkdebian Copyright: 1991 - 2018 Linus Torvalds an · line 166

Quoted 10 lines
scripts/package/mkdebian +0 -6
 
-    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 dated June, 1991.
-
-On Debian GNU/Linux systems, the complete text of the GNU General Public
-License version 2 can be found in \`/usr/share/common-licenses/GPL-2'.
 EOF
 
 # Generate a control file

Really sure that the generated deb copyright file should be changed ? (this text is not for the script itself, but the generated .deb)

Quoted 7 lines
Quoted 4 lines

Anyways, this statement might not be fully correct, if not everything really is GPLv2.

Oh, and I can't see any explicit statement that this script is gplv2.

Oops, this scripts went a bit crazy here, this "GPL statement" is for the autogenerated .deb file, not the license for the script itself.

Indeed.

Quoted 1 line

Thomas, you should add this to the "look at later" file.

Done.

Quoted 2 lines

Well, it really should just get add to the "files with no license so they get a GPLv2 tag added to them" pile, as that is what this one is.

Correct.

Thanks,

tglx

#80 lore raw

Re: [Batch 16 patch 15/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 240

In reply to Enrico Weigelt, metux IT consult
Quoted 21 lines · metux IT consult
Quoted 20 lines · Thomas Gleixner
scripts/package/mkdebian +1 -6
@@ -1,4 +1,5 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-only
 #
 # Copyright 2003 Wichert Akkerman <[email protected]>
 #
@@ -160,12 +161,6 @@ Copyright: 1991 - 2018 Linus Torvalds an
 The git repository for mainline kernel development is at:
 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
 
-    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 dated June, 1991.
-
-On Debian GNU/Linux systems, the complete text of the GNU General Public
-License version 2 can be found in \`/usr/share/common-licenses/GPL-2'.
 EOF
 
Quoted 4 lines

scripts/package/mkdebian Copyright: 1991 - 2018 Linus Torvalds an · line 166

Quoted 1 line
scripts/package/mkdebian +0 -0
 # Generate a control file

Really sure that the generated deb copyright file should be changed ? (this text is not for the script itself, but the generated .deb)

Good catch! The automaton went over board with this, but that's why we review the stuff.

Thanks,

tglx

#81 lore raw

PATCH 16/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 241

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

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

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=10c7a426e575

---
 arch/m68k/tools/amiga/dmesg.c         |    7 +------
 drivers/net/ethernet/8390/apne.c      |    6 +-----
 drivers/net/ethernet/8390/hydra.c     |    4 +---
 drivers/net/ethernet/8390/mcf8390.c   |    5 +----
 drivers/net/ethernet/8390/zorro8390.c |    5 +----
 drivers/net/ethernet/amd/a2065.c      |    5 +----
 drivers/net/ethernet/amd/a2065.h      |    5 +----
 drivers/net/ethernet/amd/ariadne.c    |    5 +----
 drivers/net/ethernet/amd/ariadne.h    |    5 +----
 kernel/cgroup/cgroup.c                |    5 +----
 kernel/cgroup/cpuset.c                |    5 +----
 scripts/pnmtologo.c                   |    5 +----
 12 files changed, 12 insertions(+), 50 deletions(-)
arch/m68k/tools/amiga/dmesg.c +1 -6
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  linux/arch/m68k/tools/amiga/dmesg.c -- Retrieve the kernel messages stored
  *					   in Chip RAM with the kernel command
@@ -5,16 +6,10 @@
  *
  *  © Copyright 1996 by Geert Uytterhoeven <[email protected]>
  *
- *
  *  Usage:
  *
  *	dmesg
  *	dmesg <CHIPMEM_END>
- *
- *
- *  This file is subject to the terms and conditions of the GNU General Public
- *  License.  See the file COPYING in the main directory of the Linux
- *  distribution for more details.
  */
 
 
drivers/net/ethernet/8390/apne.c +1 -5
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Amiga Linux/68k 8390 based PCMCIA Ethernet Driver for the Amiga 1200
  *
@@ -19,12 +20,7 @@
  *
  * ----------------------------------------------------------------------------
  *
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file COPYING in the main directory of the Linux
- * distribution for more details.
- *
  * ----------------------------------------------------------------------------
- *
  */
 
 
drivers/net/ethernet/8390/hydra.c +1 -3
@@ -1,9 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* New Hydra driver using generic 8390 core */
 /* Based on old hydra driver by Topi Kanerva ([email protected]) */
 
-/* This file is subject to the terms and conditions of the GNU General      */
-/* Public License.  See the file COPYING in the main directory of the       */
-/* Linux distribution for more details.                                     */
 
 /* Peter De Schrijver ([email protected]) */
 /* Oldenburg 2000 */
drivers/net/ethernet/8390/mcf8390.c +1 -4
@@ -1,13 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  Support for ColdFire CPU based boards using a NS8390 Ethernet device.
  *
  *  Derived from the many other 8390 drivers.
  *
  *  (C) Copyright 2012,  Greg Ungerer <[email protected]>
- *
- *  This file is subject to the terms and conditions of the GNU General Public
- *  License.  See the file COPYING in the main directory of the Linux
- *  distribution for more details.
  */
 
 #include <linux/module.h>
drivers/net/ethernet/8390/zorro8390.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  Amiga Linux/m68k and Linux/PPC Zorro NS8390 Ethernet Driver
  *
@@ -9,10 +10,6 @@
  *
  *  ---------------------------------------------------------------------------
  *
- *  This file is subject to the terms and conditions of the GNU General Public
- *  License.  See the file COPYING in the main directory of the Linux
- *  distribution for more details.
- *
  *  ---------------------------------------------------------------------------
  *
  *  The Ariadne II and X-Surf are Zorro-II boards containing Realtek RTL8019AS
drivers/net/ethernet/amd/a2065.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Amiga Linux/68k A2065 Ethernet Driver
  *
@@ -25,10 +26,6 @@
  *
  * ----------------------------------------------------------------------------
  *
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file COPYING in the main directory of the Linux
- * distribution for more details.
- *
  * ----------------------------------------------------------------------------
  *
  * The A2065 is a Zorro-II board made by Commodore/Ameristar. It contains:
drivers/net/ethernet/amd/a2065.h +1 -4
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Amiga Linux/68k A2065 Ethernet Driver
  *
@@ -20,10 +21,6 @@
  *
  * ---------------------------------------------------------------------------
  *
- * This file is subject to the terms and conditions of the GNU General Public
- * License.  See the file COPYING in the main directory of the Linux
- * distribution for more details.
- *
  * ---------------------------------------------------------------------------
  *
  * The A2065 is a Zorro-II board made by Commodore/Ameristar. It contains:
drivers/net/ethernet/amd/ariadne.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  Amiga Linux/m68k Ariadne Ethernet Driver
  *
@@ -20,10 +21,6 @@
  *
  *  ---------------------------------------------------------------------------
  *
- *  This file is subject to the terms and conditions of the GNU General Public
- *  License.  See the file COPYING in the main directory of the Linux
- *  distribution for more details.
- *
  *  ---------------------------------------------------------------------------
  *
  *  The Ariadne is a Zorro-II board made by Village Tronic. It contains:
drivers/net/ethernet/amd/ariadne.h +1 -4
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *  Amiga Linux/m68k Ariadne Ethernet Driver
  *
@@ -21,10 +22,6 @@
  *
  *  ----------------------------------------------------------------------------------
  *
- *  This file is subject to the terms and conditions of the GNU General Public
- *  License.  See the file COPYING in the main directory of the Linux
- *  distribution for more details.
- *
  *  ----------------------------------------------------------------------------------
  *
  *  The Ariadne is a Zorro-II board made by Village Tronic. It contains:
kernel/cgroup/cgroup.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  Generic process-grouping system.
  *
@@ -20,10 +21,6 @@
  *  2003-10-22 Updates by Stephen Hemminger.
  *  2004 May-July Rework by Paul Jackson.
  *  ---------------------------------------------------
- *
- *  This file is subject to the terms and conditions of the GNU General Public
- *  License.  See the file COPYING in the main directory of the Linux
- *  distribution for more details.
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
kernel/cgroup/cpuset.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  kernel/cpuset.c
  *
@@ -16,10 +17,6 @@
  *  2006 Rework by Paul Menage to use generic cgroups
  *  2008 Rework of the scheduler domains and CPU hotplug handling
  *       by Max Krasnyansky
- *
- *  This file is subject to the terms and conditions of the GNU General Public
- *  License.  See the file COPYING in the main directory of the Linux
- *  distribution for more details.
  */
 
 #include <linux/cpu.h>
scripts/pnmtologo.c +1 -4
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 
 /*
  *  Convert a logo in ASCII PNM format to C source suitable for inclusion in
@@ -6,10 +7,6 @@
  *  (C) Copyright 2001-2003 by Geert Uytterhoeven <[email protected]>
  *
  *  --------------------------------------------------------------------------
- *
- *  This file is subject to the terms and conditions of the GNU General Public
- *  License. See the file COPYING in the main directory of the Linux
- *  distribution for more details.
  */
 
 #include <ctype.h>
#83 lore raw

RE: [Batch 16 patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 241

In reply to Thomas Gleixner
Quoted 62 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 241

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

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

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-
spdx.git/commit/?h=batch16&id=10c7a426e575

---
 arch/m68k/tools/amiga/dmesg.c         |    7 +------
 drivers/net/ethernet/8390/apne.c      |    6 +-----
 drivers/net/ethernet/8390/hydra.c     |    4 +---
 drivers/net/ethernet/8390/mcf8390.c   |    5 +----
 drivers/net/ethernet/8390/zorro8390.c |    5 +----
 drivers/net/ethernet/amd/a2065.c      |    5 +----
 drivers/net/ethernet/amd/a2065.h      |    5 +----
 drivers/net/ethernet/amd/ariadne.c    |    5 +----
 drivers/net/ethernet/amd/ariadne.h    |    5 +----
 kernel/cgroup/cgroup.c                |    5 +----
 kernel/cgroup/cpuset.c                |    5 +----
 scripts/pnmtologo.c                   |    5 +----
 12 files changed, 12 insertions(+), 50 deletions(-)
arch/m68k/tools/amiga/dmesg.c +1 -0
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  linux/arch/m68k/tools/amiga/dmesg.c -- Retrieve the kernel messages

stored
* in Chip RAM with the kernel command

arch/m68k/tools/amiga/dmesg.c +0 -4
@@ -5,16 +6,10 @@
  *
  *  © Copyright 1996 by Geert Uytterhoeven <[email protected]>
  *
- *
  *  Usage:
  *
  *	dmesg
  *	dmesg <CHIPMEM_END>
- *
- *
- *  This file is subject to the terms and conditions of the GNU General
Quoted 6 lines

Public
- * License. See the file COPYING in the main directory of the Linux
- * distribution for more details.
*/

Once again, no license version and "see COPYING for details"

-- zvr -

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

maintainer
#84 lore raw

Re: [Batch 16 patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 241

Quoted 62 lines · Alexios
Quoted 62 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 241

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

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

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-
spdx.git/commit/?h=batch16&id=10c7a426e575

---
 arch/m68k/tools/amiga/dmesg.c         |    7 +------
 drivers/net/ethernet/8390/apne.c      |    6 +-----
 drivers/net/ethernet/8390/hydra.c     |    4 +---
 drivers/net/ethernet/8390/mcf8390.c   |    5 +----
 drivers/net/ethernet/8390/zorro8390.c |    5 +----
 drivers/net/ethernet/amd/a2065.c      |    5 +----
 drivers/net/ethernet/amd/a2065.h      |    5 +----
 drivers/net/ethernet/amd/ariadne.c    |    5 +----
 drivers/net/ethernet/amd/ariadne.h    |    5 +----
 kernel/cgroup/cgroup.c                |    5 +----
 kernel/cgroup/cpuset.c                |    5 +----
 scripts/pnmtologo.c                   |    5 +----
 12 files changed, 12 insertions(+), 50 deletions(-)
arch/m68k/tools/amiga/dmesg.c +1 -0
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  linux/arch/m68k/tools/amiga/dmesg.c -- Retrieve the kernel messages

stored
* in Chip RAM with the kernel command

arch/m68k/tools/amiga/dmesg.c +0 -4
@@ -5,16 +6,10 @@
  *
  *  © Copyright 1996 by Geert Uytterhoeven <[email protected]>
  *
- *
  *  Usage:
  *
  *	dmesg
  *	dmesg <CHIPMEM_END>
- *
- *
- *  This file is subject to the terms and conditions of the GNU General
Quoted 8 lines
Quoted 6 lines

Public
- * License. See the file COPYING in the main directory of the Linux
- * distribution for more details.
*/

Once again, no license version and "see COPYING for details"

COPYING was "GPLv2".

thanks,

greg k-h

#85 lore raw

Re: [Batch 16 patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 241

Hi Greg,

I would like to emphasize that the file COPYING has evolved significantly since this file was added. It used to be GPL-2.0 only.

at commit 3a978e558a32b51d03809f7d72b6c68d1a46d953, the contents of the file are included below.

yes, this file has GPLv2.0-only, but other files that reference copying (more recently) would be GPL-2.0-only with Linux-syscall-note

but it might be useful to verify the contents of COPYING at the time the license is added. Although, one can argue that the authors of the file have given tacit agreement that the contents of the COPYING file will be the license of the file, even if the COPYING file evolves.

NOTE! This copyright does *not* cover user programs that use kernel
services by normal system calls - this is merely considered normal use of the kernel, and does *not* fall under the heading of "derived work".

Also note that the GPL below is copyrighted by the Free Software
Foundation, but the instance of code that it refers to (the Linux
kernel) is copyrighted by me and others who actually wrote it.
[...]

Also note that the only valid version of the GPL as far as the kernel is concerned is _this_ particular version of the license (ie v2, not v2.2 or v3.x or whatever), unless explicitly otherwise stated.

[...]
----------------------------------------

GNU GENERAL PUBLIC LICENSE

Version 2, June 1991

[...]

Quoted 78 lines · Greg KH
Quoted 62 lines · Alexios
Quoted 62 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 241

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

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

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-
spdx.git/commit/?h=batch16&id=10c7a426e575

---
 arch/m68k/tools/amiga/dmesg.c         |    7 +------
 drivers/net/ethernet/8390/apne.c      |    6 +-----
 drivers/net/ethernet/8390/hydra.c     |    4 +---
 drivers/net/ethernet/8390/mcf8390.c   |    5 +----
 drivers/net/ethernet/8390/zorro8390.c |    5 +----
 drivers/net/ethernet/amd/a2065.c      |    5 +----
 drivers/net/ethernet/amd/a2065.h      |    5 +----
 drivers/net/ethernet/amd/ariadne.c    |    5 +----
 drivers/net/ethernet/amd/ariadne.h    |    5 +----
 kernel/cgroup/cgroup.c                |    5 +----
 kernel/cgroup/cpuset.c                |    5 +----
 scripts/pnmtologo.c                   |    5 +----
 12 files changed, 12 insertions(+), 50 deletions(-)
arch/m68k/tools/amiga/dmesg.c +1 -0
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  *  linux/arch/m68k/tools/amiga/dmesg.c -- Retrieve the kernel messages

stored
* in Chip RAM with the kernel command

arch/m68k/tools/amiga/dmesg.c +0 -4
@@ -5,16 +6,10 @@
  *
  *  © Copyright 1996 by Geert Uytterhoeven <[email protected]>
  *
- *
  *  Usage:
  *
  * dmesg
  * dmesg <CHIPMEM_END>
- *
- *
- *  This file is subject to the terms and conditions of the GNU General
Quoted 8 lines
Quoted 6 lines

Public
- * License. See the file COPYING in the main directory of the Linux
- * distribution for more details.
*/

Once again, no license version and "see COPYING for details"

COPYING was "GPLv2".

thanks,

greg k-h

Signature · 5 lines
--dmg

---
D M German
http://turingmachine.org
#86 lore raw

Re: [Batch 16 patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 241

Quoted 8 lines · dmg

Hi Greg,

I would like to emphasize that the file COPYING has evolved significantly since this file was added. It used to be GPL-2.0 only.

at commit 3a978e558a32b51d03809f7d72b6c68d1a46d953, the contents of the file are included below.

sorry I forgot to mention that
this is the commit at which the file in question:
kernel/cgroup/cpuset.c was added (it was kernel/cpuset.c at that time, then moved to its current location)

#87 lore raw

Re: [Batch 16 patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 241

In reply to Greg KH
Quoted 5 lines · Greg KH
Quoted 2 lines · Alexios

Once again, no license version and "see COPYING for details"

COPYING was "GPLv2".

The pattern of an unversioned GPL with a reference to COPYING was under discussion in item (3) of the thread "clarification on -only and -or-later". We didn't reach a final conclusion on whether the unversioned GPL (GPL-1.0-or-later) or COPYING (GPL-2.0-only) should dominate, so we've been holding these for later review.

Allison

#88 lore raw

Re: [Batch 16 patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 241

Quoted 5 lines · Allison Randal

The pattern of an unversioned GPL with a reference to COPYING was under discussion in item (3) of the thread "clarification on -only and -or-later". We didn't reach a final conclusion on whether the unversioned GPL (GPL-1.0-or-later) or COPYING (GPL-2.0-only) should dominate, so we've been holding these for later review.

Is unversioned GPL (whatever that *really* supposed to mean :o) a valid license here ? (or could it become one for old code ?)

In that case, could we just state that in the spdx header and leave it aside, until somebody *really* needs to know it exactly ?

--mtx

Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
maintainer
#89 lore raw

Re: [Batch 16 patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 241

Quoted 10 lines · metux IT consult
Quoted 5 lines · Allison Randal

The pattern of an unversioned GPL with a reference to COPYING was under discussion in item (3) of the thread "clarification on -only and -or-later". We didn't reach a final conclusion on whether the unversioned GPL (GPL-1.0-or-later) or COPYING (GPL-2.0-only) should dominate, so we've been holding these for later review.

Is unversioned GPL (whatever that *really* supposed to mean :o) a valid license here ? (or could it become one for old code ?)

See the archives for details about this if you are curious.

Quoted 2 lines

In that case, could we just state that in the spdx header and leave it aside, until somebody *really* needs to know it exactly ?

No.

#90 lore raw

Re: [Batch 16 patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 241

Quoted 5 lines · Greg KH
Quoted 2 lines · metux IT consult

Is unversioned GPL (whatever that *really* supposed to mean :o) a valid license here ? (or could it become one for old code ?)

See the archives for details about this if you are curious.

I'm new to the list and unsure where to find the list archives you're referring to. I didn't see any archives mentioned at http://vger.kernel.org/vger-lists.html#linux-spdx - could you point me to the canonical archives for this list?

Denver

maintainer
#91 lore raw

Re: [Batch 16 patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 241

Quoted 8 lines · Denver Gingerich
Quoted 5 lines · Greg KH
Quoted 2 lines · metux IT consult

Is unversioned GPL (whatever that *really* supposed to mean :o) a valid license here ? (or could it become one for old code ?)

See the archives for details about this if you are curious.

I'm new to the list and unsure where to find the list archives you're referring to. I didn't see any archives mentioned at http://vger.kernel.org/vger-lists.html#linux-spdx - could you point me to the canonical archives for this list?

Here is one archive that might help:
https://lore.kernel.org/linux-spdx/

#92 lore raw

PATCH 17/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 242

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this driver is a part of the linux kernel and is thus distributed under the gnu general public license

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=ac18ec2c3bcd

---
 drivers/net/ethernet/amd/sun3lance.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/net/ethernet/amd/sun3lance.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* sun3lance.c: Ethernet driver for SUN3 Lance chip */
 /*
 
   Sun3 Lance ethernet driver, by Sam Creasey ([email protected]).
-  This driver is a part of the linux kernel, and is thus distributed
-  under the GNU General Public License.
 
   The values used in LANCE_OBIO and LANCE_IRQ seem to be empirically
   true for the correct IRQ and address of the lance registers.  They
#93 lore raw

Re: [Batch 16 patch 17/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 242

Quoted 24 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this driver is a part of the linux kernel and is thus distributed under the gnu general public license

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=ac18ec2c3bcd

---
 drivers/net/ethernet/amd/sun3lance.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

drivers/net/ethernet/amd/sun3lance.c line 6

Quoted 7 lines
drivers/net/ethernet/amd/sun3lance.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* sun3lance.c: Ethernet driver for SUN3 Lance chip */
 /*
 
   Sun3 Lance ethernet driver, by Sam Creasey ([email protected]).
-  This driver is a part of the linux kernel, and is thus distributed
-  under the GNU General Public License.

hmm, I'm not sure whether this really translates to GPL-2.0-only. IMHO, all it tells is that it's *some* GPL. not even mentioning v2.

It's older than the git conversion, so I can't follow back to it's incarnation. Can we safely assume that it's really gpl-v2-only ?

--mtx

Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
#94 lore raw

RE: [Batch 16 patch 17/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 242

In reply to Thomas Gleixner
Quoted 34 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 17/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 242

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this driver is a part of the linux kernel and is thus distributed under the gnu general public license

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-
spdx.git/commit/?h=batch16&id=ac18ec2c3bcd

---
 drivers/net/ethernet/amd/sun3lance.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

drivers/net/ethernet/amd/sun3lance.c line 8

Quoted 10 lines
drivers/net/ethernet/amd/sun3lance.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* sun3lance.c: Ethernet driver for SUN3 Lance chip */
 /*
 
   Sun3 Lance ethernet driver, by Sam Creasey ([email protected]).
-  This driver is a part of the linux kernel, and is thus distributed
-  under the GNU General Public License.
 
   The values used in LANCE_OBIO and LANCE_IRQ seem to be empirically
   true for the correct IRQ and address of the lance registers.  They

No license version -- and not even a reference to COPYING.

-- zvr -

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

maintainer
#95 lore raw

Re: [Batch 16 patch 17/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 242

Quoted 41 lines · Alexios
Quoted 41 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 17/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 242

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this driver is a part of the linux kernel and is thus distributed under the gnu general public license

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-
spdx.git/commit/?h=batch16&id=ac18ec2c3bcd

---
 drivers/net/ethernet/amd/sun3lance.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/net/ethernet/amd/sun3lance.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* sun3lance.c: Ethernet driver for SUN3 Lance chip */
 /*
 
   Sun3 Lance ethernet driver, by Sam Creasey ([email protected]).
-  This driver is a part of the linux kernel, and is thus distributed
-  under the GNU General Public License.
 
Quoted 5 lines

drivers/net/ethernet/amd/sun3lance.c line 8

Quoted 3 lines
drivers/net/ethernet/amd/sun3lance.c +0 -0
   The values used in LANCE_OBIO and LANCE_IRQ seem to be empirically
   true for the correct IRQ and address of the lance registers.  They

No license version -- and not even a reference to COPYING.

"a part of the linux kernel", which is GPLv2.

Anyway, if people want to discuss these all individually later, that's fine with me.

thanks,

greg k-h

#96 lore raw

Re: [Batch 16 patch 17/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 242

Quoted 8 lines · Greg KH
Quoted 2 lines · Alexios

No license version -- and not even a reference to COPYING.

"a part of the linux kernel", which is GPLv2.

Anyway, if people want to discuss these all individually later, that's fine with me.

Nod, worth a quick discussion, together with all the other similar examples.

Allison

#97 lore raw

Re: [Batch 16 patch 17/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 242

In reply to Greg KH
Quoted 1 line · Greg KH
Quoted 1 line
Quoted 1 line

Sun3 Lance ethernet driver, by Sam Creasey ([email protected]). >>> - This driver is a part of the linux kernel, and is thus

distributed>>> - under the GNU General Public License.>>>>>> The values used in LANCE_OBIO and LANCE_IRQ seem to be empirically>>> true for the correct IRQ and address of the lance registers. They>>>> No license version -- and not even a reference to COPYING.> > "a part of the linux kernel", which is GPLv2.
That would be my spontaneous interpretation, too. But, OTOH, I don't see a hard reason for a different one, eg. the current GPL version from back then, or any version. Grmpf. tricky.

Does anybody know whether conclusive actions also apply to copyright law ? I believe so, but IANAL.

I've just asked RMS whether he knows some legally useful material on that, hope he isn't too busy.

--mtx

Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
#98 lore raw

PATCH 18/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 243

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this file is licensed under 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 3 file(s).

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=1853f5ea18b0

---
 arch/x86/kernel/eisa.c        |    3 +--
 arch/x86/kernel/idt.c         |    3 +--
 drivers/clocksource/acpi_pm.c |    3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)
arch/x86/kernel/eisa.c +1 -2
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * EISA specific code
- *
- * This file is licensed under the GPL V2
  */
 #include <linux/ioport.h>
 #include <linux/eisa.h>
arch/x86/kernel/idt.c +1 -2
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Interrupt descriptor table related code
- *
- * This file is licensed under the GPL V2
  */
 #include <linux/interrupt.h>
 
drivers/clocksource/acpi_pm.c +1 -2
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * linux/drivers/clocksource/acpi_pm.c
  *
@@ -12,8 +13,6 @@
  *
  * Based on parts of linux/drivers/acpi/hardware/hwtimer.c, timer_pit.c,
  * timer_hpet.c, and on Arjan van de Ven's implementation for 2.4.
- *
- * This file is licensed under the GPL v2.
  */
 
 #include <linux/acpi_pmtmr.h>
Reviewed-by on v1 18/25
#100 lore raw

RE: [Batch 16 patch 18/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 243

In reply to Thomas Gleixner
Quoted 16 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 18/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 243

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this file is licensed under the gpl v2

extracted by the scancode license scanner the SPDX license identifier

Quoted 8 lines

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=1853f5ea18b0

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

#101 lore raw

Re: [Batch 16 patch 18/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 243

In reply to Thomas Gleixner
Quoted 6 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this file is licensed under the gpl v2

Quoted 7 lines

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

Signature · 2 lines
Armijn Hemel, MSc
Tjaldur Software Governance Solutions
Reviewed-by on v1 18/25
#102 lore raw

Re: [Batch 16 patch 18/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 243

In reply to Thomas Gleixner
Quoted 6 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this file is licensed under the gpl v2

Quoted 7 lines

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

#103 lore raw

PATCH 19/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 244

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this file is rleased under 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 1 file(s).

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=7e8a1b10bf1b

---
 include/linux/klist.h |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
include/linux/klist.h +1 -3
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *	klist.h - Some generic list helpers, extending struct list_head a bit.
  *
  *	Implementations are found in lib/klist.c
  *
- *
  *	Copyright (C) 2005 Patrick Mochel
- *
- *	This file is rleased under the GPL v2.
  */
 
 #ifndef _LINUX_KLIST_H
Reviewed-by Enrico Weigelt on v1 19/25
#104 lore raw

Re: [Batch 16 patch 19/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 244

Quoted 28 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this file is rleased under 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 1 file(s).

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=7e8a1b10bf1b

---
 include/linux/klist.h |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
include/linux/klist.h +1 -0
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  *	klist.h - Some generic list helpers, extending struct list_head a bit.

include/linux/klist.h line 10

Quoted 10 lines
include/linux/klist.h +0 -3
  *
  *	Implementations are found in lib/klist.c
  *
- *
  *	Copyright (C) 2005 Patrick Mochel
- *
- *	This file is rleased under the GPL v2.
  */
 
 #ifndef _LINUX_KLIST_H
Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
Reviewed-by on v1 19/25
#105 lore raw

RE: [Batch 16 patch 19/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 244

In reply to Thomas Gleixner
Quoted 16 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 19/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 244

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this file is rleased under the gpl v2

extracted by the scancode license scanner the SPDX license identifier

Quoted 8 lines

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=7e8a1b10bf1b

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

Reviewed-by on v1 19/25
#106 lore raw

Re: [Batch 16 patch 19/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 244

In reply to Thomas Gleixner
Quoted 6 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this file is rleased under the gpl v2

Quoted 7 lines

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

#107 lore raw

PATCH 20/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 245

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

gpl v2 only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=c03b5fe8c6d0

---
 include/linux/platform_data/atmel.h |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
include/linux/platform_data/atmel.h +1 -2
@@ -1,7 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * atmel platform data
- *
- * GPL v2 Only
  */
 
 #ifndef __ATMEL_H__
Reviewed-by Enrico Weigelt on v1 20/25
#108 lore raw

Re: [Batch 16 patch 20/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 245

Quoted 25 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

gpl v2 only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=c03b5fe8c6d0

---
 include/linux/platform_data/atmel.h |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

include/linux/platform_data/atmel.h line 6

Quoted 8 lines
include/linux/platform_data/atmel.h +1 -2
@@ -1,7 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * atmel platform data
- *
- * GPL v2 Only
  */
 
 #ifndef __ATMEL_H__
Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
Reviewed-by on v1 20/25
#109 lore raw

RE: [Batch 16 patch 20/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 245

In reply to Thomas Gleixner
Quoted 16 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 20/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 245

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

gpl v2 only

extracted by the scancode license scanner the SPDX license identifier

Quoted 8 lines

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=c03b5fe8c6d0

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

Reviewed-by on v1 20/25
#110 lore raw

Re: [Batch 16 patch 20/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 245

In reply to Thomas Gleixner
Quoted 6 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

gpl v2 only

Quoted 7 lines

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

#111 lore raw

PATCH 21/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 246

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

released under the term of the gnu 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 16 file(s).

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=179c9ec98290

---
 drivers/macintosh/rack-meter.c             |    4 +---
 drivers/macintosh/smu.c                    |    3 +--
 drivers/macintosh/windfarm.h               |    3 +--
 drivers/macintosh/windfarm_ad7417_sensor.c |    3 +--
 drivers/macintosh/windfarm_core.c          |    3 +--
 drivers/macintosh/windfarm_fcu_controls.c  |    3 +--
 drivers/macintosh/windfarm_lm75_sensor.c   |    3 +--
 drivers/macintosh/windfarm_lm87_sensor.c   |    4 +---
 drivers/macintosh/windfarm_mpu.h           |    3 +--
 drivers/macintosh/windfarm_pid.c           |    3 +--
 drivers/macintosh/windfarm_pid.h           |    3 +--
 drivers/macintosh/windfarm_pm121.c         |   13 +------------
 drivers/macintosh/windfarm_pm81.c          |    4 +---
 drivers/macintosh/windfarm_pm91.c          |    3 +--
 drivers/macintosh/windfarm_smu_controls.c  |    3 +--
 drivers/macintosh/windfarm_smu_sensors.c   |    3 +--
 16 files changed, 16 insertions(+), 45 deletions(-)
drivers/macintosh/rack-meter.c +1 -3
@@ -1,18 +1,16 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * RackMac vu-meter driver
  *
  * (c) Copyright 2006 Benjamin Herrenschmidt, IBM Corp.
  *                    <[email protected]>
  *
- * Released under the term of the GNU GPL v2.
- *
  * Support the CPU-meter LEDs of the Xserve G5
  *
  * TODO: Implement PWM to do variable intensity and provide userland
  * interface for fun. Also, the CPU-meter could be made nicer by being
  * a bit less "immediate" but giving instead a more average load over
  * time. Patches welcome :-)
- *
  */
 #undef DEBUG
 
drivers/macintosh/smu.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * PowerMac G5 SMU driver
  *
  * Copyright 2004 J. Mayer <[email protected]>
  * Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
- *
- * Released under the term of the GNU GPL v2.
  */
 
 /*
drivers/macintosh/windfarm.h +1 -2
@@ -1,10 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Windfarm PowerMac thermal control.
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <[email protected]>
- *
- * Released under the term of the GNU GPL v2.
  */
 
 #ifndef __WINDFARM_H__
drivers/macintosh/windfarm_ad7417_sensor.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. AD7417 sensors
  *
  * Copyright 2012 Benjamin Herrenschmidt, IBM Corp.
- *
- * Released under the term of the GNU GPL v2.
  */
 
 #include <linux/types.h>
drivers/macintosh/windfarm_core.c +1 -2
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. Core
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <[email protected]>
  *
- * Released under the term of the GNU GPL v2.
- *
  * This core code tracks the list of sensors & controls, register
  * clients, and holds the kernel thread used for control.
  *
drivers/macintosh/windfarm_fcu_controls.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. FCU fan control
  *
  * Copyright 2012 Benjamin Herrenschmidt, IBM Corp.
- *
- * Released under the term of the GNU GPL v2.
  */
 #undef DEBUG
 
drivers/macintosh/windfarm_lm75_sensor.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. LM75 sensor
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <[email protected]>
- *
- * Released under the term of the GNU GPL v2.
  */
 
 #include <linux/types.h>
drivers/macintosh/windfarm_lm87_sensor.c +1 -3
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. LM87 sensor
  *
  * Copyright 2012 Benjamin Herrenschmidt, IBM Corp.
- *
- * Released under the term of the GNU GPL v2.
- *
  */
 
 #include <linux/types.h>
drivers/macintosh/windfarm_mpu.h +1 -2
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Windfarm PowerMac thermal control
  *
  * Copyright 2012 Benjamin Herrenschmidt, IBM Corp.
- *
- * Released under the term of the GNU GPL v2.
  */
 
 #ifndef __WINDFARM_MPU_H
drivers/macintosh/windfarm_pid.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. Generic PID helpers
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <[email protected]>
- *
- * Released under the term of the GNU GPL v2.
  */
 
 #include <linux/types.h>
drivers/macintosh/windfarm_pid.h +1 -2
@@ -1,11 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Windfarm PowerMac thermal control. Generic PID helpers
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <[email protected]>
  *
- * Released under the term of the GNU GPL v2.
- *
  * This is a pair of generic PID helpers that can be used by
  * control loops. One is the basic PID implementation, the
  * other one is more specifically tailored to the loops used
drivers/macintosh/windfarm_pm121.c +1 -12
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. iMac G5 iSight
  *
@@ -6,14 +7,9 @@
  * Bits & pieces from windfarm_pm81.c by (c) Copyright 2005 Benjamin
  * Herrenschmidt, IBM Corp. <[email protected]>
  *
- * Released under the term of the GNU GPL v2.
- *
- *
- *
  * PowerMac12,1
  * ============
  *
- *
  * The algorithm used is the PID control algorithm, used the same way
  * the published Darwin code does, using the same values that are
  * present in the Darwin 8.10 snapshot property lists (note however
@@ -25,7 +21,6 @@
  * controls with a tiny difference. The control-ids of hard-drive-fan
  * and cpu-fan is swapped.
  *
- *
  * Target Correction :
  *
  * controls have a target correction calculated as :
@@ -63,7 +58,6 @@
  *   offset		: -15650652
  *   slope		:  1565065
  *
- *
  * Target rubber-banding :
  *
  * Some controls have a target correction which depends on another
@@ -76,7 +70,6 @@
  *
  * new_target = max (new_target, new_min >> 16)
  *
- *
  * # model_id : 2
  *   control	: cpu-fan
  *   ref	: optical-drive-fan
@@ -89,12 +82,10 @@
  *   offset	: -32768000
  *   slope	: 65536
  *
- *
  * In order to have the moste efficient correction with those
  * dependencies, we must trigger HD loop before OD loop before CPU
  * loop.
  *
- *
  * The various control loops found in Darwin config file are:
  *
  * HD Fan control loop.
@@ -191,12 +182,10 @@
  *   sensors        : cpu-temp, cpu-power
  *   PID params     : from SDB partition
  *
- *
  * CPU Slew control loop.
  *
  *   control        : cpufreq-clamp
  *   sensor         : cpu-temp
- *
  */
 
 #undef	DEBUG
drivers/macintosh/windfarm_pm81.c +1 -3
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. iMac G5
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <[email protected]>
  *
- * Released under the term of the GNU GPL v2.
- *
  * The algorithm used is the PID control algorithm, used the same
  * way the published Darwin code does, using the same values that
  * are present in the Darwin 8.2 snapshot property lists (note however
@@ -90,7 +89,6 @@
  * from the SDB partition. If we ever end up with actually slewing the system
  * clock and thus changing operating points, we'll have to find a way to
  * communicate with the CPU freq driver;
- *
  */
 
 #include <linux/types.h>
drivers/macintosh/windfarm_pm91.c +1 -2
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. SMU based 1 CPU desktop control loops
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <[email protected]>
  *
- * Released under the term of the GNU GPL v2.
- *
  * The algorithm used is the PID control algorithm, used the same
  * way the published Darwin code does, using the same values that
  * are present in the Darwin 8.2 snapshot property lists (note however
drivers/macintosh/windfarm_smu_controls.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. SMU based controls
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <[email protected]>
- *
- * Released under the term of the GNU GPL v2.
  */
 
 #include <linux/types.h>
drivers/macintosh/windfarm_smu_sensors.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. SMU based sensors
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <[email protected]>
- *
- * Released under the term of the GNU GPL v2.
  */
 
 #include <linux/types.h>
Reviewed-by Enrico Weigelt on v1 21/25
#112 lore raw

Re: [Batch 16 patch 21/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 246

Quoted 326 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

released under the term of the gnu 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 16 file(s).

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=179c9ec98290

---
 drivers/macintosh/rack-meter.c             |    4 +---
 drivers/macintosh/smu.c                    |    3 +--
 drivers/macintosh/windfarm.h               |    3 +--
 drivers/macintosh/windfarm_ad7417_sensor.c |    3 +--
 drivers/macintosh/windfarm_core.c          |    3 +--
 drivers/macintosh/windfarm_fcu_controls.c  |    3 +--
 drivers/macintosh/windfarm_lm75_sensor.c   |    3 +--
 drivers/macintosh/windfarm_lm87_sensor.c   |    4 +---
 drivers/macintosh/windfarm_mpu.h           |    3 +--
 drivers/macintosh/windfarm_pid.c           |    3 +--
 drivers/macintosh/windfarm_pid.h           |    3 +--
 drivers/macintosh/windfarm_pm121.c         |   13 +------------
 drivers/macintosh/windfarm_pm81.c          |    4 +---
 drivers/macintosh/windfarm_pm91.c          |    3 +--
 drivers/macintosh/windfarm_smu_controls.c  |    3 +--
 drivers/macintosh/windfarm_smu_sensors.c   |    3 +--
 16 files changed, 16 insertions(+), 45 deletions(-)
drivers/macintosh/rack-meter.c +1 -3
@@ -1,18 +1,16 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * RackMac vu-meter driver
  *
  * (c) Copyright 2006 Benjamin Herrenschmidt, IBM Corp.
  *                    <[email protected]>
  *
- * Released under the term of the GNU GPL v2.
- *
  * Support the CPU-meter LEDs of the Xserve G5
  *
  * TODO: Implement PWM to do variable intensity and provide userland
  * interface for fun. Also, the CPU-meter could be made nicer by being
  * a bit less "immediate" but giving instead a more average load over
  * time. Patches welcome :-)
- *
  */
 #undef DEBUG
 
drivers/macintosh/smu.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * PowerMac G5 SMU driver
  *
  * Copyright 2004 J. Mayer <[email protected]>
  * Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
- *
- * Released under the term of the GNU GPL v2.
  */
 
 /*
drivers/macintosh/windfarm.h +1 -2
@@ -1,10 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Windfarm PowerMac thermal control.
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <[email protected]>
- *
- * Released under the term of the GNU GPL v2.
  */
 
 #ifndef __WINDFARM_H__
drivers/macintosh/windfarm_ad7417_sensor.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. AD7417 sensors
  *
  * Copyright 2012 Benjamin Herrenschmidt, IBM Corp.
- *
- * Released under the term of the GNU GPL v2.
  */
 
 #include <linux/types.h>
drivers/macintosh/windfarm_core.c +1 -2
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. Core
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <[email protected]>
  *
- * Released under the term of the GNU GPL v2.
- *
  * This core code tracks the list of sensors & controls, register
  * clients, and holds the kernel thread used for control.
  *
drivers/macintosh/windfarm_fcu_controls.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. FCU fan control
  *
  * Copyright 2012 Benjamin Herrenschmidt, IBM Corp.
- *
- * Released under the term of the GNU GPL v2.
  */
 #undef DEBUG
 
drivers/macintosh/windfarm_lm75_sensor.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. LM75 sensor
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <[email protected]>
- *
- * Released under the term of the GNU GPL v2.
  */
 
 #include <linux/types.h>
drivers/macintosh/windfarm_lm87_sensor.c +1 -3
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. LM87 sensor
  *
  * Copyright 2012 Benjamin Herrenschmidt, IBM Corp.
- *
- * Released under the term of the GNU GPL v2.
- *
  */
 
 #include <linux/types.h>
drivers/macintosh/windfarm_mpu.h +1 -2
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Windfarm PowerMac thermal control
  *
  * Copyright 2012 Benjamin Herrenschmidt, IBM Corp.
- *
- * Released under the term of the GNU GPL v2.
  */
 
 #ifndef __WINDFARM_MPU_H
drivers/macintosh/windfarm_pid.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. Generic PID helpers
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <[email protected]>
- *
- * Released under the term of the GNU GPL v2.
  */
 
 #include <linux/types.h>
drivers/macintosh/windfarm_pid.h +1 -2
@@ -1,11 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Windfarm PowerMac thermal control. Generic PID helpers
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <[email protected]>
  *
- * Released under the term of the GNU GPL v2.
- *
  * This is a pair of generic PID helpers that can be used by
  * control loops. One is the basic PID implementation, the
  * other one is more specifically tailored to the loops used
drivers/macintosh/windfarm_pm121.c +1 -12
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. iMac G5 iSight
  *
@@ -6,14 +7,9 @@
  * Bits & pieces from windfarm_pm81.c by (c) Copyright 2005 Benjamin
  * Herrenschmidt, IBM Corp. <[email protected]>
  *
- * Released under the term of the GNU GPL v2.
- *
- *
- *
  * PowerMac12,1
  * ============
  *
- *
  * The algorithm used is the PID control algorithm, used the same way
  * the published Darwin code does, using the same values that are
  * present in the Darwin 8.10 snapshot property lists (note however
@@ -25,7 +21,6 @@
  * controls with a tiny difference. The control-ids of hard-drive-fan
  * and cpu-fan is swapped.
  *
- *
  * Target Correction :
  *
  * controls have a target correction calculated as :
@@ -63,7 +58,6 @@
  *   offset		: -15650652
  *   slope		:  1565065
  *
- *
  * Target rubber-banding :
  *
  * Some controls have a target correction which depends on another
@@ -76,7 +70,6 @@
  *
  * new_target = max (new_target, new_min >> 16)
  *
- *
  * # model_id : 2
  *   control	: cpu-fan
  *   ref	: optical-drive-fan
@@ -89,12 +82,10 @@
  *   offset	: -32768000
  *   slope	: 65536
  *
- *
  * In order to have the moste efficient correction with those
  * dependencies, we must trigger HD loop before OD loop before CPU
  * loop.
  *
- *
  * The various control loops found in Darwin config file are:
  *
  * HD Fan control loop.
@@ -191,12 +182,10 @@
  *   sensors        : cpu-temp, cpu-power
  *   PID params     : from SDB partition
  *
- *
  * CPU Slew control loop.
  *
  *   control        : cpufreq-clamp
  *   sensor         : cpu-temp
- *
  */
 
 #undef	DEBUG
drivers/macintosh/windfarm_pm81.c +1 -3
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. iMac G5
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <[email protected]>
  *
- * Released under the term of the GNU GPL v2.
- *
  * The algorithm used is the PID control algorithm, used the same
  * way the published Darwin code does, using the same values that
  * are present in the Darwin 8.2 snapshot property lists (note however
@@ -90,7 +89,6 @@
  * from the SDB partition. If we ever end up with actually slewing the system
  * clock and thus changing operating points, we'll have to find a way to
  * communicate with the CPU freq driver;
- *
  */
 
 #include <linux/types.h>
drivers/macintosh/windfarm_pm91.c +1 -2
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. SMU based 1 CPU desktop control loops
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <[email protected]>
  *
- * Released under the term of the GNU GPL v2.
- *
  * The algorithm used is the PID control algorithm, used the same
  * way the published Darwin code does, using the same values that
  * are present in the Darwin 8.2 snapshot property lists (note however
drivers/macintosh/windfarm_smu_controls.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control. SMU based controls
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <[email protected]>
- *
- * Released under the term of the GNU GPL v2.
  */
 
 #include <linux/types.h>
drivers/macintosh/windfarm_smu_sensors.c +1 -0
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only

drivers/macintosh/windfarm_smu_sensors.c line 9

Quoted 10 lines
drivers/macintosh/windfarm_smu_sensors.c +0 -2
 /*
  * Windfarm PowerMac thermal control. SMU based sensors
  *
  * (c) Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
  *                    <[email protected]>
- *
- * Released under the term of the GNU GPL v2.
  */
 
 #include <linux/types.h>
Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
Reviewed-by on v1 21/25
#113 lore raw

RE: [Batch 16 patch 21/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 246

In reply to Thomas Gleixner
Quoted 16 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 21/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 246

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

released under the term of the gnu gpl v2

extracted by the scancode license scanner the SPDX license identifier

Quoted 8 lines

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=179c9ec98290

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

Reviewed-by on v1 21/25
#114 lore raw

Re: [Batch 16 patch 21/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 246

In reply to Thomas Gleixner
Quoted 6 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

released under the term of the gnu gpl v2

Quoted 7 lines

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

#115 lore raw

PATCH 22/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 247

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=ddd236877a92

---
 drivers/macintosh/windfarm_max6690_sensor.c |    3 +--
 drivers/macintosh/windfarm_pm112.c          |    3 +--
 drivers/macintosh/windfarm_pm72.c           |    3 +--
 drivers/macintosh/windfarm_rm31.c           |    3 +--
 tools/pcmcia/crc32hash.c                    |    1 +
 5 files changed, 5 insertions(+), 8 deletions(-)
drivers/macintosh/windfarm_max6690_sensor.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control.  MAX6690 sensor.
  *
  * Copyright (C) 2005 Paul Mackerras, IBM Corp. <[email protected]>
- *
- * Use and redistribute under the terms of the GNU GPL v2.
  */
 #include <linux/types.h>
 #include <linux/errno.h>
drivers/macintosh/windfarm_pm112.c +1 -2
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control.
  * Control loops for machines with SMU and PPC970MP processors.
  *
  * Copyright (C) 2005 Paul Mackerras, IBM Corp. <[email protected]>
  * Copyright (C) 2006 Benjamin Herrenschmidt, IBM Corp.
- *
- * Use and redistribute under the terms of the GNU GPL v2.
  */
 #include <linux/types.h>
 #include <linux/errno.h>
drivers/macintosh/windfarm_pm72.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control.
  * Control loops for PowerMac7,2 and 7,3
  *
  * Copyright (C) 2012 Benjamin Herrenschmidt, IBM Corp.
- *
- * Use and redistribute under the terms of the GNU GPL v2.
  */
 #include <linux/types.h>
 #include <linux/errno.h>
drivers/macintosh/windfarm_rm31.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control.
  * Control loops for RackMack3,1 (Xserve G5)
  *
  * Copyright (C) 2012 Benjamin Herrenschmidt, IBM Corp.
- *
- * Use and redistribute under the terms of the GNU GPL v2.
  */
 #include <linux/types.h>
 #include <linux/errno.h>
tools/pcmcia/crc32hash.c +1 -0
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* crc32hash.c - derived from linux/lib/crc32.c, GNU GPL v2 */
 /* Usage example:
 $ ./crc32hash "Dual Speed"
Reviewed-by Enrico Weigelt on v1 22/25
#116 lore raw

Re: [Batch 16 patch 22/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 247

Quoted 70 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=ddd236877a92

---
 drivers/macintosh/windfarm_max6690_sensor.c |    3 +--
 drivers/macintosh/windfarm_pm112.c          |    3 +--
 drivers/macintosh/windfarm_pm72.c           |    3 +--
 drivers/macintosh/windfarm_rm31.c           |    3 +--
 tools/pcmcia/crc32hash.c                    |    1 +
 5 files changed, 5 insertions(+), 8 deletions(-)
drivers/macintosh/windfarm_max6690_sensor.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control.  MAX6690 sensor.
  *
  * Copyright (C) 2005 Paul Mackerras, IBM Corp. <[email protected]>
- *
- * Use and redistribute under the terms of the GNU GPL v2.
  */
 #include <linux/types.h>
 #include <linux/errno.h>
drivers/macintosh/windfarm_pm112.c +1 -2
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control.
  * Control loops for machines with SMU and PPC970MP processors.
  *
  * Copyright (C) 2005 Paul Mackerras, IBM Corp. <[email protected]>
  * Copyright (C) 2006 Benjamin Herrenschmidt, IBM Corp.
- *
- * Use and redistribute under the terms of the GNU GPL v2.
  */
 #include <linux/types.h>
 #include <linux/errno.h>
drivers/macintosh/windfarm_pm72.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Windfarm PowerMac thermal control.
  * Control loops for PowerMac7,2 and 7,3
  *
  * Copyright (C) 2012 Benjamin Herrenschmidt, IBM Corp.
- *
- * Use and redistribute under the terms of the GNU GPL v2.
  */
 #include <linux/types.h>
 #include <linux/errno.h>
drivers/macintosh/windfarm_rm31.c +1 -0
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only

drivers/macintosh/windfarm_rm31.c line 9

Quoted 10 lines
drivers/macintosh/windfarm_rm31.c +0 -2
 /*
  * Windfarm PowerMac thermal control.
  * Control loops for RackMack3,1 (Xserve G5)
  *
  * Copyright (C) 2012 Benjamin Herrenschmidt, IBM Corp.
- *
- * Use and redistribute under the terms of the GNU GPL v2.
  */
 #include <linux/types.h>
 #include <linux/errno.h>

tools/pcmcia/crc32hash.c line 4

Quoted 9 lines
tools/pcmcia/crc32hash.c +1 -0
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /* crc32hash.c - derived from linux/lib/crc32.c, GNU GPL v2 */
 /* Usage example:
 $ ./crc32hash "Dual Speed"

Where exactly is that deduced from ?
Can we really be sure that this is correct ?

--mtx

Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
#117 lore raw

Re: [Batch 16 patch 22/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 247

Quoted 4 lines · metux IT consult
Quoted 4 lines
tools/pcmcia/crc32hash.c +1 -0
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
Quoted 8 lines

tools/pcmcia/crc32hash.c line 4

Quoted 5 lines
tools/pcmcia/crc32hash.c +0 -0
 /* crc32hash.c - derived from linux/lib/crc32.c, GNU GPL v2 */
 /* Usage example:
 $ ./crc32hash "Dual Speed"

Where exactly is that deduced from ?
Can we really be sure that this is correct ?

The code originally got added in commit 5085cb26503a by the individual whom your present interlocutor is in the habit of defining by means of the perpendicular pronoun.[*]

It is derived, as stated in the previous first line of the file, from lib/crc32.c in the Linux kernel source, which states:

* This source code is licensed under the GNU General Public License,
* Version 2. See the file COPYING for more details.

So it is correct that tools/pcmcia/crc32hash.c is licensened under GPL-2.0-only.

Dominik

[*] Cf. Yes Minister, S3E3.

Reviewed-by on v1 22/25
#118 lore raw

RE: [Batch 16 patch 22/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 247

In reply to Thomas Gleixner
Quoted 16 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 22/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 247

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

gnu gpl v2

extracted by the scancode license scanner the SPDX license identifier

Quoted 8 lines

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=ddd236877a92

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

Reviewed-by on v1 22/25
#119 lore raw

Re: [Batch 16 patch 22/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 247

In reply to Thomas Gleixner
Quoted 6 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

gnu gpl v2

Quoted 7 lines

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

#120 lore raw

PATCH 23/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 248

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this file is released under 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 3 file(s).

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=2331cf8010a2

---
 kernel/power/poweroff.c |    3 +--
 lib/klist.c             |    3 +--
 mm/interval_tree.c      |    3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)
kernel/power/poweroff.c +1 -2
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * poweroff.c - sysrq handler to gracefully power down machine.
- *
- * This file is released under the GPL v2
  */
 
 #include <linux/kernel.h>
lib/klist.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * klist.c - Routines for manipulating klists.
  *
  * Copyright (C) 2005 Patrick Mochel
  *
- * This file is released under the GPL v2.
- *
  * This klist interface provides a couple of structures that wrap around
  * struct list_head to provide explicit list "head" (struct klist) and list
  * "node" (struct klist_node) objects. For struct klist, a spinlock is
mm/interval_tree.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * mm/interval_tree.c - interval tree for mapping->i_mmap
  *
  * Copyright (C) 2012, Michel Lespinasse <[email protected]>
- *
- * This file is released under the GPL v2.
  */
 
 #include <linux/mm.h>
Reviewed-by Enrico Weigelt on v1 23/25
#121 lore raw

Re: [Batch 16 patch 23/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 248

Quoted 52 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this file is released under 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 3 file(s).

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=2331cf8010a2

---
 kernel/power/poweroff.c |    3 +--
 lib/klist.c             |    3 +--
 mm/interval_tree.c      |    3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)
kernel/power/poweroff.c +1 -2
@@ -1,7 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * poweroff.c - sysrq handler to gracefully power down machine.
- *
- * This file is released under the GPL v2
  */
 
 #include <linux/kernel.h>
lib/klist.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * klist.c - Routines for manipulating klists.
  *
  * Copyright (C) 2005 Patrick Mochel
  *
- * This file is released under the GPL v2.
- *
  * This klist interface provides a couple of structures that wrap around
  * struct list_head to provide explicit list "head" (struct klist) and list
  * "node" (struct klist_node) objects. For struct klist, a spinlock is

mm/interval_tree.c line 8

Quoted 10 lines
mm/interval_tree.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * mm/interval_tree.c - interval tree for mapping->i_mmap
  *
  * Copyright (C) 2012, Michel Lespinasse <[email protected]>
- *
- * This file is released under the GPL v2.
  */
 
 #include <linux/mm.h>
Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
Reviewed-by on v1 23/25
#122 lore raw

RE: [Batch 16 patch 23/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 248

In reply to Thomas Gleixner
Quoted 16 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 23/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 248

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this file is released under the gpl v2

extracted by the scancode license scanner the SPDX license identifier

Quoted 8 lines

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=2331cf8010a2

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

#123 lore raw

Re: [Batch 16 patch 23/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 248

In reply to Thomas Gleixner
Quoted 6 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this file is released under the gpl v2

Quoted 7 lines

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

Signature · 2 lines
Armijn Hemel, MSc
Tjaldur Software Governance Solutions
Reviewed-by on v1 23/25
#124 lore raw

Re: [Batch 16 patch 23/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 248

In reply to Thomas Gleixner
Quoted 6 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

this file is released under the gpl v2

Quoted 7 lines

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

#125 lore raw

PATCH 24/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 249

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

as all part of the linux kernel this file is gpl

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=0ee0dedd4f02

---
 net/wireless/wext-core.c |    3 +--
 net/wireless/wext-priv.c |    3 +--
 net/wireless/wext-proc.c |    3 +--
 net/wireless/wext-spy.c  |    3 +--
 4 files changed, 4 insertions(+), 8 deletions(-)
net/wireless/wext-core.c +1 -2
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * This file implement the Wireless Extensions core API.
  *
  * Authors :	Jean Tourrilhes - HPL - <[email protected]>
  * Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved.
  * Copyright	2009 Johannes Berg <[email protected]>
- *
- * (As all part of the Linux kernel, this file is GPL)
  */
 #include <linux/kernel.h>
 #include <linux/netdevice.h>
net/wireless/wext-priv.c +1 -2
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * This file implement the Wireless Extensions priv API.
  *
  * Authors :	Jean Tourrilhes - HPL - <[email protected]>
  * Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved.
  * Copyright	2009 Johannes Berg <[email protected]>
- *
- * (As all part of the Linux kernel, this file is GPL)
  */
 #include <linux/slab.h>
 #include <linux/wireless.h>
net/wireless/wext-proc.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * This file implement the Wireless Extensions proc API.
  *
  * Authors :	Jean Tourrilhes - HPL - <[email protected]>
  * Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved.
- *
- * (As all part of the Linux kernel, this file is GPL)
  */
 
 /*
net/wireless/wext-spy.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * This file implement the Wireless Extensions spy API.
  *
  * Authors :	Jean Tourrilhes - HPL - <[email protected]>
  * Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved.
- *
- * (As all part of the Linux kernel, this file is GPL)
  */
 
 #include <linux/wireless.h>
Reviewed-by Enrico Weigelt on v1 24/25
#126 lore raw

Re: [Batch 16 patch 24/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 249

Quoted 73 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

as all part of the linux kernel this file is gpl

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=0ee0dedd4f02

---
 net/wireless/wext-core.c |    3 +--
 net/wireless/wext-priv.c |    3 +--
 net/wireless/wext-proc.c |    3 +--
 net/wireless/wext-spy.c  |    3 +--
 4 files changed, 4 insertions(+), 8 deletions(-)
net/wireless/wext-core.c +1 -2
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * This file implement the Wireless Extensions core API.
  *
  * Authors :	Jean Tourrilhes - HPL - <[email protected]>
  * Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved.
  * Copyright	2009 Johannes Berg <[email protected]>
- *
- * (As all part of the Linux kernel, this file is GPL)
  */
 #include <linux/kernel.h>
 #include <linux/netdevice.h>
net/wireless/wext-priv.c +1 -2
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * This file implement the Wireless Extensions priv API.
  *
  * Authors :	Jean Tourrilhes - HPL - <[email protected]>
  * Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved.
  * Copyright	2009 Johannes Berg <[email protected]>
- *
- * (As all part of the Linux kernel, this file is GPL)
  */
 #include <linux/slab.h>
 #include <linux/wireless.h>
net/wireless/wext-proc.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * This file implement the Wireless Extensions proc API.
  *
  * Authors :	Jean Tourrilhes - HPL - <[email protected]>
  * Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved.
- *
- * (As all part of the Linux kernel, this file is GPL)
  */
 
 /*
net/wireless/wext-spy.c +1 -0
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only

net/wireless/wext-spy.c line 9

Quoted 10 lines
net/wireless/wext-spy.c +0 -2
 /*
  * This file implement the Wireless Extensions spy API.
  *
  * Authors :	Jean Tourrilhes - HPL - <[email protected]>
  * Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved.
- *
- * (As all part of the Linux kernel, this file is GPL)
  */
 
 #include <linux/wireless.h>
Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
#127 lore raw

RE: [Batch 16 patch 24/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 249

In reply to Thomas Gleixner
Quoted 37 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 24/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 249

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

as all part of the linux kernel this file is gpl

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-
spdx.git/commit/?h=batch16&id=0ee0dedd4f02

---
 net/wireless/wext-core.c |    3 +--
 net/wireless/wext-priv.c |    3 +--
 net/wireless/wext-proc.c |    3 +--
 net/wireless/wext-spy.c  |    3 +--
 4 files changed, 4 insertions(+), 8 deletions(-)
net/wireless/wext-core.c +1 -0
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*

net/wireless/wext-core.c line 10

Quoted 10 lines
net/wireless/wext-core.c +0 -2
  * This file implement the Wireless Extensions core API.
  *
  * Authors :	Jean Tourrilhes - HPL - <[email protected]>
  * Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved.
  * Copyright	2009 Johannes Berg <[email protected]>
- *
- * (As all part of the Linux kernel, this file is GPL)
  */
 #include <linux/kernel.h>
 #include <linux/netdevice.h>

No license version specified and not even a reference to COPYING.

-- zvr -

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

maintainer
#128 lore raw

Re: [Batch 16 patch 24/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 249

Quoted 41 lines · Alexios
Quoted 41 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 24/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 249

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

as all part of the linux kernel this file is gpl

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-
spdx.git/commit/?h=batch16&id=0ee0dedd4f02

---
 net/wireless/wext-core.c |    3 +--
 net/wireless/wext-priv.c |    3 +--
 net/wireless/wext-proc.c |    3 +--
 net/wireless/wext-spy.c  |    3 +--
 4 files changed, 4 insertions(+), 8 deletions(-)
net/wireless/wext-core.c +1 -0
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * This file implement the Wireless Extensions core API.
  *
  * Authors :	Jean Tourrilhes - HPL - <[email protected]>
  * Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved.
Quoted 8 lines

net/wireless/wext-core.c line 10

Quoted 6 lines
net/wireless/wext-core.c +0 -2
  * Copyright	2009 Johannes Berg <[email protected]>
- *
- * (As all part of the Linux kernel, this file is GPL)
  */
 #include <linux/kernel.h>
 #include <linux/netdevice.h>

No license version specified and not even a reference to COPYING.

The Linux kernel is GPLv2 only, so I would agree with this identifier change.

thanks,

greg k-h

Reviewed-by
#129 lore raw

Re: [Batch 16 patch 24/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 249

Quoted 11 lines · Greg KH
Quoted 10 lines · Alexios
Quoted 10 lines

Based on 1 normalized pattern(s):

as all part of the linux kernel this file is gpl

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

[...]

Quoted 4 lines
Quoted 1 line

No license version specified and not even a reference to COPYING.

The Linux kernel is GPLv2 only, so I would agree with this identifier change.

Might be worth holding for review, but I agree with the change as-is.

#130 lore raw

PATCH 25/25 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 250

In reply to Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

gpl v2 can be found in copying

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=f29729cc6237

---
 sound/aoa/aoa-gpio.h                  |    3 +--
 sound/aoa/aoa.h                       |    3 +--
 sound/aoa/codecs/onyx.c               |    5 +----
 sound/aoa/codecs/onyx.h               |    3 +--
 sound/aoa/codecs/tas.c                |    3 +--
 sound/aoa/codecs/tas.h                |    3 +--
 sound/aoa/codecs/toonie.c             |    4 +---
 sound/aoa/core/alsa.c                 |    3 +--
 sound/aoa/core/alsa.h                 |    3 +--
 sound/aoa/core/core.c                 |    3 +--
 sound/aoa/core/gpio-feature.c         |    3 +--
 sound/aoa/core/gpio-pmf.c             |    3 +--
 sound/aoa/fabrics/layout.c            |    4 +---
 sound/aoa/soundbus/core.c             |    3 +--
 sound/aoa/soundbus/i2sbus/control.c   |    3 +--
 sound/aoa/soundbus/i2sbus/core.c      |    3 +--
 sound/aoa/soundbus/i2sbus/i2sbus.h    |    3 +--
 sound/aoa/soundbus/i2sbus/interface.h |    3 +--
 sound/aoa/soundbus/i2sbus/pcm.c       |    3 +--
 sound/aoa/soundbus/soundbus.h         |    3 +--
 20 files changed, 20 insertions(+), 44 deletions(-)
sound/aoa/aoa-gpio.h +1 -2
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Apple Onboard Audio GPIO definitions
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 
 #ifndef __AOA_GPIO_H
sound/aoa/aoa.h +1 -2
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Apple Onboard Audio definitions
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 
 #ifndef __AOA_H
sound/aoa/codecs/onyx.c +1 -4
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Apple Onboard Audio driver for Onyx codec
  *
  * Copyright 2006 Johannes Berg <[email protected]>
  *
- * GPL v2, can be found in COPYING.
- *
- *
  * This is a driver for the pcm3052 codec chip (codenamed Onyx)
  * that is present in newer Apple hardware (with digital output).
  *
@@ -29,7 +27,6 @@
  *	 having just a single card on a system, and making the
  *	 'card' pointer accessible to anyone who needs it instead
  *	 of hiding it in the aoa_snd_* functions...
- *
  */
 #include <linux/delay.h>
 #include <linux/module.h>
sound/aoa/codecs/onyx.h +1 -2
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Apple Onboard Audio driver for Onyx codec (header)
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 #ifndef __SND_AOA_CODEC_ONYX_H
 #define __SND_AOA_CODEC_ONYX_H
sound/aoa/codecs/tas.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Apple Onboard Audio driver for tas codec
  *
  * Copyright 2006 Johannes Berg <[email protected]>
  *
- * GPL v2, can be found in COPYING.
- *
  * Open questions:
  *  - How to distinguish between 3004 and versions?
  *
sound/aoa/codecs/tas.h +1 -2
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Apple Onboard Audio driver for tas codec (header)
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 #ifndef __SND_AOA_CODECTASH
 #define __SND_AOA_CODECTASH
sound/aoa/codecs/toonie.c +1 -3
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Apple Onboard Audio driver for Toonie codec
  *
  * Copyright 2006 Johannes Berg <[email protected]>
  *
- * GPL v2, can be found in COPYING.
- *
- *
  * This is a driver for the toonie codec chip. This chip is present
  * on the Mac Mini and is nothing but a DAC.
  */
sound/aoa/core/alsa.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Apple Onboard Audio Alsa helpers
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 #include <linux/module.h>
 #include "alsa.h"
sound/aoa/core/alsa.h +1 -2
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Apple Onboard Audio Alsa private helpers
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 
 #ifndef __SND_AOA_ALSA_H
sound/aoa/core/core.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Apple Onboard Audio driver core
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 
 #include <linux/init.h>
sound/aoa/core/gpio-feature.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Apple Onboard Audio feature call GPIO control
  *
  * Copyright 2006 Johannes Berg <[email protected]>
  *
- * GPL v2, can be found in COPYING.
- *
  * This file contains the GPIO control routines for
  * direct (through feature calls) access to the GPIO
  * registers.
sound/aoa/core/gpio-pmf.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Apple Onboard Audio pmf GPIOs
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 
 #include <linux/slab.h>
sound/aoa/fabrics/layout.c +1 -3
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Apple Onboard Audio driver -- layout/machine id fabric
  *
  * Copyright 2006-2008 Johannes Berg <[email protected]>
  *
- * GPL v2, can be found in COPYING.
- *
- *
  * This fabric module looks for sound codecs based on the
  * layout-id or device-id property in the device tree.
  */
sound/aoa/soundbus/core.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * soundbus
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 
 #include <linux/module.h>
sound/aoa/soundbus/i2sbus/control.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * i2sbus driver -- bus control routines
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 
 #include <linux/kernel.h>
sound/aoa/soundbus/i2sbus/core.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * i2sbus driver
  *
  * Copyright 2006-2008 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 
 #include <linux/module.h>
sound/aoa/soundbus/i2sbus/i2sbus.h +1 -2
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * i2sbus driver -- private definitions
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 #ifndef __I2SBUS_H
 #define __I2SBUS_H
sound/aoa/soundbus/i2sbus/interface.h +1 -2
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * i2sbus driver -- interface register definitions
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 #ifndef __I2SBUS_INTERFACE_H
 #define __I2SBUS_INTERFACE_H
sound/aoa/soundbus/i2sbus/pcm.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * i2sbus driver -- pcm routines
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 
 #include <linux/io.h>
sound/aoa/soundbus/soundbus.h +1 -2
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * soundbus generic definitions
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 #ifndef __SOUNDBUS_H
 #define __SOUNDBUS_H
Reviewed-by Enrico Weigelt on v1 25/25
#131 lore raw

Re: [Batch 16 patch 25/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 250

Quoted 307 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

gpl v2 can be found in copying

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=f29729cc6237

---
 sound/aoa/aoa-gpio.h                  |    3 +--
 sound/aoa/aoa.h                       |    3 +--
 sound/aoa/codecs/onyx.c               |    5 +----
 sound/aoa/codecs/onyx.h               |    3 +--
 sound/aoa/codecs/tas.c                |    3 +--
 sound/aoa/codecs/tas.h                |    3 +--
 sound/aoa/codecs/toonie.c             |    4 +---
 sound/aoa/core/alsa.c                 |    3 +--
 sound/aoa/core/alsa.h                 |    3 +--
 sound/aoa/core/core.c                 |    3 +--
 sound/aoa/core/gpio-feature.c         |    3 +--
 sound/aoa/core/gpio-pmf.c             |    3 +--
 sound/aoa/fabrics/layout.c            |    4 +---
 sound/aoa/soundbus/core.c             |    3 +--
 sound/aoa/soundbus/i2sbus/control.c   |    3 +--
 sound/aoa/soundbus/i2sbus/core.c      |    3 +--
 sound/aoa/soundbus/i2sbus/i2sbus.h    |    3 +--
 sound/aoa/soundbus/i2sbus/interface.h |    3 +--
 sound/aoa/soundbus/i2sbus/pcm.c       |    3 +--
 sound/aoa/soundbus/soundbus.h         |    3 +--
 20 files changed, 20 insertions(+), 44 deletions(-)
sound/aoa/aoa-gpio.h +1 -2
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Apple Onboard Audio GPIO definitions
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 
 #ifndef __AOA_GPIO_H
sound/aoa/aoa.h +1 -2
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Apple Onboard Audio definitions
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 
 #ifndef __AOA_H
sound/aoa/codecs/onyx.c +1 -4
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Apple Onboard Audio driver for Onyx codec
  *
  * Copyright 2006 Johannes Berg <[email protected]>
  *
- * GPL v2, can be found in COPYING.
- *
- *
  * This is a driver for the pcm3052 codec chip (codenamed Onyx)
  * that is present in newer Apple hardware (with digital output).
  *
@@ -29,7 +27,6 @@
  *	 having just a single card on a system, and making the
  *	 'card' pointer accessible to anyone who needs it instead
  *	 of hiding it in the aoa_snd_* functions...
- *
  */
 #include <linux/delay.h>
 #include <linux/module.h>
sound/aoa/codecs/onyx.h +1 -2
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Apple Onboard Audio driver for Onyx codec (header)
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 #ifndef __SND_AOA_CODEC_ONYX_H
 #define __SND_AOA_CODEC_ONYX_H
sound/aoa/codecs/tas.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Apple Onboard Audio driver for tas codec
  *
  * Copyright 2006 Johannes Berg <[email protected]>
  *
- * GPL v2, can be found in COPYING.
- *
  * Open questions:
  *  - How to distinguish between 3004 and versions?
  *
sound/aoa/codecs/tas.h +1 -2
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Apple Onboard Audio driver for tas codec (header)
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 #ifndef __SND_AOA_CODECTASH
 #define __SND_AOA_CODECTASH
sound/aoa/codecs/toonie.c +1 -3
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Apple Onboard Audio driver for Toonie codec
  *
  * Copyright 2006 Johannes Berg <[email protected]>
  *
- * GPL v2, can be found in COPYING.
- *
- *
  * This is a driver for the toonie codec chip. This chip is present
  * on the Mac Mini and is nothing but a DAC.
  */
sound/aoa/core/alsa.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Apple Onboard Audio Alsa helpers
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 #include <linux/module.h>
 #include "alsa.h"
sound/aoa/core/alsa.h +1 -2
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * Apple Onboard Audio Alsa private helpers
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 
 #ifndef __SND_AOA_ALSA_H
sound/aoa/core/core.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Apple Onboard Audio driver core
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 
 #include <linux/init.h>
sound/aoa/core/gpio-feature.c +1 -2
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Apple Onboard Audio feature call GPIO control
  *
  * Copyright 2006 Johannes Berg <[email protected]>
  *
- * GPL v2, can be found in COPYING.
- *
  * This file contains the GPIO control routines for
  * direct (through feature calls) access to the GPIO
  * registers.
sound/aoa/core/gpio-pmf.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Apple Onboard Audio pmf GPIOs
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 
 #include <linux/slab.h>
sound/aoa/fabrics/layout.c +1 -3
@@ -1,11 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * Apple Onboard Audio driver -- layout/machine id fabric
  *
  * Copyright 2006-2008 Johannes Berg <[email protected]>
  *
- * GPL v2, can be found in COPYING.
- *
- *
  * This fabric module looks for sound codecs based on the
  * layout-id or device-id property in the device tree.
  */
sound/aoa/soundbus/core.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * soundbus
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 
 #include <linux/module.h>
sound/aoa/soundbus/i2sbus/control.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * i2sbus driver -- bus control routines
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 
 #include <linux/kernel.h>
sound/aoa/soundbus/i2sbus/core.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * i2sbus driver
  *
  * Copyright 2006-2008 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 
 #include <linux/module.h>
sound/aoa/soundbus/i2sbus/i2sbus.h +1 -2
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * i2sbus driver -- private definitions
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 #ifndef __I2SBUS_H
 #define __I2SBUS_H
sound/aoa/soundbus/i2sbus/interface.h +1 -2
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * i2sbus driver -- interface register definitions
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 #ifndef __I2SBUS_INTERFACE_H
 #define __I2SBUS_INTERFACE_H
sound/aoa/soundbus/i2sbus/pcm.c +1 -2
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * i2sbus driver -- pcm routines
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 
 #include <linux/io.h>

sound/aoa/soundbus/soundbus.h line 8

Quoted 10 lines
sound/aoa/soundbus/soundbus.h +1 -2
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * soundbus generic definitions
  *
  * Copyright 2006 Johannes Berg <[email protected]>
- *
- * GPL v2, can be found in COPYING.
  */
 #ifndef __SOUNDBUS_H
 #define __SOUNDBUS_H
Signature · 3 lines
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
[email protected] -- +49-151-27565287
Reviewed-by on v1 25/25
#132 lore raw

RE: [Batch 16 patch 25/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 250

In reply to Thomas Gleixner
Quoted 16 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Thomas Gleixner
Sent: Monday, 3 June, 2019 07:45
To: [email protected]
Subject: [Batch 16 patch 25/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 250

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

gpl v2 can be found in copying

extracted by the scancode license scanner the SPDX license identifier

Quoted 8 lines

GPL-2.0-only

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

---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch16&id=f29729cc6237

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928

Reviewed-by on v1 25/25
#133 lore raw

Re: [Batch 16 patch 25/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 250

In reply to Thomas Gleixner
Quoted 6 lines · Thomas Gleixner

From: Thomas Gleixner [email protected]

Based on 1 normalized pattern(s):

gpl v2 can be found in copying

Quoted 7 lines

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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