linux-spdx.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 0/4] SPDX: First batch of patches
@ 2019-05-07 12:19 Thomas Gleixner
  2019-05-07 12:19 ` [patch 2/4] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 2 Thomas Gleixner
                   ` (6 more replies)
  0 siblings, 7 replies; 25+ messages in thread
From: Thomas Gleixner @ 2019-05-07 12:19 UTC (permalink / raw)
  To: linux-spdx

Hi!

As promised here are the first 4 automatically generated patches. Each
patch handles exactly one match pattern (rule).

While reviewing the patch (actual code change) might be massively time
consuming, the quick and important part is to look at the patterns and
verify whether the license conclusion is correct. The tooling which
replaces exactly those patterns is pretty solid by now. But if you really
insists on looking at each individual file change, you're welcome. :)

Note that some of the patterns contain obscure things like:

     [no]_[pad]_[ctrl]

in the middle. This one is a clear copy and paste artifact which happens to
be in arch/arm/mach-imx/iomux-mx35.h:

 * of the License, or (at your option, NO_PAD_CTRL) any later version.

Oh well.....

Thanks,

	tglx



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

* [patch 2/4] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 2
  2019-05-07 12:19 [patch 0/4] SPDX: First batch of patches Thomas Gleixner
@ 2019-05-07 12:19 ` Thomas Gleixner
  2019-05-07 12:19 ` [patch 3/4] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 3 Thomas Gleixner
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 25+ messages in thread
From: Thomas Gleixner @ 2019-05-07 12:19 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  permission is hereby granted to copy modify and redistribute this
  code in terms of the gnu library general public license version 2 or
  later at your option



extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

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

The result has been manually verified and compared against a license
compliance dataset provided by ....

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


---

--- a/include/linux/mc146818rtc.h
+++ b/include/linux/mc146818rtc.h
@@ -1,11 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* mc146818rtc.h - register definitions for the Real-Time-Clock / CMOS RAM
  * Copyright Torsten Duwe <duwe@informatik.uni-erlangen.de> 1993
  * derived from Data Sheet, Copyright Motorola 1984 (!).
  * It was written to be part of the Linux operating system.
  */
-/* permission is hereby granted to copy, modify and redistribute this code
- * in terms of the GNU Library General Public License, Version 2 or later,
- * at your option.
  */
 
 #ifndef _MC146818RTC_H





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

* [patch 3/4] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 3
  2019-05-07 12:19 [patch 0/4] SPDX: First batch of patches Thomas Gleixner
  2019-05-07 12:19 ` [patch 2/4] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 2 Thomas Gleixner
@ 2019-05-07 12:19 ` Thomas Gleixner
  2019-05-07 12:19 ` [patch 4/4] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 4 Thomas Gleixner
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 25+ messages in thread
From: Thomas Gleixner @ 2019-05-07 12:19 UTC (permalink / raw)
  To: linux-spdx

Based on 2 normalized pattern(s):

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


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



extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

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

The result has been manually verified and compared against a license
compliance dataset provided by ....

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


---

--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -1,10 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2013 Pavel Machek <pavel@ucw.cz>
  * Copyright (C) 2013-2014 Aaro Koskinen <aaro.koskinen@iki.fi>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 (or later) as
- * published by the Free Software Foundation.
  */
 
 /dts-v1/;


--- a/arch/mips/jz4740/board-qi_lb60.c
+++ b/arch/mips/jz4740/board-qi_lb60.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * linux/arch/mips/jz4740/board-qi_lb60.c
  *
@@ -6,10 +7,6 @@
  * Copyright (c) 2009 Qi Hardware inc.,
  * Author: Xiangfu Liu <xiangfu@qi-hardware.com>
  * Copyright 2010, Lars-Peter Clausen <lars@metafoo.de>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 or later
- * as published by the Free Software Foundation.
  */
 
 #include <linux/kernel.h>


--- a/drivers/hwmon/aspeed-pwm-tacho.c
+++ b/drivers/hwmon/aspeed-pwm-tacho.c
@@ -1,9 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2016 Google, Inc
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 or later as
- * published by the Free Software Foundation.
  */
 
 #include <linux/clk.h>


--- a/net/ipv4/netfilter/nf_dup_ipv4.c
+++ b/net/ipv4/netfilter/nf_dup_ipv4.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * (C) 2007 by Sebastian Claßen <sebastian.classen@freenet.ag>
  * (C) 2007-2010 by Jan Engelhardt <jengelh@medozas.de>
  *
  * Extracted from xt_TEE.c
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 or later, as
- * published by the Free Software Foundation.
  */
 #include <linux/ip.h>
 #include <linux/module.h>


--- a/net/ipv6/netfilter/nf_dup_ipv6.c
+++ b/net/ipv6/netfilter/nf_dup_ipv6.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * (C) 2007 by Sebastian Claßen <sebastian.classen@freenet.ag>
  * (C) 2007-2010 by Jan Engelhardt <jengelh@medozas.de>
  *
  * Extracted from xt_TEE.c
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 or later, as
- * published by the Free Software Foundation.
  */
 #include <linux/module.h>
 #include <linux/percpu.h>


--- a/net/netfilter/xt_TEE.c
+++ b/net/netfilter/xt_TEE.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *	"TEE" target extension for Xtables
  *	Copyright © Sebastian Claßen, 2007
@@ -5,10 +6,6 @@
  *
  *	based on ipt_ROUTE.c from Cédric de Launois
  *	<delaunois@info.ucl.be>
- *
- *	This program is free software; you can redistribute it and/or
- *	modify it under the terms of the GNU General Public License
- *	version 2 or later, as published by the Free Software Foundation.
  */
 #include <linux/module.h>
 #include <linux/skbuff.h>


--- a/sound/soc/atmel/atmel-classd.c
+++ b/sound/soc/atmel/atmel-classd.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Atmel ALSA SoC Audio Class D Amplifier (CLASSD) driver
  *
  * Copyright (C) 2015 Atmel
  *
  * Author: Songjun Wu <songjun.wu@atmel.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 or later
- * as published by the Free Software Foundation.
  */
 
 #include <linux/of.h>


--- a/sound/soc/atmel/atmel-pdmic.c
+++ b/sound/soc/atmel/atmel-pdmic.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Atmel PDMIC driver
  *
  * Copyright (C) 2015 Atmel
  *
  * Author: Songjun Wu <songjun.wu@atmel.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 or later
- * as published by the Free Software Foundation.
  */
 
 #include <linux/of.h>





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

* [patch 4/4] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 4
  2019-05-07 12:19 [patch 0/4] SPDX: First batch of patches Thomas Gleixner
  2019-05-07 12:19 ` [patch 2/4] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 2 Thomas Gleixner
  2019-05-07 12:19 ` [patch 3/4] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 3 Thomas Gleixner
@ 2019-05-07 12:19 ` Thomas Gleixner
  2019-05-07 13:59 ` [patch 0/4] SPDX: First batch of patches Thomas Gleixner
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 25+ messages in thread
From: Thomas Gleixner @ 2019-05-07 12:19 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  licensed under gplv2 or later



extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

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

The result has been manually verified and compared against a license
compliance dataset provided by ....

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


---

--- a/arch/arm/boot/dts/aks-cdu.dts
+++ b/arch/arm/boot/dts/aks-cdu.dts
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * aks-cdu.dts - Device Tree file for AK signal CDU
  *
  * Copyright (C) 2012 AK signal Brno a.s.
  *               2012 Jiri Prchal <jiri.prchal@aksignal.cz>
- *
- * Licensed under GPLv2 or later.
  */
 
 /dts-v1/;


--- a/arch/arm/boot/dts/at91-ariag25.dts
+++ b/arch/arm/boot/dts/at91-ariag25.dts
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91-ariag25.dts - Device Tree file for Acme Systems Aria G25 (AT91SAM9G25 based)
  *
  * Copyright (C) 2013 Douglas Gilbert <dgilbert@interlog.com>,
  *                    Robert Nelson <robertcnelson@gmail.com>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include "at91sam9g25.dtsi"


--- a/arch/arm/boot/dts/at91-cosino.dtsi
+++ b/arch/arm/boot/dts/at91-cosino.dtsi
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91-cosino.dtsi - Device Tree file for Cosino core module
  *
@@ -7,8 +8,6 @@
  * Derived from at91sam9x5ek.dtsi by:
  *	Copyright (C) 2012 Atmel,
  *	2012 Nicolas Ferre <nicolas.ferre@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 #include "at91sam9g35.dtsi"


--- a/arch/arm/boot/dts/at91-cosino_mega2560.dts
+++ b/arch/arm/boot/dts/at91-cosino_mega2560.dts
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91-cosino_mega2560.dts - Device Tree file for Cosino board with
  *			      Mega 2560 extension
@@ -8,8 +9,6 @@
  * Derived from at91sam9g35ek.dts by:
  * 	Copyright (C) 2012 Atmel,
  *      2012 Nicolas Ferre <nicolas.ferre@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 /dts-v1/;


--- a/arch/arm/boot/dts/at91-foxg20.dts
+++ b/arch/arm/boot/dts/at91-foxg20.dts
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91-foxg20.dts - Device Tree file for Acme Systems FoxG20 board
  *
  * Based on DT files for at91sam9g20ek evaluation board (AT91SAM9G20 SoC)
  *
  * Copyright (C) 2013 Douglas Gilbert <dgilbert@interlog.com>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include "at91sam9g20.dtsi"


--- a/arch/arm/boot/dts/at91-kizbox.dts
+++ b/arch/arm/boot/dts/at91-kizbox.dts
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91-kizbox.dts - Device Tree file for Overkiz Kizbox board
  *
  * Copyright (C) 2012-2014 Boris BREZILLON <b.brezillon@overkiz.com>
  *               2014-2015 Gaël PORTAY <g.portay@overkiz.com>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include "at91sam9g20.dtsi"


--- a/arch/arm/boot/dts/at91-kizbox2.dts
+++ b/arch/arm/boot/dts/at91-kizbox2.dts
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91-kizbox2.dts - Device Tree file for Overkiz Kizbox 2 board
  *
  * Copyright (C) 2014 Gaël PORTAY <g.portay@overkiz.com>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include "sama5d31.dtsi"


--- a/arch/arm/boot/dts/at91-kizboxmini.dts
+++ b/arch/arm/boot/dts/at91-kizboxmini.dts
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91-kizboxmini.dts - Device Tree file for Overkiz Kizbox mini board
  *
  * Copyright (C) 2014 Gaël PORTAY <g.portay@overkiz.com>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include "at91sam9g25.dtsi"


--- a/arch/arm/boot/dts/at91-linea.dtsi
+++ b/arch/arm/boot/dts/at91-linea.dtsi
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91-linea.dtsi - Device Tree Include file for the Axentia Linea Module.
  *
  * Copyright (C) 2017 Axentia Technologies AB
  *
  * Author: Peter Rosin <peda@axentia.se>
- *
- * Licensed under GPLv2 or later.
  */
 
 #include "sama5d31.dtsi"


--- a/arch/arm/boot/dts/at91-sam9_l9260.dts
+++ b/arch/arm/boot/dts/at91-sam9_l9260.dts
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91-sam9_l9260.dts - Device Tree file for Olimex SAM9-L9260 board
  *
  *  Copyright (C) 2016 Raashid Muhammed <raashidmuhammed@zilogic.com>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include "at91sam9260.dtsi"


--- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91-sama5d3_xplained.dts - Device Tree file for the SAMA5D3 Xplained board
  *
  *  Copyright (C) 2014 Atmel,
  *		  2014 Nicolas Ferre <nicolas.ferre@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include "sama5d36.dtsi"


--- a/arch/arm/boot/dts/at91-tse850-3.dts
+++ b/arch/arm/boot/dts/at91-tse850-3.dts
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91-tse850-3.dts - Device Tree file for the Axentia TSE-850 3.0 board
  *
  * Copyright (C) 2017 Axentia Technologies AB
  *
  * Author: Peter Rosin <peda@axentia.se>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include <dt-bindings/pwm/pwm.h>


--- a/arch/arm/boot/dts/at91rm9200.dtsi
+++ b/arch/arm/boot/dts/at91rm9200.dtsi
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91rm9200.dtsi - Device Tree Include file for AT91RM9200 family SoC
  *
@@ -6,8 +7,6 @@
  *                2012 Joachim Eastwood <manabian@gmail.com>
  *
  * Based on at91sam9260.dtsi
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <dt-bindings/pinctrl/at91.h>


--- a/arch/arm/boot/dts/at91rm9200_pqfp.dtsi
+++ b/arch/arm/boot/dts/at91rm9200_pqfp.dtsi
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91rm9200_pqfp.dtsi - Device Tree Include file for AT91RM9200 PQFP family SoC
  *
  * Copyright (C) 2013 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 #include "at91rm9200.dtsi"


--- a/arch/arm/boot/dts/at91sam9260.dtsi
+++ b/arch/arm/boot/dts/at91sam9260.dtsi
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91sam9260.dtsi - Device Tree Include file for AT91SAM9260 family SoC
  *
  *  Copyright (C) 2011 Atmel,
  *                2011 Nicolas Ferre <nicolas.ferre@atmel.com>,
  *                2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <dt-bindings/pinctrl/at91.h>


--- a/arch/arm/boot/dts/at91sam9g15ek.dts
+++ b/arch/arm/boot/dts/at91sam9g15ek.dts
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91sam9g15ek.dts - Device Tree file for AT91SAM9G15-EK board
  *
  *  Copyright (C) 2012 Atmel,
  *                2012 Nicolas Ferre <nicolas.ferre@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include "at91sam9g15.dtsi"


--- a/arch/arm/boot/dts/at91sam9g25ek.dts
+++ b/arch/arm/boot/dts/at91sam9g25ek.dts
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91sam9g25ek.dts - Device Tree file for AT91SAM9G25-EK board
  *
  *  Copyright (C) 2012 Atmel,
  *                2012 Nicolas Ferre <nicolas.ferre@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include "at91sam9g25.dtsi"


--- a/arch/arm/boot/dts/at91sam9g35ek.dts
+++ b/arch/arm/boot/dts/at91sam9g35ek.dts
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91sam9g35ek.dts - Device Tree file for AT91SAM9G35-EK board
  *
  *  Copyright (C) 2012 Atmel,
  *                2012 Nicolas Ferre <nicolas.ferre@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include "at91sam9g35.dtsi"


--- a/arch/arm/boot/dts/at91sam9g45.dtsi
+++ b/arch/arm/boot/dts/at91sam9g45.dtsi
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91sam9g45.dtsi - Device Tree Include file for AT91SAM9G45 family SoC
  *                    applies to AT91SAM9G45, AT91SAM9M10,
@@ -5,8 +6,6 @@
  *
  *  Copyright (C) 2011 Atmel,
  *                2011 Nicolas Ferre <nicolas.ferre@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <dt-bindings/dma/at91.h>


--- a/arch/arm/boot/dts/at91sam9m10g45ek.dts
+++ b/arch/arm/boot/dts/at91sam9m10g45ek.dts
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91sam9m10g45ek.dts - Device Tree file for AT91SAM9M10G45-EK board
  *
  *  Copyright (C) 2011 Atmel,
  *                2011 Nicolas Ferre <nicolas.ferre@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include "at91sam9g45.dtsi"


--- a/arch/arm/boot/dts/at91sam9n12.dtsi
+++ b/arch/arm/boot/dts/at91sam9n12.dtsi
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91sam9n12.dtsi - Device Tree include file for AT91SAM9N12 SoC
  *
  *  Copyright (C) 2012 Atmel,
  *                2012 Hong Xu <hong.xu@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <dt-bindings/dma/at91.h>


--- a/arch/arm/boot/dts/at91sam9n12ek.dts
+++ b/arch/arm/boot/dts/at91sam9n12ek.dts
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91sam9n12ek.dts - Device Tree file for AT91SAM9N12-EK board
  *
  *  Copyright (C) 2012 Atmel,
  *                2012 Hong Xu <hong.xu@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include "at91sam9n12.dtsi"


--- a/arch/arm/boot/dts/at91sam9rl.dtsi
+++ b/arch/arm/boot/dts/at91sam9rl.dtsi
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91sam9rl.dtsi - Device Tree Include file for AT91SAM9RL family SoC
  *
  *  Copyright (C) 2014 Microchip
  *  Alexandre Belloni <alexandre.belloni@free-electrons.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <dt-bindings/pinctrl/at91.h>


--- a/arch/arm/boot/dts/at91sam9x25ek.dts
+++ b/arch/arm/boot/dts/at91sam9x25ek.dts
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91sam9x25ek.dts - Device Tree file for AT91SAM9X25-EK board
  *
  *  Copyright (C) 2012 Atmel,
  *                2012 Nicolas Ferre <nicolas.ferre@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include "at91sam9x25.dtsi"


--- a/arch/arm/boot/dts/at91sam9x35ek.dts
+++ b/arch/arm/boot/dts/at91sam9x35ek.dts
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91sam9x35ek.dts - Device Tree file for AT91SAM9X35-EK board
  *
  *  Copyright (C) 2012 Atmel,
  *                2012 Nicolas Ferre <nicolas.ferre@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include "at91sam9x35.dtsi"


--- a/arch/arm/boot/dts/at91sam9x5.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5.dtsi
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC
  *                   applies to AT91SAM9G15, AT91SAM9G25, AT91SAM9G35,
@@ -5,8 +6,6 @@
  *
  *  Copyright (C) 2012 Atmel,
  *                2012 Nicolas Ferre <nicolas.ferre@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <dt-bindings/dma/at91.h>


--- a/arch/arm/boot/dts/at91sam9x5cm.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5cm.dtsi
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91sam9x5cm.dtsi - Device Tree Include file for AT91SAM9x5 CPU Module
  *
  *  Copyright (C) 2012 Atmel,
  *                2012 Nicolas Ferre <nicolas.ferre@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 / {


--- a/arch/arm/boot/dts/at91sam9x5dm.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5dm.dtsi
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91sam9x5dm.dtsi - Device Tree file for SAM9x5 display module
  *
@@ -5,8 +6,6 @@
  *                2014 Free Electrons
  *
  *  Author: Boris Brezillon <boris.brezillon@free-electrons.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 / {


--- a/arch/arm/boot/dts/at91sam9x5ek.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5ek.dtsi
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * at91sam9x5ek.dtsi - Device Tree file for AT91SAM9x5CM Base board
  *
  *  Copyright (C) 2012 Atmel,
  *                2012 Nicolas Ferre <nicolas.ferre@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 #include "at91sam9x5cm.dtsi"
 


--- a/arch/arm/boot/dts/atlas6-evb.dts
+++ b/arch/arm/boot/dts/atlas6-evb.dts
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * DTS file for CSR SiRFatlas6 Evaluation Board
  *
  * Copyright (c) 2012 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 /dts-v1/;


--- a/arch/arm/boot/dts/atlas6.dtsi
+++ b/arch/arm/boot/dts/atlas6.dtsi
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * DTS file for CSR SiRFatlas6 SoC
  *
  * Copyright (c) 2012 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 / {


--- a/arch/arm/boot/dts/atlas7-evb.dts
+++ b/arch/arm/boot/dts/atlas7-evb.dts
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * DTS file for CSR SiRFatlas7 Evaluation Board
  *
  * Copyright (c) 2014 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 /dts-v1/;


--- a/arch/arm/boot/dts/atlas7.dtsi
+++ b/arch/arm/boot/dts/atlas7.dtsi
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * DTS file for CSR SiRFatlas7 SoC
  *
  * Copyright (c) 2014 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 / {


--- a/arch/arm/boot/dts/evk-pro3.dts
+++ b/arch/arm/boot/dts/evk-pro3.dts
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * evk-pro3.dts - Device Tree file for Telit EVK-PRO3 with Telit GE863-PRO3
  *
  * Copyright (C) 2012 Telit,
  *               2012 Fabio Porcedda <fabio.porcedda@gmail.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 /dts-v1/;


--- a/arch/arm/boot/dts/ge863-pro3.dtsi
+++ b/arch/arm/boot/dts/ge863-pro3.dtsi
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * ge863_pro3.dtsi - Device Tree file for Telit GE863-PRO3
  *
  * Copyright (C) 2012 Telit,
  *               2012 Fabio Porcedda <fabio.porcedda@gmail.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 #include "at91sam9260.dtsi"


--- a/arch/arm/boot/dts/moxart-uc7112lx.dts
+++ b/arch/arm/boot/dts/moxart-uc7112lx.dts
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* moxart-uc7112lx.dts - Device Tree file for MOXA UC-7112-LX
  *
  * Copyright (C) 2013 Jonas Jensen <jonas.jensen@gmail.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 /dts-v1/;


--- a/arch/arm/boot/dts/moxart.dtsi
+++ b/arch/arm/boot/dts/moxart.dtsi
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* moxart.dtsi - Device Tree Include file for MOXA ART family SoC
  *
  * Copyright (C) 2013 Jonas Jensen <jonas.jensen@gmail.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <dt-bindings/interrupt-controller/irq.h>


--- a/arch/arm/boot/dts/ox810se-wd-mbwe.dts
+++ b/arch/arm/boot/dts/ox810se-wd-mbwe.dts
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * wd-mbwe.dtsi - Device tree file for Western Digital My Book World Edition
  *
  * Copyright (C) 2016 Neil Armstrong <narmstrong@baylibre.com>
- *
- * Licensed under GPLv2 or later
  */
 
 /dts-v1/;


--- a/arch/arm/boot/dts/ox810se.dtsi
+++ b/arch/arm/boot/dts/ox810se.dtsi
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * ox810se.dtsi - Device tree file for Oxford Semiconductor OX810SE SoC
  *
  * Copyright (C) 2016 Neil Armstrong <narmstrong@baylibre.com>
- *
- * Licensed under GPLv2 or later
  */
 
 #include <dt-bindings/clock/oxsemi,ox810se.h>


--- a/arch/arm/boot/dts/ox820-cloudengines-pogoplug-series-3.dts
+++ b/arch/arm/boot/dts/ox820-cloudengines-pogoplug-series-3.dts
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * cloudengines-pogoplug-series-3.dtsi - Device tree file for Cloud Engines PogoPlug Series 3
  *
  * Copyright (C) 2016 Neil Armstrong <narmstrong@baylibre.com>
- *
- * Licensed under GPLv2 or later
  */
 
 /dts-v1/;


--- a/arch/arm/boot/dts/ox820.dtsi
+++ b/arch/arm/boot/dts/ox820.dtsi
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * ox820.dtsi - Device tree file for Oxford Semiconductor OX820 SoC
  *
  * Copyright (C) 2016 Neil Armstrong <narmstrong@baylibre.com>
- *
- * Licensed under GPLv2 or later
  */
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>


--- a/arch/arm/boot/dts/prima2-evb.dts
+++ b/arch/arm/boot/dts/prima2-evb.dts
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * DTS file for CSR SiRFprimaII Evaluation Board
  *
  * Copyright (c) 2012 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 /dts-v1/;


--- a/arch/arm/boot/dts/prima2.dtsi
+++ b/arch/arm/boot/dts/prima2.dtsi
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * DTS file for CSR SiRFprimaII SoC
  *
  * Copyright (c) 2012 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 / {


--- a/arch/arm/boot/dts/pxa2xx.dtsi
+++ b/arch/arm/boot/dts/pxa2xx.dtsi
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * pxa2xx.dtsi - Device Tree Include file for Marvell PXA2xx family SoC
  *
  * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 #include "dt-bindings/clock/pxa-clock.h"


--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b/arch/arm/boot/dts/sama5d3.dtsi
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * sama5d3.dtsi - Device Tree Include file for SAMA5D3 family SoC
  *                applies to SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36 SoC
  *
  *  Copyright (C) 2013 Atmel,
  *                2013 Ludovic Desroches <ludovic.desroches@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <dt-bindings/dma/at91.h>


--- a/arch/arm/boot/dts/sama5d31.dtsi
+++ b/arch/arm/boot/dts/sama5d31.dtsi
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * sama5d31.dtsi - Device Tree Include file for SAMA5D31 SoC
  *
  *  Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com>
- *
- * Licensed under GPLv2 or later.
  */
 #include "sama5d3.dtsi"
 #include "sama5d3_lcd.dtsi"


--- a/arch/arm/boot/dts/sama5d31ek.dts
+++ b/arch/arm/boot/dts/sama5d31ek.dts
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * sama5d31ek.dts - Device Tree file for SAMA5D31-EK board
  *
  *  Copyright (C) 2013 Atmel,
  *                2013 Ludovic Desroches <ludovic.desroches@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include "sama5d31.dtsi"


--- a/arch/arm/boot/dts/sama5d33.dtsi
+++ b/arch/arm/boot/dts/sama5d33.dtsi
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * sama5d33.dtsi - Device Tree Include file for SAMA5D33 SoC
  *
  *  Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com>
- *
- * Licensed under GPLv2 or later.
  */
 #include "sama5d3.dtsi"
 #include "sama5d3_lcd.dtsi"


--- a/arch/arm/boot/dts/sama5d33ek.dts
+++ b/arch/arm/boot/dts/sama5d33ek.dts
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * sama5d33ek.dts - Device Tree file for SAMA5D33-EK board
  *
  *  Copyright (C) 2013 Atmel,
  *                2013 Ludovic Desroches <ludovic.desroches@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include "sama5d33.dtsi"


--- a/arch/arm/boot/dts/sama5d34.dtsi
+++ b/arch/arm/boot/dts/sama5d34.dtsi
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * sama5d34.dtsi - Device Tree Include file for SAMA5D34 SoC
  *
  *  Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com>
- *
- * Licensed under GPLv2 or later.
  */
 #include "sama5d3.dtsi"
 #include "sama5d3_lcd.dtsi"


--- a/arch/arm/boot/dts/sama5d34ek.dts
+++ b/arch/arm/boot/dts/sama5d34ek.dts
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * sama5d34ek.dts - Device Tree file for SAMA5D34-EK board
  *
  *  Copyright (C) 2013 Atmel,
  *                2013 Ludovic Desroches <ludovic.desroches@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include "sama5d34.dtsi"


--- a/arch/arm/boot/dts/sama5d35.dtsi
+++ b/arch/arm/boot/dts/sama5d35.dtsi
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * sama5d35.dtsi - Device Tree Include file for SAMA5D35 SoC
  *
  *  Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com>
- *
- * Licensed under GPLv2 or later.
  */
 #include "sama5d3.dtsi"
 #include "sama5d3_gmac.dtsi"


--- a/arch/arm/boot/dts/sama5d35ek.dts
+++ b/arch/arm/boot/dts/sama5d35ek.dts
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * sama5d35ek.dts - Device Tree file for SAMA5D35-EK board
  *
  *  Copyright (C) 2013 Atmel,
  *                2013 Ludovic Desroches <ludovic.desroches@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include "sama5d35.dtsi"


--- a/arch/arm/boot/dts/sama5d36.dtsi
+++ b/arch/arm/boot/dts/sama5d36.dtsi
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * sama5d36.dtsi - Device Tree Include file for SAMA5D36 SoC
  *
  *  Copyright (C) 2013 Atmel,
  *                2013 Josh Wu <josh.wu@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 #include "sama5d3.dtsi"
 #include "sama5d3_can.dtsi"


--- a/arch/arm/boot/dts/sama5d36ek.dts
+++ b/arch/arm/boot/dts/sama5d36ek.dts
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * sama5d36ek.dts - Device Tree file for SAMA5D36-EK board
  *
  *  Copyright (C) 2013 Atmel,
  *                2013 Josh Wu <josh.wu@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include "sama5d36.dtsi"


--- a/arch/arm/boot/dts/sama5d3xcm.dtsi
+++ b/arch/arm/boot/dts/sama5d3xcm.dtsi
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * sama5d3xcm.dtsi - Device Tree Include file for SAMA5D3x CPU Module
  *
  *  Copyright (C) 2013 Atmel,
  *                2013 Ludovic Desroches <ludovic.desroches@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 / {


--- a/arch/arm/boot/dts/sama5d3xdm.dtsi
+++ b/arch/arm/boot/dts/sama5d3xdm.dtsi
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * sama5d3dm.dtsi - Device Tree file for SAMA5 display module
  *
  *  Copyright (C) 2013 Atmel,
  *                2013 Ludovic Desroches <ludovic.desroches@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 / {


--- a/arch/arm/boot/dts/sama5d3xmb.dtsi
+++ b/arch/arm/boot/dts/sama5d3xmb.dtsi
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * sama5d3xmb.dts - Device Tree file for SAMA5D3x mother board
  *
  *  Copyright (C) 2013 Atmel,
  *                2013 Ludovic Desroches <ludovic.desroches@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 #include "sama5d3xcm.dtsi"
 


--- a/arch/arm/boot/dts/sama5d3xmb_emac.dtsi
+++ b/arch/arm/boot/dts/sama5d3xmb_emac.dtsi
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * sama5d3xmb_emac.dts - Device Tree Include file for SAMA5D3x mother board
  * Ethernet
  *
  *  Copyright (C) 2016 Atmel,
- *
- * Licensed under GPLv2 or later.
  */
 
 / {


--- a/arch/arm/boot/dts/sama5d3xmb_gmac.dtsi
+++ b/arch/arm/boot/dts/sama5d3xmb_gmac.dtsi
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * sama5d3xmb_gmac.dtsi - Device Tree Include file for SAMA5D3x motherboard
  * Gigabit Ethernet
  *
  *  Copyright (C) 2016 Atmel,
- *
- * Licensed under GPLv2 or later.
  */
 
 / {


--- a/arch/arm/boot/dts/usb_a9260.dts
+++ b/arch/arm/boot/dts/usb_a9260.dts
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * usb_a9260.dts - Device Tree file for Caloa USB A9260 board
  *
  *  Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include "at91sam9260.dtsi"


--- a/arch/arm/boot/dts/usb_a9260_common.dtsi
+++ b/arch/arm/boot/dts/usb_a9260_common.dtsi
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * usb_a926x.dts - Device Tree file for Caloa USB A926x board
  *
  *  Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 / {


--- a/arch/arm/boot/dts/usb_a9g20.dts
+++ b/arch/arm/boot/dts/usb_a9g20.dts
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board
  *
  *  Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include "usb_a9g20_common.dtsi"


--- a/arch/arm/boot/dts/usb_a9g20_common.dtsi
+++ b/arch/arm/boot/dts/usb_a9g20_common.dtsi
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board
  *
  *  Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 #include "at91sam9g20.dtsi"


--- a/arch/arm/boot/dts/usb_a9g20_lpw.dts
+++ b/arch/arm/boot/dts/usb_a9g20_lpw.dts
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * usb_a9g20_lpw.dts - Device Tree file for Caloa USB A9G20 Low Power board
  *
  *  Copyright (C) 2013 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
- *
- * Licensed under GPLv2 or later.
  */
 /dts-v1/;
 #include "usb_a9g20_common.dtsi"


--- a/arch/arm/boot/dts/vt8500-bv07.dts
+++ b/arch/arm/boot/dts/vt8500-bv07.dts
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * vt8500-bv07.dts - Device tree file for Benign BV07 Netbook
  *
  * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
- *
- * Licensed under GPLv2 or later
  */
 
 /dts-v1/;


--- a/arch/arm/boot/dts/vt8500.dtsi
+++ b/arch/arm/boot/dts/vt8500.dtsi
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * vt8500.dtsi - Device tree file for VIA VT8500 SoC
  *
  * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
- *
- * Licensed under GPLv2 or later
  */
 
 / {


--- a/arch/arm/boot/dts/wm8505-ref.dts
+++ b/arch/arm/boot/dts/wm8505-ref.dts
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * wm8505-ref.dts - Device tree file for Wondermedia WM8505 reference netbook
  *
  * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
- *
- * Licensed under GPLv2 or later
  */
 
 /dts-v1/;


--- a/arch/arm/boot/dts/wm8505.dtsi
+++ b/arch/arm/boot/dts/wm8505.dtsi
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * wm8505.dtsi - Device tree file for Wondermedia WM8505 SoC
  *
  * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
- *
- * Licensed under GPLv2 or later
  */
 
 / {


--- a/arch/arm/boot/dts/wm8650-mid.dts
+++ b/arch/arm/boot/dts/wm8650-mid.dts
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * wm8650-mid.dts - Device tree file for Wondermedia WM8650-MID Tablet
  *
  * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
- *
- * Licensed under GPLv2 or later
  */
 
 /dts-v1/;


--- a/arch/arm/boot/dts/wm8650.dtsi
+++ b/arch/arm/boot/dts/wm8650.dtsi
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * wm8650.dtsi - Device tree file for Wondermedia WM8650 SoC
  *
  * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
- *
- * Licensed under GPLv2 or later
  */
 
 / {


--- a/arch/arm/boot/dts/wm8750-apc8750.dts
+++ b/arch/arm/boot/dts/wm8750-apc8750.dts
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * wm8750-apc8750.dts
  *  - Device tree file for VIA APC8750
  *
  * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
- *
- * Licensed under GPLv2 or later
  */
 
 /dts-v1/;


--- a/arch/arm/boot/dts/wm8750.dtsi
+++ b/arch/arm/boot/dts/wm8750.dtsi
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * wm8750.dtsi - Device tree file for Wondermedia WM8750 SoC
  *
  * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
- *
- * Licensed under GPLv2 or later
  */
 
 / {


--- a/arch/arm/boot/dts/wm8850-w70v2.dts
+++ b/arch/arm/boot/dts/wm8850-w70v2.dts
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * wm8850-w70v2.dts
  *  - Device tree file for Wondermedia WM8850 Tablet
@@ -5,8 +6,6 @@
  *  - HongLianYing 'HLY070ML268-21A' 7" LCD panel
  *
  * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
- *
- * Licensed under GPLv2 or later
  */
 
 /dts-v1/;


--- a/arch/arm/boot/dts/wm8850.dtsi
+++ b/arch/arm/boot/dts/wm8850.dtsi
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * wm8850.dtsi - Device tree file for Wondermedia WM8850 SoC
  *
  * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
- *
- * Licensed under GPLv2 or later
  */
 
 / {


--- a/arch/arm/include/debug/sirf.S
+++ b/arch/arm/include/debug/sirf.S
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * arch/arm/mach-prima2/include/mach/debug-macro.S
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #define SIRF_LLUART_TXFIFO_STATUS	0x0114


--- a/arch/arm/mach-at91/at91rm9200.c
+++ b/arch/arm/mach-at91/at91rm9200.c
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *  Setup code for AT91RM9200
  *
  *  Copyright (C) 2011 Atmel,
  *                2011 Nicolas Ferre <nicolas.ferre@atmel.com>
  *                2012 Joachim Eastwood <manabian@gmail.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/of.h>


--- a/arch/arm/mach-at91/at91sam9.c
+++ b/arch/arm/mach-at91/at91sam9.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *  Setup code for AT91SAM9
  *
  *  Copyright (C) 2011 Atmel,
  *                2011 Nicolas Ferre <nicolas.ferre@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/of.h>


--- a/arch/arm/mach-at91/sama5.c
+++ b/arch/arm/mach-at91/sama5.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *  Setup code for SAMA5
  *
  *  Copyright (C) 2013 Atmel,
  *                2013 Ludovic Desroches <ludovic.desroches@atmel.com>
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/of.h>


--- a/arch/arm/mach-at91/samv7.c
+++ b/arch/arm/mach-at91/samv7.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *  Setup code for SAMv7x
  *
  *  Copyright (C) 2013 Atmel,
  *                2016 Andras Szemzo <szemzo.andras@gmail.com>
- *
- * Licensed under GPLv2 or later.
  */
 #include <linux/of.h>
 #include <linux/of_platform.h>


--- a/arch/arm/mach-prima2/common.c
+++ b/arch/arm/mach-prima2/common.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Defines machines for CSR SiRFprimaII
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/init.h>


--- a/arch/arm/mach-prima2/common.h
+++ b/arch/arm/mach-prima2/common.h
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * This file contains common function prototypes to avoid externs in the c files.
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #ifndef __MACH_PRIMA2_COMMON_H__


--- a/arch/arm/mach-prima2/headsmp.S
+++ b/arch/arm/mach-prima2/headsmp.S
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Entry of the second core for CSR Marco dual-core SMP SoCs
  *
  * Copyright (c) 2012 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/linkage.h>


--- a/arch/arm/mach-prima2/hotplug.c
+++ b/arch/arm/mach-prima2/hotplug.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * CPU hotplug support for CSR Marco dual-core SMP SoCs
  *
  * Copyright (c) 2012 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/kernel.h>


--- a/arch/arm/mach-prima2/platsmp.c
+++ b/arch/arm/mach-prima2/platsmp.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * plat smp support for CSR Marco dual-core SMP SoCs
  *
  * Copyright (c) 2012 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/init.h>


--- a/arch/arm/mach-prima2/pm.c
+++ b/arch/arm/mach-prima2/pm.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * power management entry for CSR SiRFprimaII
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/kernel.h>


--- a/arch/arm/mach-prima2/pm.h
+++ b/arch/arm/mach-prima2/pm.h
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * arch/arm/mach-prima2/pm.h
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #ifndef _MACH_PRIMA2_PM_H_


--- a/arch/arm/mach-prima2/rstc.c
+++ b/arch/arm/mach-prima2/rstc.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * reset controller for CSR SiRFprimaII
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/kernel.h>


--- a/arch/arm/mach-prima2/rtciobrg.c
+++ b/arch/arm/mach-prima2/rtciobrg.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * RTC I/O Bridge interfaces for CSR SiRFprimaII/atlas7
  * ARM access the registers of SYSRTC, GPSRTC and PWRC through this module
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/kernel.h>


--- a/arch/arm/mach-prima2/sleep.S
+++ b/arch/arm/mach-prima2/sleep.S
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * sleep mode for CSR SiRFprimaII
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/linkage.h>


--- a/drivers/clk/sirf/clk-atlas6.c
+++ b/drivers/clk/sirf/clk-atlas6.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Clock tree for CSR SiRFatlasVI
  *
  * Copyright (c) 2011 - 2014 Cambridge Silicon Radio Limited, a CSR plc group
  * company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/module.h>


--- a/drivers/clk/sirf/clk-atlas7.c
+++ b/drivers/clk/sirf/clk-atlas7.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Clock tree for CSR SiRFAtlas7
  *
  * Copyright (c) 2014 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/bitops.h>


--- a/drivers/clk/sirf/clk-common.c
+++ b/drivers/clk/sirf/clk-common.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * common clks module for all SiRF SoCs
  *
  * Copyright (c) 2011 - 2014 Cambridge Silicon Radio Limited, a CSR plc group
  * company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/clk.h>


--- a/drivers/clk/sirf/clk-prima2.c
+++ b/drivers/clk/sirf/clk-prima2.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Clock tree for CSR SiRFprimaII
  *
  * Copyright (c) 2011 - 2014 Cambridge Silicon Radio Limited, a CSR plc group
  * company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/module.h>


--- a/drivers/clocksource/timer-atlas7.c
+++ b/drivers/clocksource/timer-atlas7.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * System timer for CSR SiRFprimaII
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/kernel.h>


--- a/drivers/clocksource/timer-prima2.c
+++ b/drivers/clocksource/timer-prima2.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * System timer for CSR SiRFprimaII
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/kernel.h>


--- a/drivers/dma/sirf-dma.c
+++ b/drivers/dma/sirf-dma.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * DMA controller driver for CSR SiRFprimaII
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/module.h>


--- a/drivers/i2c/busses/i2c-sirf.c
+++ b/drivers/i2c/busses/i2c-sirf.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * I2C bus driver for CSR SiRFprimaII
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/interrupt.h>


--- a/drivers/input/misc/sirfsoc-onkey.c
+++ b/drivers/input/misc/sirfsoc-onkey.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Power key driver for SiRF PrimaII
  *
  * Copyright (c) 2013 - 2014 Cambridge Silicon Radio Limited, a CSR plc group
  * company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/module.h>


--- a/drivers/irqchip/irq-sirfsoc.c
+++ b/drivers/irqchip/irq-sirfsoc.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * interrupt controller support for CSR SiRFprimaII
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/init.h>


--- a/drivers/mmc/host/sdhci-sirf.c
+++ b/drivers/mmc/host/sdhci-sirf.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * SDHCI support for SiRF primaII and marco SoCs
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/delay.h>


--- a/drivers/pinctrl/sirf/pinctrl-atlas6.c
+++ b/drivers/pinctrl/sirf/pinctrl-atlas6.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * pinctrl pads, groups, functions for CSR SiRFatlasVI
  *
  * Copyright (c) 2011 - 2014 Cambridge Silicon Radio Limited, a CSR plc group
  * company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/pinctrl/pinctrl.h>


--- a/drivers/pinctrl/sirf/pinctrl-atlas7.c
+++ b/drivers/pinctrl/sirf/pinctrl-atlas7.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * pinctrl pads, groups, functions for CSR SiRFatlasVII
  *
  * Copyright (c) 2011 - 2014 Cambridge Silicon Radio Limited, a CSR plc group
  * company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/init.h>


--- a/drivers/pinctrl/sirf/pinctrl-prima2.c
+++ b/drivers/pinctrl/sirf/pinctrl-prima2.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * pinctrl pads, groups, functions for CSR SiRFprimaII
  *
  * Copyright (c) 2011 - 2014 Cambridge Silicon Radio Limited, a CSR plc group
  * company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/pinctrl/pinctrl.h>


--- a/drivers/pinctrl/sirf/pinctrl-sirf.c
+++ b/drivers/pinctrl/sirf/pinctrl-sirf.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * pinmux driver for CSR SiRFprimaII
  *
@@ -8,8 +9,6 @@
  *
  * Copyright (c) 2011 - 2014 Cambridge Silicon Radio Limited, a CSR plc group
  * company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/init.h>


--- a/drivers/pinctrl/sirf/pinctrl-sirf.h
+++ b/drivers/pinctrl/sirf/pinctrl-sirf.h
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * pinmux driver shared headfile for CSR SiRFsoc
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #ifndef __PINMUX_SIRF_H__


--- a/drivers/rtc/rtc-sirfsoc.c
+++ b/drivers/rtc/rtc-sirfsoc.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * SiRFSoC Real Time Clock interface for Linux
  *
  * Copyright (c) 2013 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/module.h>


--- a/drivers/spi/spi-sirf.c
+++ b/drivers/spi/spi-sirf.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * SPI bus driver for CSR SiRFprimaII
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/module.h>


--- a/drivers/watchdog/asm9260_wdt.c
+++ b/drivers/watchdog/asm9260_wdt.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Watchdog driver for Alphascale ASM9260.
  *
  * Copyright (c) 2014 Oleksij Rempel <linux@rempel-privat.de>
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/bitops.h>


--- a/drivers/watchdog/sirfsoc_wdt.c
+++ b/drivers/watchdog/sirfsoc_wdt.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Watchdog driver for CSR SiRFprimaII and SiRFatlasVI
  *
  * Copyright (c) 2013 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/module.h>


--- a/include/dt-bindings/clock/at91.h
+++ b/include/dt-bindings/clock/at91.h
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * This header provides constants for AT91 pmc status.
  *
  * The constants defined in this header are being used in dts.
- *
- * Licensed under GPLv2 or later.
  */
 
 #ifndef _DT_BINDINGS_CLK_AT91_H


--- a/include/linux/rtc/sirfsoc_rtciobrg.h
+++ b/include/linux/rtc/sirfsoc_rtciobrg.h
@@ -1,10 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * RTC I/O Bridge interfaces for CSR SiRFprimaII
  * ARM access the registers of SYSRTC, GPSRTC and PWRC through this module
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 #ifndef _SIRFSOC_RTC_IOBRG_H_
 #define _SIRFSOC_RTC_IOBRG_H_


--- a/sound/soc/codecs/sirf-audio-codec.c
+++ b/sound/soc/codecs/sirf-audio-codec.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * SiRF audio codec driver
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/module.h>


--- a/sound/soc/codecs/sirf-audio-codec.h
+++ b/sound/soc/codecs/sirf-audio-codec.h
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * SiRF inner codec controllers define
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #ifndef _SIRF_AUDIO_CODEC_H


--- a/sound/soc/sirf/sirf-audio-port.c
+++ b/sound/soc/sirf/sirf-audio-port.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * SiRF Audio port driver
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 #include <linux/module.h>
 #include <sound/soc.h>


--- a/sound/soc/sirf/sirf-audio.c
+++ b/sound/soc/sirf/sirf-audio.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * SiRF audio card driver
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #include <linux/platform_device.h>


--- a/sound/soc/sirf/sirf-usp.c
+++ b/sound/soc/sirf/sirf-usp.c
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * SiRF USP in I2S/DSP mode
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 #include <linux/module.h>
 #include <linux/io.h>


--- a/sound/soc/sirf/sirf-usp.h
+++ b/sound/soc/sirf/sirf-usp.h
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * arch/arm/mach-prima2/include/mach/sirfsoc_usp.h
  *
  * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
- *
- * Licensed under GPLv2 or later.
  */
 
 #ifndef _SIRF_USP_H





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

* Re: [patch 0/4] SPDX: First batch of patches
  2019-05-07 12:19 [patch 0/4] SPDX: First batch of patches Thomas Gleixner
                   ` (2 preceding siblings ...)
  2019-05-07 12:19 ` [patch 4/4] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 4 Thomas Gleixner
@ 2019-05-07 13:59 ` Thomas Gleixner
  2019-05-07 14:03 ` [patch 1/4] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 1 Thomas Gleixner
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 25+ messages in thread
From: Thomas Gleixner @ 2019-05-07 13:59 UTC (permalink / raw)
  To: linux-spdx

On Tue, 7 May 2019, Thomas Gleixner wrote:

> Hi!
> 
> As promised here are the first 4 automatically generated patches. Each
> patch handles exactly one match pattern (rule).

Bah. The first one did not go through. It's too large. I'll post a trimmed
down version with a link to the actual patch....

Thanks,

	tglx

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

* [patch 1/4] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 1
  2019-05-07 12:19 [patch 0/4] SPDX: First batch of patches Thomas Gleixner
                   ` (3 preceding siblings ...)
  2019-05-07 13:59 ` [patch 0/4] SPDX: First batch of patches Thomas Gleixner
@ 2019-05-07 14:03 ` Thomas Gleixner
  2019-05-07 14:17 ` [patch 0/4] SPDX: First batch of patches Greg KH
  2019-05-08 17:29 ` Allison Randal
  6 siblings, 0 replies; 25+ messages in thread
From: Thomas Gleixner @ 2019-05-07 14:03 UTC (permalink / raw)
  To: linux-spdx

[-- Attachment #1: Type: text/plain, Size: 4604 bytes --]

Based on 3 normalized pattern(s):

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


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


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



extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

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

The result has been manually verified and compared against a license
compliance dataset provided by ....

Trimmed down version. Full patch is here:

  https://git.kernel.org/pub/scm/utils/spdx/spdx-utils.git/tree/step2/patches/0001-gpl-2.0-plus.LICENSE.patch?h=linux-5.1

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

--- a/arch/arm/boot/dts/imx51-eukrea-cpuimx51.dtsi
+++ b/arch/arm/boot/dts/imx51-eukrea-cpuimx51.dtsi
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 2013 Eukréa Electromatique <denis@eukrea.com>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
  */
 
 #include "imx51.dtsi"


--- a/arch/arm/mach-imx/iomux-mx35.h
+++ b/arch/arm/mach-imx/iomux-mx35.h
@@ -1,19 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C) 2009 by Jan Weitzel Phytec Messtechnik GmbH <armlinux@phytec.de>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option, NO_PAD_CTRL) any later version.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
  */
 
 #ifndef __MACH_IOMUX_MX35_H__


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

* Re: [patch 0/4] SPDX: First batch of patches
  2019-05-07 12:19 [patch 0/4] SPDX: First batch of patches Thomas Gleixner
                   ` (4 preceding siblings ...)
  2019-05-07 14:03 ` [patch 1/4] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 1 Thomas Gleixner
@ 2019-05-07 14:17 ` Greg KH
  2019-05-07 14:19   ` Thomas Gleixner
  2019-05-08 17:29 ` Allison Randal
  6 siblings, 1 reply; 25+ messages in thread
From: Greg KH @ 2019-05-07 14:17 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

On Tue, May 07, 2019 at 02:19:52PM +0200, Thomas Gleixner wrote:
> Hi!
> 
> As promised here are the first 4 automatically generated patches. Each
> patch handles exactly one match pattern (rule).
> 
> While reviewing the patch (actual code change) might be massively time
> consuming, the quick and important part is to look at the patterns and
> verify whether the license conclusion is correct. The tooling which
> replaces exactly those patterns is pretty solid by now. But if you really
> insists on looking at each individual file change, you're welcome. :)
> 
> Note that some of the patterns contain obscure things like:
> 
>      [no]_[pad]_[ctrl]
> 
> in the middle. This one is a clear copy and paste artifact which happens to
> be in arch/arm/mach-imx/iomux-mx35.h:
> 
>  * of the License, or (at your option, NO_PAD_CTRL) any later version.
> 
> Oh well.....

What's the diffstat of all 4 of these patches?  How many files are you
fixing up here?

thanks,

greg k-h

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

* Re: [patch 0/4] SPDX: First batch of patches
  2019-05-07 14:17 ` [patch 0/4] SPDX: First batch of patches Greg KH
@ 2019-05-07 14:19   ` Thomas Gleixner
  2019-05-07 18:14     ` Greg KH
  0 siblings, 1 reply; 25+ messages in thread
From: Thomas Gleixner @ 2019-05-07 14:19 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-spdx

On Tue, 7 May 2019, Greg KH wrote:
> On Tue, May 07, 2019 at 02:19:52PM +0200, Thomas Gleixner wrote:
> > Hi!
> > 
> > As promised here are the first 4 automatically generated patches. Each
> > patch handles exactly one match pattern (rule).
> > 
> > While reviewing the patch (actual code change) might be massively time
> > consuming, the quick and important part is to look at the patterns and
> > verify whether the license conclusion is correct. The tooling which
> > replaces exactly those patterns is pretty solid by now. But if you really
> > insists on looking at each individual file change, you're welcome. :)
> > 
> > Note that some of the patterns contain obscure things like:
> > 
> >      [no]_[pad]_[ctrl]
> > 
> > in the middle. This one is a clear copy and paste artifact which happens to
> > be in arch/arm/mach-imx/iomux-mx35.h:
> > 
> >  * of the License, or (at your option, NO_PAD_CTRL) any later version.
> > 
> > Oh well.....
> 
> What's the diffstat of all 4 of these patches?  How many files are you
> fixing up here?

Oops. Forgot to add that.

      305 files changed, 311 insertions(+), 2789 deletions(-)

Thanks,

	tglx

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

* Re: [patch 0/4] SPDX: First batch of patches
  2019-05-07 14:19   ` Thomas Gleixner
@ 2019-05-07 18:14     ` Greg KH
  2019-05-07 18:43       ` Thomas Gleixner
  0 siblings, 1 reply; 25+ messages in thread
From: Greg KH @ 2019-05-07 18:14 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

On Tue, May 07, 2019 at 04:19:35PM +0200, Thomas Gleixner wrote:
> On Tue, 7 May 2019, Greg KH wrote:
> > On Tue, May 07, 2019 at 02:19:52PM +0200, Thomas Gleixner wrote:
> > > Hi!
> > > 
> > > As promised here are the first 4 automatically generated patches. Each
> > > patch handles exactly one match pattern (rule).
> > > 
> > > While reviewing the patch (actual code change) might be massively time
> > > consuming, the quick and important part is to look at the patterns and
> > > verify whether the license conclusion is correct. The tooling which
> > > replaces exactly those patterns is pretty solid by now. But if you really
> > > insists on looking at each individual file change, you're welcome. :)
> > > 
> > > Note that some of the patterns contain obscure things like:
> > > 
> > >      [no]_[pad]_[ctrl]
> > > 
> > > in the middle. This one is a clear copy and paste artifact which happens to
> > > be in arch/arm/mach-imx/iomux-mx35.h:
> > > 
> > >  * of the License, or (at your option, NO_PAD_CTRL) any later version.
> > > 
> > > Oh well.....
> > 
> > What's the diffstat of all 4 of these patches?  How many files are you
> > fixing up here?
> 
> Oops. Forgot to add that.
> 
>       305 files changed, 311 insertions(+), 2789 deletions(-)

Nice, but I would have expected more files to be touched here :)

Anyway, these all look good to me.  I'm guessing the subject lines will
be tweaked.  If there's anything I can do to run the script and send out
patches, please let me know.

thanks,

greg k-h

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

* Re: [patch 0/4] SPDX: First batch of patches
  2019-05-07 18:14     ` Greg KH
@ 2019-05-07 18:43       ` Thomas Gleixner
  2019-05-07 18:58         ` Greg KH
  0 siblings, 1 reply; 25+ messages in thread
From: Thomas Gleixner @ 2019-05-07 18:43 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-spdx

On Tue, 7 May 2019, Greg KH wrote:
> On Tue, May 07, 2019 at 04:19:35PM +0200, Thomas Gleixner wrote:
> > On Tue, 7 May 2019, Greg KH wrote:
> > > On Tue, May 07, 2019 at 02:19:52PM +0200, Thomas Gleixner wrote:
> > > > Hi!
> > > > 
> > > > As promised here are the first 4 automatically generated patches. Each
> > > > patch handles exactly one match pattern (rule).
> > > > 
> > > > While reviewing the patch (actual code change) might be massively time
> > > > consuming, the quick and important part is to look at the patterns and
> > > > verify whether the license conclusion is correct. The tooling which
> > > > replaces exactly those patterns is pretty solid by now. But if you really
> > > > insists on looking at each individual file change, you're welcome. :)
> > > > 
> > > > Note that some of the patterns contain obscure things like:
> > > > 
> > > >      [no]_[pad]_[ctrl]
> > > > 
> > > > in the middle. This one is a clear copy and paste artifact which happens to
> > > > be in arch/arm/mach-imx/iomux-mx35.h:
> > > > 
> > > >  * of the License, or (at your option, NO_PAD_CTRL) any later version.
> > > > 
> > > > Oh well.....
> > > 
> > > What's the diffstat of all 4 of these patches?  How many files are you
> > > fixing up here?
> > 
> > Oops. Forgot to add that.
> > 
> >       305 files changed, 311 insertions(+), 2789 deletions(-)
> 
> Nice, but I would have expected more files to be touched here :)

It's 4 out of 514 patches on the step2 branch.

step1-3 result with all patches applied in:

 24524 files changed, 24721 insertions(+), 184320 deletions(-)

> Anyway, these all look good to me.  I'm guessing the subject lines will
> be tweaked.  If there's anything I can do to run the script and send out
> patches, please let me know.

You have a big enough machine?

I need to fix some crap in the patcher. krobot found an odd patched header
file.

Thanks

	tglx

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

* Re: [patch 0/4] SPDX: First batch of patches
  2019-05-07 18:43       ` Thomas Gleixner
@ 2019-05-07 18:58         ` Greg KH
  2019-05-08  6:25           ` Thomas Gleixner
  0 siblings, 1 reply; 25+ messages in thread
From: Greg KH @ 2019-05-07 18:58 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

On Tue, May 07, 2019 at 08:43:44PM +0200, Thomas Gleixner wrote:
> On Tue, 7 May 2019, Greg KH wrote:
> > On Tue, May 07, 2019 at 04:19:35PM +0200, Thomas Gleixner wrote:
> > > On Tue, 7 May 2019, Greg KH wrote:
> > > > On Tue, May 07, 2019 at 02:19:52PM +0200, Thomas Gleixner wrote:
> > > > > Hi!
> > > > > 
> > > > > As promised here are the first 4 automatically generated patches. Each
> > > > > patch handles exactly one match pattern (rule).
> > > > > 
> > > > > While reviewing the patch (actual code change) might be massively time
> > > > > consuming, the quick and important part is to look at the patterns and
> > > > > verify whether the license conclusion is correct. The tooling which
> > > > > replaces exactly those patterns is pretty solid by now. But if you really
> > > > > insists on looking at each individual file change, you're welcome. :)
> > > > > 
> > > > > Note that some of the patterns contain obscure things like:
> > > > > 
> > > > >      [no]_[pad]_[ctrl]
> > > > > 
> > > > > in the middle. This one is a clear copy and paste artifact which happens to
> > > > > be in arch/arm/mach-imx/iomux-mx35.h:
> > > > > 
> > > > >  * of the License, or (at your option, NO_PAD_CTRL) any later version.
> > > > > 
> > > > > Oh well.....
> > > > 
> > > > What's the diffstat of all 4 of these patches?  How many files are you
> > > > fixing up here?
> > > 
> > > Oops. Forgot to add that.
> > > 
> > >       305 files changed, 311 insertions(+), 2789 deletions(-)
> > 
> > Nice, but I would have expected more files to be touched here :)
> 
> It's 4 out of 514 patches on the step2 branch.
> 
> step1-3 result with all patches applied in:
> 
>  24524 files changed, 24721 insertions(+), 184320 deletions(-)

That's better :)

> > Anyway, these all look good to me.  I'm guessing the subject lines will
> > be tweaked.  If there's anything I can do to run the script and send out
> > patches, please let me know.
> 
> You have a big enough machine?

I think I do:
	$ free -h
	              total        used        free      shared  buff/cache   available
	Mem:          118Gi       994Mi       113Gi       1.0Mi       3.3Gi       115Gi
	Swap:         4.0Gi          0B       4.0Gi

It's what I do my stable kernel build testing on :)

Anyway, glad to help out if you want me to.

greg k-h

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

* Re: [patch 0/4] SPDX: First batch of patches
  2019-05-07 18:58         ` Greg KH
@ 2019-05-08  6:25           ` Thomas Gleixner
  2019-05-08  6:46             ` Greg KH
  2019-05-08 20:40             ` Thomas Gleixner
  0 siblings, 2 replies; 25+ messages in thread
From: Thomas Gleixner @ 2019-05-08  6:25 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-spdx

Greg,

On Tue, 7 May 2019, Greg KH wrote:
> 
> Anyway, glad to help out if you want me to.

Running the scripts is one thing. The more important thing is to figure out
how we are going to review these patches and agree that the conclusion is
correct. Ideally we have lots of Reviewed-by's on each of them.

Yes, it's 500+ and some of them are really large, but the point is that at
least in my opinion it's enough to carefully review the 'normalized'
patterns which are in the change log.

I have some postprocessing checks (not yet in utils) which verify that
author/copyright notices which are in the middle of the removed crap are
preserved.

The other issue which I worked on yesterday night (krobot finding a few
corner cases where the patcher did not handle some odd comment formatting
correctly) should be gone. I just started a new full run to verify that.

Apropos changelog. You said they need some care. If you check out the utils
repo, there are templates in the step2/3 directories and the subdirectories
of step1. If you could work on them that would be appreciated.

Thanks,

	tglx

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

* Re: [patch 0/4] SPDX: First batch of patches
  2019-05-08  6:25           ` Thomas Gleixner
@ 2019-05-08  6:46             ` Greg KH
  2019-05-08  9:26               ` Thomas Gleixner
  2019-05-08 20:40             ` Thomas Gleixner
  1 sibling, 1 reply; 25+ messages in thread
From: Greg KH @ 2019-05-08  6:46 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

On Wed, May 08, 2019 at 08:25:51AM +0200, Thomas Gleixner wrote:
> Greg,
> 
> On Tue, 7 May 2019, Greg KH wrote:
> > 
> > Anyway, glad to help out if you want me to.
> 
> Running the scripts is one thing. The more important thing is to figure out
> how we are going to review these patches and agree that the conclusion is
> correct. Ideally we have lots of Reviewed-by's on each of them.
> 
> Yes, it's 500+ and some of them are really large, but the point is that at
> least in my opinion it's enough to carefully review the 'normalized'
> patterns which are in the change log.
> 
> I have some postprocessing checks (not yet in utils) which verify that
> author/copyright notices which are in the middle of the removed crap are
> preserved.
> 
> The other issue which I worked on yesterday night (krobot finding a few
> corner cases where the patcher did not handle some odd comment formatting
> correctly) should be gone. I just started a new full run to verify that.
> 
> Apropos changelog. You said they need some care. If you check out the utils
> repo, there are templates in the step2/3 directories and the subdirectories
> of step1. If you could work on them that would be appreciated.

What repo are you referring to?  Did I miss a link somewhere?

thanks,

greg k-h

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

* Re: [patch 0/4] SPDX: First batch of patches
  2019-05-08  6:46             ` Greg KH
@ 2019-05-08  9:26               ` Thomas Gleixner
  2019-05-08  9:51                 ` Greg KH
  0 siblings, 1 reply; 25+ messages in thread
From: Thomas Gleixner @ 2019-05-08  9:26 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-spdx

On Wed, 8 May 2019, Greg KH wrote:
> On Wed, May 08, 2019 at 08:25:51AM +0200, Thomas Gleixner wrote:
> > Apropos changelog. You said they need some care. If you check out the utils
> > repo, there are templates in the step2/3 directories and the subdirectories
> > of step1. If you could work on them that would be appreciated.
> 
> What repo are you referring to?  Did I miss a link somewhere?

In the let the fun begin mail:

   git://git.kernel.org/pub/scm/utils/spdx/spdx-utils

Thanks,

	tglx

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

* Re: [patch 0/4] SPDX: First batch of patches
  2019-05-08  9:26               ` Thomas Gleixner
@ 2019-05-08  9:51                 ` Greg KH
  2019-05-08 10:09                   ` Greg KH
  0 siblings, 1 reply; 25+ messages in thread
From: Greg KH @ 2019-05-08  9:51 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

On Wed, May 08, 2019 at 11:26:34AM +0200, Thomas Gleixner wrote:
> On Wed, 8 May 2019, Greg KH wrote:
> > On Wed, May 08, 2019 at 08:25:51AM +0200, Thomas Gleixner wrote:
> > > Apropos changelog. You said they need some care. If you check out the utils
> > > repo, there are templates in the step2/3 directories and the subdirectories
> > > of step1. If you could work on them that would be appreciated.
> > 
> > What repo are you referring to?  Did I miss a link somewhere?
> 
> In the let the fun begin mail:
> 
>    git://git.kernel.org/pub/scm/utils/spdx/spdx-utils

Ah, sorry, I missed that.

It uses 'scancode', but I've lost the link to that repo.  And from what
I remember, there are a zillion different branches of that repo, any
hint as to which one you used?

thanks,

greg k-h

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

* Re: [patch 0/4] SPDX: First batch of patches
  2019-05-08  9:51                 ` Greg KH
@ 2019-05-08 10:09                   ` Greg KH
  0 siblings, 0 replies; 25+ messages in thread
From: Greg KH @ 2019-05-08 10:09 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

On Wed, May 08, 2019 at 11:51:39AM +0200, Greg KH wrote:
> On Wed, May 08, 2019 at 11:26:34AM +0200, Thomas Gleixner wrote:
> > On Wed, 8 May 2019, Greg KH wrote:
> > > On Wed, May 08, 2019 at 08:25:51AM +0200, Thomas Gleixner wrote:
> > > > Apropos changelog. You said they need some care. If you check out the utils
> > > > repo, there are templates in the step2/3 directories and the subdirectories
> > > > of step1. If you could work on them that would be appreciated.
> > > 
> > > What repo are you referring to?  Did I miss a link somewhere?
> > 
> > In the let the fun begin mail:
> > 
> >    git://git.kernel.org/pub/scm/utils/spdx/spdx-utils
> 
> Ah, sorry, I missed that.
> 
> It uses 'scancode', but I've lost the link to that repo.

Nevermind, that was in the intro email as well...


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

* Re: [patch 0/4] SPDX: First batch of patches
  2019-05-07 12:19 [patch 0/4] SPDX: First batch of patches Thomas Gleixner
                   ` (5 preceding siblings ...)
  2019-05-07 14:17 ` [patch 0/4] SPDX: First batch of patches Greg KH
@ 2019-05-08 17:29 ` Allison Randal
  2019-05-08 20:23   ` Thomas Gleixner
  6 siblings, 1 reply; 25+ messages in thread
From: Allison Randal @ 2019-05-08 17:29 UTC (permalink / raw)
  To: Thomas Gleixner, linux-spdx

On 5/7/19 1:19 PM, Thomas Gleixner wrote:
> Hi!
> 
> As promised here are the first 4 automatically generated patches. Each
> patch handles exactly one match pattern (rule).

These look great, Thomas, thanks!

Are you automatically logging which files were modified by each pattern
match, for the legally conservative hack we talked about, preserving a
historical record of altered license notices in a doc file?

Allison

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

* Re: [patch 0/4] SPDX: First batch of patches
  2019-05-08 17:29 ` Allison Randal
@ 2019-05-08 20:23   ` Thomas Gleixner
  2019-05-08 21:25     ` Allison Randal
  0 siblings, 1 reply; 25+ messages in thread
From: Thomas Gleixner @ 2019-05-08 20:23 UTC (permalink / raw)
  To: Allison Randal; +Cc: linux-spdx

Allison,

On Wed, 8 May 2019, Allison Randal wrote:
> On 5/7/19 1:19 PM, Thomas Gleixner wrote:
> > Hi!
> > 
> > As promised here are the first 4 automatically generated patches. Each
> > patch handles exactly one match pattern (rule).
> 
> These look great, Thomas, thanks!
> 
> Are you automatically logging which files were modified by each pattern
> match, for the legally conservative hack we talked about, preserving a
> historical record of altered license notices in a doc file?

Yes, the scripts produce logs and of course once the patch is applied you
can see from the diffstat which files are touched. So we have lots of ways
to figure out what has been changed and its preserved in the git history
forever.

Thanks,

	tglx



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

* Re: [patch 0/4] SPDX: First batch of patches
  2019-05-08  6:25           ` Thomas Gleixner
  2019-05-08  6:46             ` Greg KH
@ 2019-05-08 20:40             ` Thomas Gleixner
  1 sibling, 0 replies; 25+ messages in thread
From: Thomas Gleixner @ 2019-05-08 20:40 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-spdx

On Wed, 8 May 2019, Thomas Gleixner wrote:
> The other issue which I worked on yesterday night (krobot finding a few
> corner cases where the patcher did not handle some odd comment formatting
> correctly) should be gone. I just started a new full run to verify that.

Pushed out updated scripts, updated kernel branches.

Thanks,

	tglx

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

* Re: [patch 0/4] SPDX: First batch of patches
  2019-05-08 20:23   ` Thomas Gleixner
@ 2019-05-08 21:25     ` Allison Randal
  2019-05-08 21:29       ` Thomas Gleixner
  0 siblings, 1 reply; 25+ messages in thread
From: Allison Randal @ 2019-05-08 21:25 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

On 5/8/19 9:23 PM, Thomas Gleixner wrote:
> 
> Yes, the scripts produce logs and of course once the patch is applied you
> can see from the diffstat which files are touched. So we have lots of ways
> to figure out what has been changed and its preserved in the git history
> forever.

Nod, but what I meant was the "wall of shame" file that the lawyers
wanted, which preserved each variant license notice text and a list of
the files that had it removed.

I thought the idea was horrible, and said so at the time, but they
aren't wrong that the GPLv2 has a requirement to "keep intact all the
notices that refer to this License". None of us managed to come up with
a better alternative than moving the notices into a doc file, with some
introductory text to say "please never do this again, just use SPDX
headers".

Though, maybe it would be better if I said nothing and allowed the whole
idea to be forgotten...

Allison

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

* Re: [patch 0/4] SPDX: First batch of patches
  2019-05-08 21:25     ` Allison Randal
@ 2019-05-08 21:29       ` Thomas Gleixner
  2019-05-08 21:33         ` Allison Randal
  0 siblings, 1 reply; 25+ messages in thread
From: Thomas Gleixner @ 2019-05-08 21:29 UTC (permalink / raw)
  To: Allison Randal; +Cc: linux-spdx

On Wed, 8 May 2019, Allison Randal wrote:
> On 5/8/19 9:23 PM, Thomas Gleixner wrote:
> > 
> > Yes, the scripts produce logs and of course once the patch is applied you
> > can see from the diffstat which files are touched. So we have lots of ways
> > to figure out what has been changed and its preserved in the git history
> > forever.
> 
> Nod, but what I meant was the "wall of shame" file that the lawyers
> wanted, which preserved each variant license notice text and a list of
> the files that had it removed.
> 
> I thought the idea was horrible, and said so at the time, but they
> aren't wrong that the GPLv2 has a requirement to "keep intact all the
> notices that refer to this License". None of us managed to come up with
> a better alternative than moving the notices into a doc file, with some
> introductory text to say "please never do this again, just use SPDX
> headers".
> 
> Though, maybe it would be better if I said nothing and allowed the whole
> idea to be forgotten...

Ahhh that one. That's an easy to do add on if people insist ....


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

* Re: [patch 0/4] SPDX: First batch of patches
  2019-05-08 21:29       ` Thomas Gleixner
@ 2019-05-08 21:33         ` Allison Randal
  2019-05-08 21:36           ` J Lovejoy
  0 siblings, 1 reply; 25+ messages in thread
From: Allison Randal @ 2019-05-08 21:33 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

On 5/8/19 10:29 PM, Thomas Gleixner wrote:
> On Wed, 8 May 2019, Allison Randal wrote:
>> On 5/8/19 9:23 PM, Thomas Gleixner wrote:
>>
>> Though, maybe it would be better if I said nothing and allowed the whole
>> idea to be forgotten...
> 
> Ahhh that one. That's an easy to do add on if people insist ....

Shhhhhh, if we're very quiet, maybe they won't...

Allison

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

* Re: [patch 0/4] SPDX: First batch of patches
  2019-05-08 21:33         ` Allison Randal
@ 2019-05-08 21:36           ` J Lovejoy
  2019-05-08 21:58             ` Thomas Gleixner
  0 siblings, 1 reply; 25+ messages in thread
From: J Lovejoy @ 2019-05-08 21:36 UTC (permalink / raw)
  To: Allison Randal; +Cc: Thomas Gleixner, linux-spdx



> On May 8, 2019, at 3:33 PM, Allison Randal <allison@lohutok.net> wrote:
> 
> On 5/8/19 10:29 PM, Thomas Gleixner wrote:
>> On Wed, 8 May 2019, Allison Randal wrote:
>>> On 5/8/19 9:23 PM, Thomas Gleixner wrote:
>>> 
>>> Though, maybe it would be better if I said nothing and allowed the whole
>>> idea to be forgotten...
>> 
>> Ahhh that one. That's an easy to do add on if people insist ....
> 
> Shhhhhh, if we're very quiet, maybe they won’t…
> 
I’ll have a think on this and chat with Mike Dolan to follow-up on our discussions in Barcelona on this one.

Thomas - would I be correct to assume that having the answer to this sooner-than-later, so this can begin being compiled would be helpful, or it is not make much difference as to timing?

Thanks,
Jilayne



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

* Re: [patch 0/4] SPDX: First batch of patches
  2019-05-08 21:36           ` J Lovejoy
@ 2019-05-08 21:58             ` Thomas Gleixner
  2019-05-09  4:04               ` J Lovejoy
  0 siblings, 1 reply; 25+ messages in thread
From: Thomas Gleixner @ 2019-05-08 21:58 UTC (permalink / raw)
  To: J Lovejoy; +Cc: Allison Randal, linux-spdx

[-- Attachment #1: Type: text/plain, Size: 988 bytes --]

Jilayne,

On Wed, 8 May 2019, J Lovejoy wrote:
> > On May 8, 2019, at 3:33 PM, Allison Randal <allison@lohutok.net> wrote:
> > 
> > On 5/8/19 10:29 PM, Thomas Gleixner wrote:
> >> On Wed, 8 May 2019, Allison Randal wrote:
> >>> On 5/8/19 9:23 PM, Thomas Gleixner wrote:
> >>> 
> >>> Though, maybe it would be better if I said nothing and allowed the whole
> >>> idea to be forgotten...
> >> 
> >> Ahhh that one. That's an easy to do add on if people insist ....
> > 
> > Shhhhhh, if we're very quiet, maybe they won’t…
> > 
> I’ll have a think on this and chat with Mike Dolan to follow-up on our
> discussions in Barcelona on this one.
>
> Thomas - would I be correct to assume that having the answer to this
> sooner-than-later, so this can begin being compiled would be helpful, or
> it is not make much difference as to timing?

We can compile that list after the fact. The information is not going to be
lost. The metadata is there or can be recreated any time.

Thanks,

	tglx

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

* Re: [patch 0/4] SPDX: First batch of patches
  2019-05-08 21:58             ` Thomas Gleixner
@ 2019-05-09  4:04               ` J Lovejoy
  0 siblings, 0 replies; 25+ messages in thread
From: J Lovejoy @ 2019-05-09  4:04 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: Allison Randal, linux-spdx



> On May 8, 2019, at 3:58 PM, Thomas Gleixner <tglx@linutronix.de> wrote:
> 
> Jilayne,
> 
> On Wed, 8 May 2019, J Lovejoy wrote:
>>> On May 8, 2019, at 3:33 PM, Allison Randal <allison@lohutok.net> wrote:
>>> 
>>> On 5/8/19 10:29 PM, Thomas Gleixner wrote:
>>>> On Wed, 8 May 2019, Allison Randal wrote:
>>>>> On 5/8/19 9:23 PM, Thomas Gleixner wrote:
>>>>> 
>>>>> Though, maybe it would be better if I said nothing and allowed the whole
>>>>> idea to be forgotten...
>>>> 
>>>> Ahhh that one. That's an easy to do add on if people insist ....
>>> 
>>> Shhhhhh, if we're very quiet, maybe they won’t…
>>> 
>> I’ll have a think on this and chat with Mike Dolan to follow-up on our
>> discussions in Barcelona on this one.
>> 
>> Thomas - would I be correct to assume that having the answer to this
>> sooner-than-later, so this can begin being compiled would be helpful, or
>> it is not make much difference as to timing?
> 
> We can compile that list after the fact. The information is not going to be
> lost. The metadata is there or can be recreated any time.

great, thanks - good to know!

Jilayne

> 
> Thanks,
> 
> 	tglx


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

end of thread, other threads:[~2019-05-09  4:05 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-07 12:19 [patch 0/4] SPDX: First batch of patches Thomas Gleixner
2019-05-07 12:19 ` [patch 2/4] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 2 Thomas Gleixner
2019-05-07 12:19 ` [patch 3/4] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 3 Thomas Gleixner
2019-05-07 12:19 ` [patch 4/4] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 4 Thomas Gleixner
2019-05-07 13:59 ` [patch 0/4] SPDX: First batch of patches Thomas Gleixner
2019-05-07 14:03 ` [patch 1/4] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 1 Thomas Gleixner
2019-05-07 14:17 ` [patch 0/4] SPDX: First batch of patches Greg KH
2019-05-07 14:19   ` Thomas Gleixner
2019-05-07 18:14     ` Greg KH
2019-05-07 18:43       ` Thomas Gleixner
2019-05-07 18:58         ` Greg KH
2019-05-08  6:25           ` Thomas Gleixner
2019-05-08  6:46             ` Greg KH
2019-05-08  9:26               ` Thomas Gleixner
2019-05-08  9:51                 ` Greg KH
2019-05-08 10:09                   ` Greg KH
2019-05-08 20:40             ` Thomas Gleixner
2019-05-08 17:29 ` Allison Randal
2019-05-08 20:23   ` Thomas Gleixner
2019-05-08 21:25     ` Allison Randal
2019-05-08 21:29       ` Thomas Gleixner
2019-05-08 21:33         ` Allison Randal
2019-05-08 21:36           ` J Lovejoy
2019-05-08 21:58             ` Thomas Gleixner
2019-05-09  4:04               ` J Lovejoy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).