Linux-SPDX Archive on lore.kernel.org
 help / color / Atom feed
* [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references
@ 2019-05-23  9:14 Thomas Gleixner
  2019-05-23  9:14 ` [Batch 5 - patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 101 Thomas Gleixner
                   ` (24 more replies)
  0 siblings, 25 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

To keep all of you entertained here comes the daily batch of interesting
ways how to express licensing, put emphasis on a standard GPL disclaimer
and some new variants of non standard disclaimers.

Thanks,

	tglx




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

* [Batch 5 - patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 101
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
@ 2019-05-23  9:14 ` Thomas Gleixner
  2019-05-23 12:44   ` Richard Fontana
                     ` (2 more replies)
  2019-05-23  9:14 ` [Batch 5 - patch 02/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 102 Thomas Gleixner
                   ` (23 subsequent siblings)
  24 siblings, 3 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  the sctp reference implementation 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 or at your option any later version the sctp reference
  implementation is distributed in the hope that it will be useful but
  without 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 gnu cc see the
  file copying if not see http www gnu org licenses

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=abf587f88d5d
---
 include/net/sctp/checksum.h |   17 +----------------
 1 file changed, 1 insertion(+), 16 deletions(-)

--- a/include/net/sctp/checksum.h
+++ b/include/net/sctp/checksum.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* SCTP kernel reference Implementation
  * Copyright (c) 1999-2001 Motorola, Inc.
  * Copyright (c) 2001-2003 International Business Machines, Corp.
@@ -6,22 +7,6 @@
  *
  * SCTP Checksum functions
  *
- * The SCTP reference implementation 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, or (at your option)
- * any later version.
- *
- * The SCTP reference implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>



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

* [Batch 5 - patch 02/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 102
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
  2019-05-23  9:14 ` [Batch 5 - patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 101 Thomas Gleixner
@ 2019-05-23  9:14 ` Thomas Gleixner
  2019-05-23 12:08   ` Richard Fontana
                     ` (2 more replies)
  2019-05-23  9:14 ` [Batch 5 - patch 03/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 103 Thomas Gleixner
                   ` (22 subsequent siblings)
  24 siblings, 3 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

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

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=8c3596c19e1f
---
 arch/arm/mach-imx/iomux-v1.c                   |   15 +--------------
 arch/mips/alchemy/board-gpr.c                  |   15 +--------------
 arch/mips/alchemy/board-mtx1.c                 |   15 +--------------
 arch/mips/alchemy/board-xxs1500.c              |   15 +--------------
 arch/mips/alchemy/devboards/db1000.c           |   15 +--------------
 arch/mips/alchemy/devboards/db1200.c           |   15 +--------------
 arch/mips/ar7/clock.c                          |   15 +--------------
 arch/mips/ar7/gpio.c                           |   15 +--------------
 arch/mips/ar7/irq.c                            |   15 +--------------
 arch/mips/ar7/memory.c                         |   15 +--------------
 arch/mips/ar7/platform.c                       |   15 +--------------
 arch/mips/include/asm/mach-ar7/ar7.h           |   15 +--------------
 arch/mips/include/asm/mach-ar7/prom.h          |   15 +--------------
 arch/mips/lasat/serial.c                       |   15 +--------------
 arch/x86/kernel/paravirt.c                     |   14 +-------------
 arch/x86/kernel/pvclock.c                      |   14 +-------------
 crypto/async_tx/async_raid6_recov.c            |   16 +---------------
 drivers/char/hw_random/virtio-rng.c            |   15 +--------------
 drivers/gpu/drm/drm_edid_load.c                |   14 +-------------
 drivers/hwmon/hih6130.c                        |   15 +--------------
 drivers/hwmon/sht21.c                          |   15 +--------------
 drivers/mtd/ar7part.c                          |   16 +---------------
 drivers/mtd/bcm63xxpart.c                      |   16 +---------------
 drivers/mtd/cmdlinepart.c                      |   15 +--------------
 drivers/mtd/mtd_blkdevs.c                      |   16 +---------------
 drivers/mtd/mtdblock.c                         |   16 +---------------
 drivers/mtd/mtdblock_ro.c                      |   16 +---------------
 drivers/mtd/mtdchar.c                          |   16 +---------------
 drivers/mtd/mtdconcat.c                        |   16 +---------------
 drivers/mtd/mtdcore.c                          |   16 +---------------
 drivers/mtd/mtdpart.c                          |   16 +---------------
 drivers/mtd/parsers/redboot.c                  |   16 +---------------
 drivers/virtio/virtio_balloon.c                |   15 +--------------
 drivers/virtio/virtio_ring.c                   |   15 +--------------
 drivers/vlynq/vlynq.c                          |   15 +--------------
 include/linux/mtd/bbm.h                        |   16 +---------------
 include/linux/mtd/blktrans.h                   |   16 +---------------
 include/linux/mtd/cfi.h                        |   16 +---------------
 include/linux/mtd/cfi_endian.h                 |   16 +---------------
 include/linux/mtd/concat.h                     |   16 +---------------
 include/linux/mtd/doc2000.h                    |   16 +---------------
 include/linux/mtd/flashchip.h                  |   16 +---------------
 include/linux/mtd/gen_probe.h                  |   16 +---------------
 include/linux/mtd/map.h                        |   16 +---------------
 include/linux/mtd/mtd.h                        |   16 +---------------
 include/linux/mtd/nftl.h                       |   16 +---------------
 include/linux/platform_data/media/camera-mx2.h |   15 +--------------
 include/linux/vlynq.h                          |   15 +--------------
 sound/drivers/mts64.c                          |   16 +---------------
 49 files changed, 49 insertions(+), 706 deletions(-)

--- a/arch/arm/mach-imx/iomux-v1.c
+++ b/arch/arm/mach-imx/iomux-v1.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * arch/arm/plat-mxc/iomux-v1.c
  *
@@ -5,20 +6,6 @@
  * Copyright (C) 2009 Uwe Kleine-Koenig, Pengutronix
  *
  * Common code for i.MX1, i.MX21 and i.MX27
- *
- * 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 St, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
 #include <linux/errno.h>
--- a/arch/mips/alchemy/board-gpr.c
+++ b/arch/mips/alchemy/board-gpr.c
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * GPR board platform device registration (Au1550)
  *
  * Copyright (C) 2010 Wolfgang Grandegger <wg@denx.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) 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 St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #include <linux/delay.h>
--- a/arch/mips/alchemy/board-mtx1.c
+++ b/arch/mips/alchemy/board-mtx1.c
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * MTX-1 platform devices registration (Au1500)
  *
  * Copyright (C) 2007-2009, Florian Fainelli <florian@openwrt.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #include <linux/init.h>
--- a/arch/mips/alchemy/board-xxs1500.c
+++ b/arch/mips/alchemy/board-xxs1500.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * BRIEF MODULE DESCRIPTION
  *	MyCable XXS1500 board support
  *
  * Copyright 2003, 2008 MontaVista Software Inc.
  * Author: MontaVista Software, Inc. <source@mvista.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 St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #include <linux/kernel.h>
--- a/arch/mips/alchemy/devboards/db1000.c
+++ b/arch/mips/alchemy/devboards/db1000.c
@@ -1,22 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * DBAu1000/1500/1100 PBAu1100/1500 board support
  *
  * Copyright 2000, 2008 MontaVista Software Inc.
  * Author: MontaVista Software, Inc. <source@mvista.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 St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #include <linux/clk.h>
--- a/arch/mips/alchemy/devboards/db1200.c
+++ b/arch/mips/alchemy/devboards/db1200.c
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * DBAu1200/PBAu1200 board platform device registration
  *
  * Copyright (C) 2008-2011 Manuel Lauss
- *
- * 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 St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #include <linux/clk.h>
--- a/arch/mips/ar7/clock.c
+++ b/arch/mips/ar7/clock.c
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2007 Felix Fietkau <nbd@openwrt.org>
  * Copyright (C) 2007 Eugene Konev <ejka@openwrt.org>
  * Copyright (C) 2009 Florian Fainelli <florian@openwrt.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #include <linux/kernel.h>
--- a/arch/mips/ar7/gpio.c
+++ b/arch/mips/ar7/gpio.c
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2007 Felix Fietkau <nbd@openwrt.org>
  * Copyright (C) 2007 Eugene Konev <ejka@openwrt.org>
  * Copyright (C) 2009-2010 Florian Fainelli <florian@openwrt.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #include <linux/init.h>
--- a/arch/mips/ar7/irq.c
+++ b/arch/mips/ar7/irq.c
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2006,2007 Felix Fietkau <nbd@openwrt.org>
  * Copyright (C) 2006,2007 Eugene Konev <ejka@openwrt.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #include <linux/interrupt.h>
--- a/arch/mips/ar7/memory.c
+++ b/arch/mips/ar7/memory.c
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2007 Felix Fietkau <nbd@openwrt.org>
  * Copyright (C) 2007 Eugene Konev <ejka@openwrt.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 #include <linux/memblock.h>
 #include <linux/init.h>
--- a/arch/mips/ar7/platform.c
+++ b/arch/mips/ar7/platform.c
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2006,2007 Felix Fietkau <nbd@openwrt.org>
  * Copyright (C) 2006,2007 Eugene Konev <ejka@openwrt.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #include <linux/init.h>
--- a/arch/mips/include/asm/mach-ar7/ar7.h
+++ b/arch/mips/include/asm/mach-ar7/ar7.h
@@ -1,20 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C) 2006,2007 Felix Fietkau <nbd@openwrt.org>
  * Copyright (C) 2006,2007 Eugene Konev <ejka@openwrt.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #ifndef __AR7_H__
--- a/arch/mips/include/asm/mach-ar7/prom.h
+++ b/arch/mips/include/asm/mach-ar7/prom.h
@@ -1,19 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C) 2006, 2007 Florian Fainelli <florian@openwrt.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #ifndef __PROM_H__
--- a/arch/mips/lasat/serial.c
+++ b/arch/mips/lasat/serial.c
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *  Registration of Lasat UART platform device.
  *
  *  Copyright (C) 2007	Brian Murphy <brian@murphy.dk>
- *
- *  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 St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 #include <linux/errno.h>
 #include <linux/init.h>
--- a/arch/x86/kernel/paravirt.c
+++ b/arch/x86/kernel/paravirt.c
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*  Paravirtualization interfaces
     Copyright (C) 2006 Rusty Russell IBM Corporation
 
-    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 St, Fifth Floor, Boston, MA  02110-1301  USA
 
     2007 - x86_64 support added by Glauber de Oliveira Costa, Red Hat Inc
 */
--- a/arch/x86/kernel/pvclock.c
+++ b/arch/x86/kernel/pvclock.c
@@ -1,18 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*  paravirtual clock -- common code used by kvm/xen
 
-    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 St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
 #include <linux/kernel.h>
--- a/crypto/async_tx/async_raid6_recov.c
+++ b/crypto/async_tx/async_raid6_recov.c
@@ -1,24 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Asynchronous RAID-6 recovery calculations ASYNC_TX API.
  * Copyright(c) 2009 Intel Corporation
  *
  * based on raid6recov.c:
  *   Copyright 2002 H. Peter Anvin
- *
- * 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 St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  */
 #include <linux/kernel.h>
 #include <linux/interrupt.h>
--- a/drivers/char/hw_random/virtio-rng.c
+++ b/drivers/char/hw_random/virtio-rng.c
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Randomness driver for virtio
  *  Copyright (C) 2007, 2008 Rusty Russell IBM Corporation
- *
- *  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 St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
 #include <linux/err.h>
--- a/drivers/gpu/drm/drm_edid_load.c
+++ b/drivers/gpu/drm/drm_edid_load.c
@@ -1,22 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
    drm_edid_load.c: use a built-in EDID data set or load it via the firmware
 		    interface
 
    Copyright (C) 2012 Carsten Emde <C.Emde@osadl.org>
 
-   This program is free software; you can redistribute it and/or
-   modify it under the terms of the GNU General Public License
-   as published by the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA.
 */
 
 #include <linux/module.h>
--- a/drivers/hwmon/hih6130.c
+++ b/drivers/hwmon/hih6130.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Honeywell HIH-6130/HIH-6131 humidity and temperature sensor driver
  *
  * Copyright (C) 2012 Iain Paton <ipaton0@gmail.com>
@@ -5,20 +6,6 @@
  * heavily based on the sht21 driver
  * Copyright (C) 2010 Urs Fleisch <urs.fleisch@sensirion.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 St - Fifth Floor, Boston, MA 02110-1301 USA
- *
  * Data sheets available (2012-06-22) at
  * http://sensing.honeywell.com/index.php?ci_id=3106&la_id=1&defId=44872
  */
--- a/drivers/hwmon/sht21.c
+++ b/drivers/hwmon/sht21.c
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Sensirion SHT21 humidity and temperature sensor driver
  *
  * Copyright (C) 2010 Urs Fleisch <urs.fleisch@sensirion.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 St - Fifth Floor, Boston, MA 02110-1301 USA
- *
  * Data sheet available at http://www.sensirion.com/file/datasheet_sht21
  */
 
--- a/drivers/mtd/ar7part.c
+++ b/drivers/mtd/ar7part.c
@@ -1,23 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright © 2007 Eugene Konev <ejka@openwrt.org>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  * TI AR7 flash partition table.
  * Based on ar7 map by Felix Fietkau <nbd@openwrt.org>
- *
  */
 
 #include <linux/kernel.h>
--- a/drivers/mtd/bcm63xxpart.c
+++ b/drivers/mtd/bcm63xxpart.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * BCM63XX CFE image tag parser
  *
@@ -5,21 +6,6 @@
  *			  Mike Albon <malbon@openwrt.org>
  * Copyright © 2009-2010  Daniel Dickinson <openwrt@cshore.neomailbox.net>
  * Copyright © 2011-2013  Jonas Gorski <jonas.gorski@gmail.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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
--- a/drivers/mtd/cmdlinepart.c
+++ b/drivers/mtd/cmdlinepart.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Read flash partition table from command line
  *
  * Copyright © 2002      SYSGO Real-Time Solutions GmbH
  * Copyright © 2002-2010 David Woodhouse <dwmw2@infradead.org>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  * The format for the command line is as follows:
  *
  * mtdparts=<mtddef>[;<mtddef]
--- a/drivers/mtd/mtd_blkdevs.c
+++ b/drivers/mtd/mtd_blkdevs.c
@@ -1,22 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Interface to Linux block layer for MTD 'translation layers'.
  *
  * Copyright © 2003-2010 David Woodhouse <dwmw2@infradead.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #include <linux/kernel.h>
--- a/drivers/mtd/mtdblock.c
+++ b/drivers/mtd/mtdblock.c
@@ -1,23 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Direct MTD block device access
  *
  * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
  * Copyright © 2000-2003 Nicolas Pitre <nico@fluxnic.net>
- *
- * 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #include <linux/fs.h>
--- a/drivers/mtd/mtdblock_ro.c
+++ b/drivers/mtd/mtdblock_ro.c
@@ -1,22 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Simple read-only (writable only for RAM) mtdblock driver
  *
  * Copyright © 2001-2010 David Woodhouse <dwmw2@infradead.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #include <linux/init.h>
--- a/drivers/mtd/mtdchar.c
+++ b/drivers/mtd/mtdchar.c
@@ -1,20 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #include <linux/device.h>
--- a/drivers/mtd/mtdconcat.c
+++ b/drivers/mtd/mtdconcat.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * MTD device concatenation layer
  *
@@ -5,21 +6,6 @@
  * Copyright © 2002-2010 David Woodhouse <dwmw2@infradead.org>
  *
  * NAND support by Christian Gan <cgan@iders.ca>
- *
- * 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #include <linux/kernel.h>
--- a/drivers/mtd/mtdcore.c
+++ b/drivers/mtd/mtdcore.c
@@ -1,24 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Core registration and callback routines for MTD
  * drivers and users.
  *
  * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
  * Copyright © 2006      Red Hat UK Limited 
- *
- * 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #include <linux/module.h>
--- a/drivers/mtd/mtdpart.c
+++ b/drivers/mtd/mtdpart.c
@@ -1,24 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Simple MTD partitioning layer
  *
  * Copyright © 2000 Nicolas Pitre <nico@fluxnic.net>
  * Copyright © 2002 Thomas Gleixner <gleixner@linutronix.de>
  * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #include <linux/module.h>
--- a/drivers/mtd/parsers/redboot.c
+++ b/drivers/mtd/parsers/redboot.c
@@ -1,24 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Parse RedBoot-style Flash Image System (FIS) tables and
  * produce a Linux partition array to match.
  *
  * Copyright © 2001      Red Hat UK Limited
  * Copyright © 2001-2010 David Woodhouse <dwmw2@infradead.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #include <linux/kernel.h>
--- a/drivers/virtio/virtio_balloon.c
+++ b/drivers/virtio/virtio_balloon.c
@@ -1,22 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Virtio balloon implementation, inspired by Dor Laor and Marcelo
  * Tosatti's implementations.
  *
  *  Copyright 2008 Rusty Russell IBM Corporation
- *
- *  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 St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #include <linux/virtio.h>
--- a/drivers/virtio/virtio_ring.c
+++ b/drivers/virtio/virtio_ring.c
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Virtio ring implementation.
  *
  *  Copyright 2007 Rusty Russell IBM Corporation
- *
- *  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 St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 #include <linux/virtio.h>
 #include <linux/virtio_ring.h>
--- a/drivers/vlynq/vlynq.c
+++ b/drivers/vlynq/vlynq.c
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2006, 2007 Eugene Konev <ejka@openwrt.org>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  * Parts of the VLYNQ specification can be found here:
  * http://www.ti.com/litv/pdf/sprue36a
  */
--- a/include/linux/mtd/bbm.h
+++ b/include/linux/mtd/bbm.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *  NAND family Bad Block Management (BBM) header file
  *    - Bad Block Table (BBT) implementation
@@ -7,21 +8,6 @@
  *
  *  Copyright © 2000-2005
  *  Thomas Gleixner <tglx@linuxtronix.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) 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 #ifndef __LINUX_MTD_BBM_H
 #define __LINUX_MTD_BBM_H
--- a/include/linux/mtd/blktrans.h
+++ b/include/linux/mtd/blktrans.h
@@ -1,20 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright © 2003-2010 David Woodhouse <dwmw2@infradead.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #ifndef __MTD_TRANS_H__
--- a/include/linux/mtd/cfi.h
+++ b/include/linux/mtd/cfi.h
@@ -1,20 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> et al.
- *
- * 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #ifndef __MTD_CFI_H__
--- a/include/linux/mtd/cfi_endian.h
+++ b/include/linux/mtd/cfi_endian.h
@@ -1,20 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright © 2001-2010 David Woodhouse <dwmw2@infradead.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #include <asm/byteorder.h>
--- a/include/linux/mtd/concat.h
+++ b/include/linux/mtd/concat.h
@@ -1,22 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * MTD device concatenation layer definitions
  *
  * Copyright © 2002      Robert Kaiser <rkaiser@sysgo.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) 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #ifndef MTD_CONCAT_H
--- a/include/linux/mtd/doc2000.h
+++ b/include/linux/mtd/doc2000.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Linux driver for Disk-On-Chip devices
  *
@@ -5,21 +6,6 @@
  * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
  * Copyright © 2002-2003 Greg Ungerer <gerg@snapgear.com>
  * Copyright © 2002-2003 SnapGear 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, 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #ifndef __MTD_DOC2000_H__
--- a/include/linux/mtd/flashchip.h
+++ b/include/linux/mtd/flashchip.h
@@ -1,21 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright © 2000      Red Hat UK Limited
  * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #ifndef __MTD_FLASHCHIP_H__
--- a/include/linux/mtd/gen_probe.h
+++ b/include/linux/mtd/gen_probe.h
@@ -1,21 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright © 2001      Red Hat UK Limited
  * Copyright © 2001-2010 David Woodhouse <dwmw2@infradead.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #ifndef __LINUX_MTD_GEN_PROBE_H__
--- a/include/linux/mtd/map.h
+++ b/include/linux/mtd/map.h
@@ -1,20 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> et al.
- *
- * 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 /* Overhauled routines for dealing with different mmap regions of flash */
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -1,20 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> et al.
- *
- * 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #ifndef __MTD_MTD_H__
--- a/include/linux/mtd/nftl.h
+++ b/include/linux/mtd/nftl.h
@@ -1,20 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #ifndef __MTD_NFTL_H__
--- a/include/linux/platform_data/media/camera-mx2.h
+++ b/include/linux/platform_data/media/camera-mx2.h
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * mx2-cam.h - i.MX27/i.MX25 camera driver header file
  *
  * Copyright (C) 2003, Intel Corporation
  * Copyright (C) 2008, Sascha Hauer <s.hauer@pengutronix.de>
  * Copyright (C) 2010, Baruch Siach <baruch@tkos.co.il>
- *
- * 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 St - Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #ifndef __MACH_MX2_CAM_H_
--- a/include/linux/vlynq.h
+++ b/include/linux/vlynq.h
@@ -1,19 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C) 2006, 2007 Eugene Konev <ejka@openwrt.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
 #ifndef __VLYNQ_H__
--- a/sound/drivers/mts64.c
+++ b/sound/drivers/mts64.c
@@ -1,21 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*     
  *   ALSA Driver for Ego Systems Inc. (ESI) Miditerminal 4140
  *   Copyright (c) 2006 by Matthias König <mk@phasorlab.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) 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 St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #include <linux/init.h>



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

* [Batch 5 - patch 03/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 103
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
  2019-05-23  9:14 ` [Batch 5 - patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 101 Thomas Gleixner
  2019-05-23  9:14 ` [Batch 5 - patch 02/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 102 Thomas Gleixner
@ 2019-05-23  9:14 ` Thomas Gleixner
  2019-05-23 12:52   ` Richard Fontana
                     ` (2 more replies)
  2019-05-23  9:14 ` [Batch 5 - patch 04/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 104 Thomas Gleixner
                   ` (21 subsequent siblings)
  24 siblings, 3 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  the sctp implementation 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 or at
  your option any later version the sctp implementation is distributed
  in the hope that it will be useful but without 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 gnu cc see the file copying if not see http www
  gnu org licenses

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=c2b42ff8d9db
---
 net/sctp/endpointola.c |   17 +----------------
 1 file changed, 1 insertion(+), 16 deletions(-)

--- a/net/sctp/endpointola.c
+++ b/net/sctp/endpointola.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * Copyright (c) 1999-2000 Cisco, Inc.
  * Copyright (c) 1999-2001 Motorola, Inc.
@@ -10,22 +11,6 @@
  *
  * This abstraction represents an SCTP endpoint.
  *
- * The SCTP implementation 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, or (at your option)
- * any later version.
- *
- * The SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>



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

* [Batch 5 - patch 04/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 104
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
                   ` (2 preceding siblings ...)
  2019-05-23  9:14 ` [Batch 5 - patch 03/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 103 Thomas Gleixner
@ 2019-05-23  9:14 ` Thomas Gleixner
  2019-05-23 12:41   ` Richard Fontana
                     ` (2 more replies)
  2019-05-23  9:14 ` [Batch 5 - patch 05/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 105 Thomas Gleixner
                   ` (20 subsequent siblings)
  24 siblings, 3 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  this sctp implementation 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 or at
  your option any later version this sctp implementation is
  distributed in the hope that it will be useful but without 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 gnu cc see the file copying if not see
  http www gnu org licenses

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=d14e4ff614c0
---
 include/linux/sctp.h                 |   17 +----------------
 include/net/sctp/auth.h              |   17 +----------------
 include/net/sctp/command.h           |   17 +----------------
 include/net/sctp/constants.h         |   17 +----------------
 include/net/sctp/sctp.h              |   17 +----------------
 include/net/sctp/sm.h                |   17 +----------------
 include/net/sctp/stream_interleave.h |   17 +----------------
 include/net/sctp/stream_sched.h      |   17 +----------------
 include/net/sctp/structs.h           |   17 +----------------
 include/net/sctp/tsnmap.h            |   17 +----------------
 include/net/sctp/ulpevent.h          |   17 +----------------
 include/net/sctp/ulpqueue.h          |   17 +----------------
 net/sctp/associola.c                 |   17 +----------------
 net/sctp/auth.c                      |   17 +----------------
 net/sctp/bind_addr.c                 |   17 +----------------
 net/sctp/chunk.c                     |   17 +----------------
 net/sctp/debug.c                     |   17 +----------------
 net/sctp/diag.c                      |   17 +----------------
 net/sctp/input.c                     |   17 +----------------
 net/sctp/inqueue.c                   |   17 +----------------
 net/sctp/ipv6.c                      |   17 +----------------
 net/sctp/objcnt.c                    |   17 +----------------
 net/sctp/output.c                    |   17 +----------------
 net/sctp/outqueue.c                  |   17 +----------------
 net/sctp/primitive.c                 |   17 +----------------
 net/sctp/proc.c                      |   17 +----------------
 net/sctp/protocol.c                  |   17 +----------------
 net/sctp/sm_make_chunk.c             |   17 +----------------
 net/sctp/sm_sideeffect.c             |   17 +----------------
 net/sctp/sm_statefuns.c              |   17 +----------------
 net/sctp/sm_statetable.c             |   17 +----------------
 net/sctp/socket.c                    |   17 +----------------
 net/sctp/stream.c                    |   17 +----------------
 net/sctp/stream_interleave.c         |   17 +----------------
 net/sctp/stream_sched.c              |   17 +----------------
 net/sctp/stream_sched_prio.c         |   17 +----------------
 net/sctp/stream_sched_rr.c           |   17 +----------------
 net/sctp/sysctl.c                    |   17 +----------------
 net/sctp/transport.c                 |   17 +----------------
 net/sctp/tsnmap.c                    |   17 +----------------
 net/sctp/ulpevent.c                  |   17 +----------------
 net/sctp/ulpqueue.c                  |   17 +----------------
 42 files changed, 42 insertions(+), 672 deletions(-)

--- a/include/linux/sctp.h
+++ b/include/linux/sctp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* SCTP kernel reference Implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (c) 1999-2000 Cisco, Inc.
@@ -10,22 +11,6 @@
  *
  * Various protocol defined structures.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/include/net/sctp/auth.h
+++ b/include/net/sctp/auth.h
@@ -1,24 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* SCTP kernel implementation
  * (C) Copyright 2007 Hewlett-Packard Development Company, L.P.
  *
  * This file is part of the SCTP kernel implementation
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/include/net/sctp/command.h
+++ b/include/net/sctp/command.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* SCTP kernel Implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (C) 1999-2001 Cisco, Motorola
@@ -6,22 +7,6 @@
  *
  * These are the definitions needed for the command object.
  *
- * This SCTP implementation  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, or (at your option)
- * any later version.
- *
- * This SCTP implementation  is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/include/net/sctp/constants.h
+++ b/include/net/sctp/constants.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (c) 1999-2000 Cisco, Inc.
@@ -6,22 +7,6 @@
  *
  * This file is part of the SCTP kernel implementation
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/include/net/sctp/sctp.h
+++ b/include/net/sctp/sctp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (c) 1999-2000 Cisco, Inc.
@@ -8,22 +9,6 @@
  *
  * The base lksctp header.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/include/net/sctp/sm.h
+++ b/include/net/sctp/sm.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (c) 1999-2000 Cisco, Inc.
@@ -8,22 +9,6 @@
  *
  * These are definitions needed by the state machine.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email addresses:
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/include/net/sctp/stream_interleave.h
+++ b/include/net/sctp/stream_interleave.h
@@ -1,25 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* SCTP kernel implementation
  * (C) Copyright Red Hat Inc. 2017
  *
  * These are definitions used by the stream schedulers, defined in RFC
  * draft ndata (https://tools.ietf.org/html/draft-ietf-tsvwg-sctp-ndata-11)
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation  is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email addresses:
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/include/net/sctp/stream_sched.h
+++ b/include/net/sctp/stream_sched.h
@@ -1,25 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* SCTP kernel implementation
  * (C) Copyright Red Hat Inc. 2017
  *
  * These are definitions used by the stream schedulers, defined in RFC
  * draft ndata (https://tools.ietf.org/html/draft-ietf-tsvwg-sctp-ndata-11)
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation  is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email addresses:
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/include/net/sctp/structs.h
+++ b/include/net/sctp/structs.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (c) 1999-2000 Cisco, Inc.
@@ -6,22 +7,6 @@
  *
  * This file is part of the SCTP kernel implementation
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email addresses:
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/include/net/sctp/tsnmap.h
+++ b/include/net/sctp/tsnmap.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (c) 1999-2000 Cisco, Inc.
@@ -9,22 +10,6 @@
  * These are the definitions needed for the tsnmap type.  The tsnmap is used
  * to track out of order TSNs received.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/include/net/sctp/ulpevent.h
+++ b/include/net/sctp/ulpevent.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (c) 1999-2000 Cisco, Inc.
@@ -12,22 +13,6 @@
  *
  * This file is part of the SCTP kernel implementation
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/include/net/sctp/ulpqueue.h
+++ b/include/net/sctp/ulpqueue.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (c) 1999-2000 Cisco, Inc.
@@ -11,22 +12,6 @@
  * and the core SCTP state machine.  This is the component which handles
  * reassembly and ordering.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation  is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email addresses:
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/associola.c
+++ b/net/sctp/associola.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (c) 1999-2000 Cisco, Inc.
@@ -9,22 +10,6 @@
  *
  * This module provides the abstraction for an SCTP association.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/auth.c
+++ b/net/sctp/auth.c
@@ -1,24 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright 2007 Hewlett-Packard Development Company, L.P.
  *
  * This file is part of the SCTP kernel implementation
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/bind_addr.c
+++ b/net/sctp/bind_addr.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2003
  * Copyright (c) Cisco 1999,2000
@@ -8,22 +9,6 @@
  *
  * A collection class to handle the storage of transport addresses.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/chunk.c
+++ b/net/sctp/chunk.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2003, 2004
  *
@@ -5,22 +6,6 @@
  *
  * This file contains the code relating the chunk abstraction.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/debug.c
+++ b/net/sctp/debug.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (c) 1999-2000 Cisco, Inc.
@@ -9,22 +10,6 @@
  * This file converts numerical ID value to alphabetical names for SCTP
  * terms such as chunk type, parameter time, event type, etc.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/diag.c
+++ b/net/sctp/diag.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright Red Hat Inc. 2017
  *
@@ -5,22 +6,6 @@
  *
  * These functions implement sctp diag support.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email addresched(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/input.c
+++ b/net/sctp/input.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * Copyright (c) 1999-2000 Cisco, Inc.
  * Copyright (c) 1999-2001 Motorola, Inc.
@@ -10,22 +11,6 @@
  *
  * These functions handle all input from the IP layer into SCTP.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/inqueue.c
+++ b/net/sctp/inqueue.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * Copyright (c) 1999-2000 Cisco, Inc.
  * Copyright (c) 1999-2001 Motorola, Inc.
@@ -11,22 +12,6 @@
  * (which might be bundles or fragments of chunks) and out of which you
  * pop SCTP whole chunks.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/ipv6.c
+++ b/net/sctp/ipv6.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2002, 2004
  * Copyright (c) 2001 Nokia, Inc.
@@ -8,22 +9,6 @@
  *
  * SCTP over IPv6.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/objcnt.c
+++ b/net/sctp/objcnt.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2004
  *
@@ -7,22 +8,6 @@
  * object allocations/deallocations for types instrumented for this
  * via the proc fs.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/output.c
+++ b/net/sctp/output.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (c) 1999-2000 Cisco, Inc.
@@ -7,22 +8,6 @@
  *
  * These functions handle output processing.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/outqueue.c
+++ b/net/sctp/outqueue.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (c) 1999-2000 Cisco, Inc.
@@ -9,22 +10,6 @@
  * These functions implement the sctp_outq class.   The outqueue handles
  * bundling and queueing of outgoing SCTP chunks.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/primitive.c
+++ b/net/sctp/primitive.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * Copyright (c) 1999-2000 Cisco, Inc.
  * Copyright (c) 1999-2001 Motorola, Inc.
@@ -10,22 +11,6 @@
  * functions--this file is the functions which populate the struct proto
  * for SCTP which is the BOTTOM of the sockets interface.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/proc.c
+++ b/net/sctp/proc.c
@@ -1,24 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * Copyright (c) 2003 International Business Machines, Corp.
  *
  * This file is part of the SCTP kernel implementation
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/protocol.c
+++ b/net/sctp/protocol.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (c) 1999-2000 Cisco, Inc.
@@ -10,22 +11,6 @@
  *
  * Initialization/cleanup for SCTP protocol support.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/sm_make_chunk.c
+++ b/net/sctp/sm_make_chunk.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (c) 1999-2000 Cisco, Inc.
@@ -10,22 +11,6 @@
  * to implement the state operations.  These functions implement the
  * steps which require modifying existing data structures.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/sm_sideeffect.c
+++ b/net/sctp/sm_sideeffect.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (c) 1999 Cisco, Inc.
@@ -9,22 +10,6 @@
  * to implement that state operations.  These functions implement the
  * steps which require modifying existing data structures.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/sm_statefuns.c
+++ b/net/sctp/sm_statefuns.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (c) 1999-2000 Cisco, Inc.
@@ -9,22 +10,6 @@
  *
  * These are the state functions for the state machine.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/sm_statetable.c
+++ b/net/sctp/sm_statetable.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (c) 1999-2000 Cisco, Inc.
@@ -9,22 +10,6 @@
  *
  * These are the state tables for the SCTP state machine.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/socket.c
+++ b/net/sctp/socket.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (c) 1999-2000 Cisco, Inc.
@@ -15,22 +16,6 @@
  * functions--this file is the functions which populate the struct proto
  * for SCTP which is the BOTTOM of the sockets interface.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/stream.c
+++ b/net/sctp/stream.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (c) 1999-2000 Cisco, Inc.
@@ -8,22 +9,6 @@
  *
  * This file contains sctp stream maniuplation primitives and helpers.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/stream_interleave.c
+++ b/net/sctp/stream_interleave.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright Red Hat Inc. 2017
  *
@@ -6,22 +7,6 @@
  * These functions implement sctp stream message interleaving, mostly
  * including I-DATA and I-FORWARD-TSN chunks process.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email addresched(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/stream_sched.c
+++ b/net/sctp/stream_sched.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright Red Hat Inc. 2017
  *
@@ -5,22 +6,6 @@
  *
  * These functions manipulate sctp stream queue/scheduling.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email addresched(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/stream_sched_prio.c
+++ b/net/sctp/stream_sched_prio.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright Red Hat Inc. 2017
  *
@@ -5,22 +6,6 @@
  *
  * These functions manipulate sctp stream queue/scheduling.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email addresched(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/stream_sched_rr.c
+++ b/net/sctp/stream_sched_rr.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright Red Hat Inc. 2017
  *
@@ -5,22 +6,6 @@
  *
  * These functions manipulate sctp stream queue/scheduling.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email addresched(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/sysctl.c
+++ b/net/sctp/sysctl.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2002, 2004
  * Copyright (c) 2002 Intel Corp.
@@ -6,22 +7,6 @@
  *
  * Sysctl related interfaces for SCTP.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/transport.c
+++ b/net/sctp/transport.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * Copyright (c) 1999-2000 Cisco, Inc.
  * Copyright (c) 1999-2001 Motorola, Inc.
@@ -11,22 +12,6 @@
  * a remote transport address.  For local transport addresses, we just use
  * union sctp_addr.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/tsnmap.c
+++ b/net/sctp/tsnmap.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (c) 1999-2000 Cisco, Inc.
@@ -8,22 +9,6 @@
  *
  * These functions manipulate sctp tsn mapping array.
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/ulpevent.c
+++ b/net/sctp/ulpevent.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (c) 1999-2000 Cisco, Inc.
@@ -9,22 +10,6 @@
  * These functions manipulate an sctp event.   The struct ulpevent is used
  * to carry notifications and data to the ULP (sockets).
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>
--- a/net/sctp/ulpqueue.c
+++ b/net/sctp/ulpqueue.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* SCTP kernel implementation
  * (C) Copyright IBM Corp. 2001, 2004
  * Copyright (c) 1999-2000 Cisco, Inc.
@@ -8,22 +9,6 @@
  *
  * This abstraction carries sctp events to the ULP (sockets).
  *
- * This SCTP implementation 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, or (at your option)
- * any later version.
- *
- * This SCTP implementation is distributed in the hope that it
- * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
- * <http://www.gnu.org/licenses/>.
- *
  * Please send any bug reports or fixes you make to the
  * email address(es):
  *    lksctp developers <linux-sctp@vger.kernel.org>



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

* [Batch 5 - patch 05/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 105
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
                   ` (3 preceding siblings ...)
  2019-05-23  9:14 ` [Batch 5 - patch 04/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 104 Thomas Gleixner
@ 2019-05-23  9:14 ` Thomas Gleixner
  2019-05-23 11:44   ` Richard Fontana
                     ` (2 more replies)
  2019-05-23  9:14 ` [Batch 5 - patch 06/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 106 Thomas Gleixner
                   ` (19 subsequent siblings)
  24 siblings, 3 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation either version 2 of the license or at
  your option any later version author [hema] [hk] [hemahk]@[ti] [com]
  this program is distributed in the hope that it will be useful but
  without 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 675 mass ave cambridge
  ma 02139 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 1 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=e7f98ed85d4c
---
 arch/arm/mach-omap2/omap_phy_internal.c |   16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

--- a/arch/arm/mach-omap2/omap_phy_internal.c
+++ b/arch/arm/mach-omap2/omap_phy_internal.c
@@ -1,24 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
   * This file configures the internal USB PHY in OMAP4430. Used
   * with TWL6030 transceiver and MUSB on OMAP4430.
   *
   * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.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.
-  *
   * Author: Hema HK <hemahk@ti.com>
-  *
-  * This program is distributed in the hope that it will be useful,
-  * but WITHOUT 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., 675 Mass Ave, Cambridge, MA 02139, USA.
-  *
   */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt



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

* [Batch 5 - patch 06/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 106
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
                   ` (4 preceding siblings ...)
  2019-05-23  9:14 ` [Batch 5 - patch 05/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 105 Thomas Gleixner
@ 2019-05-23  9:14 ` Thomas Gleixner
  2019-05-23 11:45   ` Richard Fontana
                     ` (2 more replies)
  2019-05-23  9:14 ` [Batch 5 - patch 07/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 107 Thomas Gleixner
                   ` (18 subsequent siblings)
  24 siblings, 3 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation either version 2 of the license or at
  your option any later version this software is distributed in the
  hope that it will be useful but without 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 atmel wireless lan drivers if not see http www gnu org licenses

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=2824b6c340b2
---
 drivers/net/wireless/atmel/atmel.h     |   14 +-------------
 drivers/net/wireless/atmel/atmel_pci.c |   14 +-------------
 2 files changed, 2 insertions(+), 26 deletions(-)

--- a/drivers/net/wireless/atmel/atmel.h
+++ b/drivers/net/wireless/atmel/atmel.h
@@ -1,22 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*** -*- linux-c -*- **********************************************************
 
      Driver for Atmel at76c502 at76c504 and at76c506 wireless cards.
 
          Copyright 2005 Dan Williams and Red Hat, 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, or
-    (at your option) any later version.
-
-    This software is distributed in the hope that it will be useful,
-    but WITHOUT 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 Atmel wireless lan drivers; if not, see
-    <http://www.gnu.org/licenses/>.
 
 ******************************************************************************/
 
--- a/drivers/net/wireless/atmel/atmel_pci.c
+++ b/drivers/net/wireless/atmel/atmel_pci.c
@@ -1,22 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*** -*- linux-c -*- **********************************************************
 
      Driver for Atmel at76c502 at76c504 and at76c506 wireless cards.
 
          Copyright 2004 Simon Kelley.
 
-    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 software is distributed in the hope that it will be useful,
-    but WITHOUT 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 Atmel wireless lan drivers; if not, see
-    <http://www.gnu.org/licenses/>.
 
 ******************************************************************************/
 #include <linux/pci.h>



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

* [Batch 5 - patch 07/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 107
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
                   ` (5 preceding siblings ...)
  2019-05-23  9:14 ` [Batch 5 - patch 06/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 106 Thomas Gleixner
@ 2019-05-23  9:14 ` Thomas Gleixner
  2019-05-23  9:45   ` Thomas Gleixner
  2019-05-23  9:14 ` [Batch 5 - patch 08/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 108 Thomas Gleixner
                   ` (17 subsequent siblings)
  24 siblings, 1 reply; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

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

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=2aeb5cde3595
---
 arch/x86/include/asm/hypervisor.h |   17 +----------------
 arch/x86/kernel/cpu/hypervisor.c  |   17 +----------------
 arch/x86/kernel/cpu/vmware.c      |   17 +----------------
 drivers/macintosh/via-pmu-event.c |   17 +----------------
 drivers/macintosh/via-pmu-led.c   |   17 +----------------
 5 files changed, 5 insertions(+), 80 deletions(-)

--- a/arch/x86/include/asm/hypervisor.h
+++ b/arch/x86/include/asm/hypervisor.h
@@ -1,21 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Copyright (C) 2008, VMware, 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, 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, GOOD TITLE or
- * NON INFRINGEMENT.  See the GNU General Public License for more
- * details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
  */
 #ifndef _ASM_X86_HYPERVISOR_H
 #define _ASM_X86_HYPERVISOR_H
--- a/arch/x86/kernel/cpu/hypervisor.c
+++ b/arch/x86/kernel/cpu/hypervisor.c
@@ -1,24 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Common hypervisor code
  *
  * Copyright (C) 2008, VMware, Inc.
  * Author : Alok N Kataria <akataria@vmware.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, GOOD TITLE or
- * NON INFRINGEMENT.  See the GNU General Public License for more
- * details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
  */
 
 #include <linux/init.h>
--- a/arch/x86/kernel/cpu/vmware.c
+++ b/arch/x86/kernel/cpu/vmware.c
@@ -1,24 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * VMware Detection code.
  *
  * Copyright (C) 2008, VMware, Inc.
  * Author : Alok N Kataria <akataria@vmware.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, GOOD TITLE or
- * NON INFRINGEMENT.  See the GNU General Public License for more
- * details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
  */
 
 #include <linux/dmi.h>
--- a/drivers/macintosh/via-pmu-event.c
+++ b/drivers/macintosh/via-pmu-event.c
@@ -1,23 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * via-pmu event device for reporting some events that come through the PMU
  *
  * Copyright 2006 Johannes Berg <johannes@sipsolutions.net>
- *
- * 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, GOOD TITLE or
- * NON INFRINGEMENT.  See the GNU General Public License for more
- * details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
- *
  */
 
 #include <linux/input.h>
--- a/drivers/macintosh/via-pmu-led.c
+++ b/drivers/macintosh/via-pmu-led.c
@@ -1,23 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * via-pmu LED class device
  *
  * Copyright 2006 Johannes Berg <johannes@sipsolutions.net>
- *
- * 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, GOOD TITLE or
- * NON INFRINGEMENT.  See the GNU General Public License for more
- * details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
- *
  */
 #include <linux/types.h>
 #include <linux/kernel.h>



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

* [Batch 5 - patch 08/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 108
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
                   ` (6 preceding siblings ...)
  2019-05-23  9:14 ` [Batch 5 - patch 07/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 107 Thomas Gleixner
@ 2019-05-23  9:14 ` Thomas Gleixner
  2019-05-23 11:54   ` Richard Fontana
  2019-05-23  9:14 ` [Batch 5 - patch 09/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 109 Thomas Gleixner
                   ` (16 subsequent siblings)
  24 siblings, 1 reply; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  gnupg 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 gnupg is distributed in the hope that
  it will be useful but without any warranty without even the implied
  warranty of merchantability or fitness for a particular purpose see
  the gnu general public license for more details you should have
  received a copy of the gnu general public license along with this
  program if not write to the free software foundation inc 59 temple
  place suite 330 boston ma 02111 1307 usa

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=cad8bc93c21d
---
 lib/mpi/mpi-bit.c  |   15 +--------------
 lib/mpi/mpi-cmp.c  |   15 +--------------
 lib/mpi/mpicoder.c |   15 +--------------
 lib/mpi/mpiutil.c  |   15 +--------------
 4 files changed, 4 insertions(+), 56 deletions(-)

--- a/lib/mpi/mpi-bit.c
+++ b/lib/mpi/mpi-bit.c
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* mpi-bit.c  -  MPI bit level fucntions
  * Copyright (C) 1998, 1999 Free Software Foundation, Inc.
  *
  * This file is part of GnuPG.
- *
- * GnuPG 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.
- *
- * GnuPG is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
  */
 
 #include "mpi-internal.h"
--- a/lib/mpi/mpi-cmp.c
+++ b/lib/mpi/mpi-cmp.c
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* mpi-cmp.c  -  MPI functions
  * Copyright (C) 1998, 1999 Free Software Foundation, Inc.
  *
  * This file is part of GnuPG.
- *
- * GnuPG 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.
- *
- * GnuPG is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
  */
 
 #include "mpi-internal.h"
--- a/lib/mpi/mpicoder.c
+++ b/lib/mpi/mpicoder.c
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* mpicoder.c  -  Coder for the external representation of MPIs
  * Copyright (C) 1998, 1999 Free Software Foundation, Inc.
  *
  * This file is part of GnuPG.
- *
- * GnuPG 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.
- *
- * GnuPG is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
  */
 
 #include <linux/bitops.h>
--- a/lib/mpi/mpiutil.c
+++ b/lib/mpi/mpiutil.c
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* mpiutil.ac  -  Utility functions for MPI
  * Copyright (C) 1998, 1999 Free Software Foundation, Inc.
  *
  * This file is part of GnuPG.
- *
- * GnuPG 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.
- *
- * GnuPG is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
  */
 
 #include "mpi-internal.h"



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

* [Batch 5 - patch 09/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 109
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
                   ` (7 preceding siblings ...)
  2019-05-23  9:14 ` [Batch 5 - patch 08/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 108 Thomas Gleixner
@ 2019-05-23  9:14 ` Thomas Gleixner
  2019-05-23  9:46   ` Thomas Gleixner
  2019-05-23  9:14 ` [Batch 5 - patch 10/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 110 Thomas Gleixner
                   ` (15 subsequent siblings)
  24 siblings, 1 reply; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation either version 2 of the license or at
  your option any later version this program is distributed in the
  hope that it will be useful but without any warranty without even
  the implied warranty of merchantability or fitness for a particular
  purpose see the gnu general public license for more details no
  warranty the program is provided on an as is basis without
  warranties or conditions of any kind either express or implied
  including without limitation any warranties or conditions of title
  non infringement merchantability or fitness for a particular purpose
  each recipient is solely responsible for determining the
  appropriateness of using and distributing the program and assumes
  all risks associated with its exercise of rights under this
  agreement including but not limited to the risks and costs of
  program errors damage to or loss of data programs or equipment and
  unavailability or interruption of operations disclaimer of liability
  neither recipient nor any contributors shall have any liability for
  any direct indirect incidental special exemplary or consequential
  damages including without limitation lost profits however caused and
  on any theory of liability whether in contract strict liability or
  tort including negligence or otherwise arising in any way out of the
  use or distribution of the program or the exercise of any rights
  granted hereunder even if advised of the possibility of such damages
  you should have received a copy of the gnu general public license
  along with this program

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=6c491a6d1d7a
---
 drivers/scsi/mpt3sas/mpt3sas_warpdrive.c |   34 -------------------------------
 1 file changed, 1 insertion(+), 33 deletions(-)

--- a/drivers/scsi/mpt3sas/mpt3sas_warpdrive.c
+++ b/drivers/scsi/mpt3sas/mpt3sas_warpdrive.c
@@ -1,42 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Scsi Host Layer for MPT (Message Passing Technology) based controllers
  *
  * Copyright (C) 2012-2014  LSI Corporation
  * Copyright (C) 2013-2015 Avago Technologies
  *  (mailto: MPT-FusionLinux.pdl@avagotech.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.
- *
- * NO WARRANTY
- * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
- * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
- * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
- * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
- * solely responsible for determining the appropriateness of using and
- * distributing the Program and assumes all risks associated with its
- * exercise of rights under this Agreement, including but not limited to
- * the risks and costs of program errors, damage to or loss of data,
- * programs or equipment, and unavailability or interruption of operations.
-
- * DISCLAIMER OF LIABILITY
- * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
- * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
- * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
- * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
-
- * You should have received a copy of the GNU General Public License
- * along with this program.
  */
 #include <linux/kernel.h>
 #include <linux/module.h>



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

* [Batch 5 - patch 10/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 110
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
                   ` (8 preceding siblings ...)
  2019-05-23  9:14 ` [Batch 5 - patch 09/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 109 Thomas Gleixner
@ 2019-05-23  9:14 ` Thomas Gleixner
  2019-05-23 12:43   ` Richard Fontana
                     ` (2 more replies)
  2019-05-23  9:14 ` [Batch 5 - patch 11/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 111 Thomas Gleixner
                   ` (14 subsequent siblings)
  24 siblings, 3 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  this file 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 file is distributed in the hope
  that it will be useful but without 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-or-later

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=acc740cf1461
---
 drivers/char/hw_random/stm32-rng.c |   11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

--- a/drivers/char/hw_random/stm32-rng.c
+++ b/drivers/char/hw_random/stm32-rng.c
@@ -1,15 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 2015, Daniel Thompson
- *
- * This file 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 file is distributed in the hope that it will be useful,
- * but WITHOUT 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/clk.h>



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

* [Batch 5 - patch 11/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 111
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
                   ` (9 preceding siblings ...)
  2019-05-23  9:14 ` [Batch 5 - patch 10/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 110 Thomas Gleixner
@ 2019-05-23  9:14 ` Thomas Gleixner
  2019-05-23 12:43   ` Richard Fontana
                     ` (2 more replies)
  2019-05-23  9:14 ` [Batch 5 - patch 12/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 112 Thomas Gleixner
                   ` (13 subsequent siblings)
  24 siblings, 3 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  i t under the terms of the gnu general public license as published
  by th e free software foundation either version 2 of the license or
  at you r option any later version

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=1fd80a115d4e
---
 drivers/gpio/gpio-tps65218.c |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

--- a/drivers/gpio/gpio-tps65218.c
+++ b/drivers/gpio/gpio-tps65218.c
@@ -1,13 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 2015 Verifone Int.
  *
  * Author: Nicolas Saenz Julienne <nicolassaenzj@gmail.com>
  *
- * This program is free software; you can redistribute it and/or modify i t
- * under  the terms of the GNU General  Public License as published by th e
- * Free Software Foundation;  either version 2 of the License, or (at you r
- * option) any later version.
- *
  * This driver is based on the gpio-tps65912 implementation.
  */
 



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

* [Batch 5 - patch 12/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 112
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
                   ` (10 preceding siblings ...)
  2019-05-23  9:14 ` [Batch 5 - patch 11/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 111 Thomas Gleixner
@ 2019-05-23  9:14 ` Thomas Gleixner
  2019-05-23 12:43   ` Richard Fontana
                     ` (2 more replies)
  2019-05-23  9:14 ` [Batch 5 - patch 13/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 113 Thomas Gleixner
                   ` (12 subsequent siblings)
  24 siblings, 3 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

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

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=aa67c1e6bfcc
---
 arch/powerpc/include/asm/imc-pmu.h        |    6 +-----
 arch/powerpc/perf/imc-pmu.c               |    6 +-----
 arch/powerpc/perf/power9-pmu.c            |    6 +-----
 arch/powerpc/platforms/powernv/opal-imc.c |    6 +-----
 4 files changed, 4 insertions(+), 20 deletions(-)

--- a/arch/powerpc/include/asm/imc-pmu.h
+++ b/arch/powerpc/include/asm/imc-pmu.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 #ifndef __ASM_POWERPC_IMC_PMU_H
 #define __ASM_POWERPC_IMC_PMU_H
 
@@ -7,11 +8,6 @@
  * Copyright (C) 2017 Madhavan Srinivasan, IBM Corporation.
  *           (C) 2017 Anju T Sudhakar, IBM Corporation.
  *           (C) 2017 Hemant K Shaw, IBM Corporation.
- *
- * 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 later version.
  */
 
 #include <linux/perf_event.h>
--- a/arch/powerpc/perf/imc-pmu.c
+++ b/arch/powerpc/perf/imc-pmu.c
@@ -1,14 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * In-Memory Collection (IMC) Performance Monitor counter support.
  *
  * Copyright (C) 2017 Madhavan Srinivasan, IBM Corporation.
  *           (C) 2017 Anju T Sudhakar, IBM Corporation.
  *           (C) 2017 Hemant K Shaw, IBM Corporation.
- *
- * 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 later version.
  */
 #include <linux/perf_event.h>
 #include <linux/slab.h>
--- a/arch/powerpc/perf/power9-pmu.c
+++ b/arch/powerpc/perf/power9-pmu.c
@@ -1,14 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Performance counter support for POWER9 processors.
  *
  * Copyright 2009 Paul Mackerras, IBM Corporation.
  * Copyright 2013 Michael Ellerman, IBM Corporation.
  * Copyright 2016 Madhavan Srinivasan, IBM Corporation.
- *
- * 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 later version.
  */
 
 #define pr_fmt(fmt)	"power9-pmu: " fmt
--- a/arch/powerpc/platforms/powernv/opal-imc.c
+++ b/arch/powerpc/platforms/powernv/opal-imc.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * OPAL IMC interface detection driver
  * Supported on POWERNV platform
@@ -5,11 +6,6 @@
  * Copyright	(C) 2017 Madhavan Srinivasan, IBM Corporation.
  *		(C) 2017 Anju T Sudhakar, IBM Corporation.
  *		(C) 2017 Hemant K Shaw, IBM Corporation.
- *
- * 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 later version.
  */
 #include <linux/kernel.h>
 #include <linux/platform_device.h>



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

* [Batch 5 - patch 13/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 113
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
                   ` (11 preceding siblings ...)
  2019-05-23  9:14 ` [Batch 5 - patch 12/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 112 Thomas Gleixner
@ 2019-05-23  9:14 ` Thomas Gleixner
  2019-05-23 12:07   ` Richard Fontana
                     ` (2 more replies)
  2019-05-23  9:14 ` [Batch 5 - patch 14/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 114 Thomas Gleixner
                   ` (11 subsequent siblings)
  24 siblings, 3 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

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

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=e8184d1df92a
---
 drivers/media/dvb-core/dvb_ca_en50221.c  |   13 +------------
 drivers/media/dvb-core/dvb_frontend.c    |   14 +-------------
 drivers/media/dvb-core/dvb_net.c         |   13 +------------
 drivers/media/dvb-frontends/bsbe1-d01a.h |   16 +---------------
 drivers/media/dvb-frontends/bsbe1.h      |   16 +---------------
 drivers/media/dvb-frontends/bsru6.h      |   16 +---------------
 drivers/media/dvb-frontends/isl6405.c    |   16 +---------------
 drivers/media/dvb-frontends/isl6405.h    |   16 +---------------
 drivers/media/dvb-frontends/isl6421.c    |   16 +---------------
 drivers/media/dvb-frontends/isl6421.h    |   16 +---------------
 drivers/media/dvb-frontends/lnbp21.c     |   16 +---------------
 drivers/media/dvb-frontends/lnbp21.h     |   16 +---------------
 drivers/media/dvb-frontends/lnbp22.c     |   16 +---------------
 drivers/media/dvb-frontends/lnbp22.h     |   16 +---------------
 drivers/media/dvb-frontends/tdhd1.h      |   15 +--------------
 drivers/media/pci/ttpci/av7110.c         |   16 +---------------
 drivers/media/pci/ttpci/av7110_av.c      |   16 +---------------
 drivers/media/pci/ttpci/av7110_ca.c      |   16 +---------------
 drivers/media/pci/ttpci/av7110_hw.c      |   13 +------------
 drivers/media/pci/ttpci/av7110_ir.c      |   14 +-------------
 drivers/media/pci/ttpci/av7110_v4l.c     |   13 +------------
 drivers/media/pci/ttpci/budget-av.c      |   16 +---------------
 drivers/media/pci/ttpci/budget-ci.c      |   16 +---------------
 drivers/media/pci/ttpci/budget-core.c    |   16 +---------------
 drivers/media/pci/ttpci/budget-patch.c   |   16 +---------------
 drivers/media/pci/ttpci/budget.c         |   16 +---------------
 26 files changed, 26 insertions(+), 373 deletions(-)

--- a/drivers/media/dvb-core/dvb_ca_en50221.c
+++ b/drivers/media/dvb-core/dvb_ca_en50221.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * dvb_ca.c: generic DVB functions for EN50221 CAM interfaces
  *
@@ -11,18 +12,6 @@
  *
  * Copyright (C) 1999-2002 Ralph  Metzler
  *                       & Marcus Metzler for convergence integrated media GmbH
- *
- * 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.
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
  */
 
 #define pr_fmt(fmt) "dvb_ca_en50221: " fmt
--- a/drivers/media/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb-core/dvb_frontend.c
@@ -1,25 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * dvb_frontend.c: DVB frontend tuning interface/thread
  *
- *
  * Copyright (C) 1999-2001 Ralph  Metzler
  *			   Marcus Metzler
  *			   Holger Waechtler
  *				      for convergence integrated media GmbH
  *
  * Copyright (C) 2004 Andrew de Quincey (tuning thread cleanup)
- *
- * 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.
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
  */
 
 /* Enables DVBv3 compatibility bits at the headers */
--- a/drivers/media/dvb-core/dvb_net.c
+++ b/drivers/media/dvb-core/dvb_net.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * dvb_net.c
  *
@@ -13,18 +14,6 @@
  *                      and Wolfram Stering <wstering@cosy.sbg.ac.at>
  *
  * ULE Decaps according to RFC 4326.
- *
- * 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.
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
  */
 
 /*
--- a/drivers/media/dvb-frontends/bsbe1-d01a.h
+++ b/drivers/media/dvb-frontends/bsbe1-d01a.h
@@ -1,23 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * bsbe1-d01a.h - ALPS BSBE1-D01A tuner support
  *
  * Copyright (C) 2011 Oliver Endriss <o.endriss@gmx.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) 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.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
- *
  * the project's page is at https://linuxtv.org
  */
 
--- a/drivers/media/dvb-frontends/bsbe1.h
+++ b/drivers/media/dvb-frontends/bsbe1.h
@@ -1,21 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * bsbe1.h - ALPS BSBE1 tuner support
  *
- * 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.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
- *
  * the project's page is at https://linuxtv.org
  */
 
--- a/drivers/media/dvb-frontends/bsru6.h
+++ b/drivers/media/dvb-frontends/bsru6.h
@@ -1,21 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * bsru6.h - ALPS BSRU6 tuner support (moved from budget-ci.c)
  *
- * 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.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
- *
  * the project's page is at https://linuxtv.org
  */
 
--- a/drivers/media/dvb-frontends/isl6405.c
+++ b/drivers/media/dvb-frontends/isl6405.c
@@ -1,24 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * isl6405.c - driver for dual lnb supply and control ic ISL6405
  *
  * Copyright (C) 2008 Hartmut Hackmann
  * Copyright (C) 2006 Oliver Endriss
  *
- * 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.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
- *
  * the project's page is at https://linuxtv.org
  */
 #include <linux/delay.h>
--- a/drivers/media/dvb-frontends/isl6405.h
+++ b/drivers/media/dvb-frontends/isl6405.h
@@ -1,24 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * isl6405.h - driver for dual lnb supply and control ic ISL6405
  *
  * Copyright (C) 2008 Hartmut Hackmann
  * Copyright (C) 2006 Oliver Endriss
  *
- * 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.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
- *
  * the project's page is at https://linuxtv.org
  */
 
--- a/drivers/media/dvb-frontends/isl6421.c
+++ b/drivers/media/dvb-frontends/isl6421.c
@@ -1,24 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * isl6421.h - driver for lnb supply and control ic ISL6421
  *
  * Copyright (C) 2006 Andrew de Quincey
  * Copyright (C) 2006 Oliver Endriss
  *
- * 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.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
- *
  * the project's page is at https://linuxtv.org
  */
 #include <linux/delay.h>
--- a/drivers/media/dvb-frontends/isl6421.h
+++ b/drivers/media/dvb-frontends/isl6421.h
@@ -1,24 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * isl6421.h - driver for lnb supply and control ic ISL6421
  *
  * Copyright (C) 2006 Andrew de Quincey
  * Copyright (C) 2006 Oliver Endriss
  *
- * 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.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
- *
  * the project's page is at https://linuxtv.org
  */
 
--- a/drivers/media/dvb-frontends/lnbp21.c
+++ b/drivers/media/dvb-frontends/lnbp21.c
@@ -1,24 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * lnbp21.c - driver for lnb supply and control ic lnbp21
  *
  * Copyright (C) 2006, 2009 Oliver Endriss <o.endriss@gmx.de>
  * Copyright (C) 2009 Igor M. Liplianin <liplianin@netup.ru>
  *
- * 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.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
- *
  * the project's page is at https://linuxtv.org
  */
 #include <linux/delay.h>
--- a/drivers/media/dvb-frontends/lnbp21.h
+++ b/drivers/media/dvb-frontends/lnbp21.h
@@ -1,23 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * lnbp21.h - driver for lnb supply and control ic lnbp21
  *
  * Copyright (C) 2006 Oliver Endriss
  *
- * 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.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
- *
  * the project's page is at https://linuxtv.org
  */
 
--- a/drivers/media/dvb-frontends/lnbp22.c
+++ b/drivers/media/dvb-frontends/lnbp22.c
@@ -1,24 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * lnbp22.h - driver for lnb supply and control ic lnbp22
  *
  * Copyright (C) 2006 Dominik Kuhlen
  * Based on lnbp21 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, 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.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
- *
  * the project's page is at https://linuxtv.org
  */
 #include <linux/delay.h>
--- a/drivers/media/dvb-frontends/lnbp22.h
+++ b/drivers/media/dvb-frontends/lnbp22.h
@@ -1,24 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * lnbp22.h - driver for lnb supply and control ic lnbp22
  *
  * Copyright (C) 2006 Dominik Kuhlen
  * Based on lnbp21.h
  *
- * 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.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
- *
  * the project's page is at https://linuxtv.org
  */
 
--- a/drivers/media/dvb-frontends/tdhd1.h
+++ b/drivers/media/dvb-frontends/tdhd1.h
@@ -1,22 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * tdhd1.h - ALPS TDHD1-204A tuner support
  *
  * Copyright (C) 2008 Oliver Endriss <o.endriss@gmx.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) 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.
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
- *
  * The project's page is at https://linuxtv.org
  */
 
--- a/drivers/media/pci/ttpci/av7110.c
+++ b/drivers/media/pci/ttpci/av7110.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * driver for the SAA7146 based AV110 cards (like the Fujitsu-Siemens DVB)
  * av7110.c: initialization and demux stuff
@@ -8,21 +9,6 @@
  * originally based on code by:
  * Copyright (C) 1998,1999 Christian Theiss <mistert@rz.fh-augsburg.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) 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.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
- *
  * the project's page is at https://linuxtv.org
  */
 
--- a/drivers/media/pci/ttpci/av7110_av.c
+++ b/drivers/media/pci/ttpci/av7110_av.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * av7110_av.c: audio and video MPEG decoder stuff
  *
@@ -7,21 +8,6 @@
  * originally based on code by:
  * Copyright (C) 1998,1999 Christian Theiss <mistert@rz.fh-augsburg.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) 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.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
- *
  * the project's page is at https://linuxtv.org
  */
 
--- a/drivers/media/pci/ttpci/av7110_ca.c
+++ b/drivers/media/pci/ttpci/av7110_ca.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * av7110_ca.c: CA and CI stuff
  *
@@ -7,21 +8,6 @@
  * originally based on code by:
  * Copyright (C) 1998,1999 Christian Theiss <mistert@rz.fh-augsburg.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) 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.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
- *
  * the project's page is at https://linuxtv.org
  */
 
--- a/drivers/media/pci/ttpci/av7110_hw.c
+++ b/drivers/media/pci/ttpci/av7110_hw.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * av7110_hw.c: av7110 low level hardware access and firmware interface
  *
@@ -7,18 +8,6 @@
  * originally based on code by:
  * Copyright (C) 1998,1999 Christian Theiss <mistert@rz.fh-augsburg.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) 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.
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
  * the project's page is at https://linuxtv.org
  */
 
--- a/drivers/media/pci/ttpci/av7110_ir.c
+++ b/drivers/media/pci/ttpci/av7110_ir.c
@@ -1,21 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Driver for the remote control of SAA7146 based AV7110 cards
  *
  * Copyright (C) 1999-2003 Holger Waechtler <holger@convergence.de>
  * Copyright (C) 2003-2007 Oliver Endriss <o.endriss@gmx.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) 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.
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
  */
 
 
--- a/drivers/media/pci/ttpci/av7110_v4l.c
+++ b/drivers/media/pci/ttpci/av7110_v4l.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * av7110_v4l.c: av7110 video4linux interface for DVB and Siemens DVB-C analog module
  *
@@ -7,18 +8,6 @@
  * originally based on code by:
  * Copyright (C) 1998,1999 Christian Theiss <mistert@rz.fh-augsburg.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) 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.
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
  * the project's page is at https://linuxtv.org
  */
 
--- a/drivers/media/pci/ttpci/budget-av.c
+++ b/drivers/media/pci/ttpci/budget-av.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * budget-av.c: driver for the SAA7146 based Budget DVB cards
  *              with analog video in
@@ -12,21 +13,6 @@
  * Copyright (C) 1999-2002 Ralph  Metzler
  *                       & Marcus Metzler for convergence integrated media GmbH
  *
- * 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.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
- *
  * the project's page is at https://linuxtv.org
  */
 
--- a/drivers/media/pci/ttpci/budget-ci.c
+++ b/drivers/media/pci/ttpci/budget-ci.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * budget-ci.c: driver for the SAA7146 based Budget DVB cards
  *
@@ -8,21 +9,6 @@
  *
  * CI interface support (c) 2004 Andrew de Quincey <adq_dvb@lidskialf.net>
  *
- * 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.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
- *
  * the project's page is at https://linuxtv.org
  */
 
--- a/drivers/media/pci/ttpci/budget-core.c
+++ b/drivers/media/pci/ttpci/budget-core.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * budget-core.c: driver for the SAA7146 based Budget DVB cards
  *
@@ -13,21 +14,6 @@
  *	     Oliver Endriss <o.endriss@gmx.de>,
  *	     Andreas 'randy' Weinberger
  *
- * 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.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
- *
  * the project's page is at https://linuxtv.org
  */
 
--- a/drivers/media/pci/ttpci/budget-patch.c
+++ b/drivers/media/pci/ttpci/budget-patch.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * budget-patch.c: driver for Budget Patch,
  * hardware modification of DVB-S cards enabling full TS
@@ -9,21 +10,6 @@
  * Special thanks to Holger Waechtler, Michael Hunold, Marian Durkovic
  * and Metzlerbros
  *
- * 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.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
- *
  * the project's page is at https://linuxtv.org
  */
 
--- a/drivers/media/pci/ttpci/budget.c
+++ b/drivers/media/pci/ttpci/budget.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * budget.c: driver for the SAA7146 based Budget DVB cards
  *
@@ -13,21 +14,6 @@
  *           Oliver Endriss <o.endriss@gmx.de> and
  *           Andreas 'randy' Weinberger
  *
- * 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.
- *
- * To obtain the license, point your browser to
- * http://www.gnu.org/copyleft/gpl.html
- *
- *
  * the project's page is at https://linuxtv.org
  */
 



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

* [Batch 5 - patch 14/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 114
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
                   ` (12 preceding siblings ...)
  2019-05-23  9:14 ` [Batch 5 - patch 13/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 113 Thomas Gleixner
@ 2019-05-23  9:14 ` Thomas Gleixner
  2019-05-23 12:38   ` Richard Fontana
                     ` (2 more replies)
  2019-05-23  9:14 ` [Batch 5 - patch 15/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 115 Thomas Gleixner
                   ` (10 subsequent siblings)
  24 siblings, 3 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation either version 2 of the license or at
  your option any later version this program is distributed in the
  hope that it will be useful but without 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

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=52fb56503c9a
---
 arch/powerpc/include/asm/hmi.h     |   14 +-------------
 arch/powerpc/kvm/book3s_hv_hmi.c   |   14 +-------------
 drivers/gpu/drm/bridge/sii9234.c   |   15 +--------------
 drivers/hwmon/ibmpowernv.c         |   14 +-------------
 drivers/i2c/busses/i2c-opal.c      |   14 +-------------
 drivers/net/ethernet/ibm/ibmvnic.c |   13 +------------
 drivers/net/ethernet/ibm/ibmvnic.h |   13 +------------
 drivers/rtc/rtc-opal.c             |   14 +-------------
 8 files changed, 8 insertions(+), 103 deletions(-)

--- a/arch/powerpc/include/asm/hmi.h
+++ b/arch/powerpc/include/asm/hmi.h
@@ -1,19 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Hypervisor Maintenance Interrupt header file.
  *
- * 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.
- *
  * Copyright 2015 IBM Corporation
  * Author: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
  */
--- a/arch/powerpc/kvm/book3s_hv_hmi.c
+++ b/arch/powerpc/kvm/book3s_hv_hmi.c
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Hypervisor Maintenance Interrupt (HMI) handling.
  *
- * 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.
- *
  * Copyright 2015 IBM Corporation
  * Author: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
  */
--- a/drivers/gpu/drm/bridge/sii9234.c
+++ b/drivers/gpu/drm/bridge/sii9234.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2017 Samsung Electronics
  *
@@ -10,20 +11,6 @@
  *    Erik Gilling <konkers@android.com>
  *    Shankar Bandal <shankar.b@samsung.com>
  *    Dharam Kumar <dharam.kr@samsung.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT 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
- *
  */
 #include <drm/bridge/mhl.h>
 #include <drm/drm_crtc.h>
--- a/drivers/hwmon/ibmpowernv.c
+++ b/drivers/hwmon/ibmpowernv.c
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * IBM PowerNV platform sensors for temperature/fan/voltage/power
  * Copyright (C) 2014 IBM
- *
- * 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.
  */
 
 #define DRVNAME		"ibmpowernv"
--- a/drivers/i2c/busses/i2c-opal.c
+++ b/drivers/i2c/busses/i2c-opal.c
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * IBM OPAL I2C driver
  * Copyright (C) 2014 IBM
- *
- * 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.
  */
 
 #include <linux/device.h>
--- a/drivers/net/ethernet/ibm/ibmvnic.c
+++ b/drivers/net/ethernet/ibm/ibmvnic.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /**************************************************************************/
 /*                                                                        */
 /*  IBM System i and System p Virtual NIC Device Driver                   */
@@ -6,18 +7,6 @@
 /*  Thomas Falcon (tlfalcon@linux.vnet.ibm.com)                           */
 /*  John Allen (jallen@linux.vnet.ibm.com)                                */
 /*                                                                        */
-/*  This program is free software; you can redistribute it and/or modify  */
-/*  it under the terms of the GNU General Public License 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.                                              */
 /*                                                                        */
 /* This module contains the implementation of a virtual ethernet device   */
 /* for use with IBM i/p Series LPAR Linux. It utilizes the logical LAN    */
--- a/drivers/net/ethernet/ibm/ibmvnic.h
+++ b/drivers/net/ethernet/ibm/ibmvnic.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /**************************************************************************/
 /*                                                                        */
 /*  IBM System i and System p Virtual NIC Device Driver                   */
@@ -6,18 +7,6 @@
 /*  Thomas Falcon (tlfalcon@linux.vnet.ibm.com)                           */
 /*  John Allen (jallen@linux.vnet.ibm.com)                                */
 /*                                                                        */
-/*  This program is free software; you can redistribute it and/or modify  */
-/*  it under the terms of the GNU General Public License 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.                                              */
 /*                                                                        */
 /* This module contains the implementation of a virtual ethernet device   */
 /* for use with IBM i/pSeries LPAR Linux.  It utilizes the logical LAN    */
--- a/drivers/rtc/rtc-opal.c
+++ b/drivers/rtc/rtc-opal.c
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * IBM OPAL RTC driver
  * Copyright (C) 2014 IBM
- *
- * 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.
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt



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

* [Batch 5 - patch 15/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 115
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
                   ` (13 preceding siblings ...)
  2019-05-23  9:14 ` [Batch 5 - patch 14/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 114 Thomas Gleixner
@ 2019-05-23  9:14 ` Thomas Gleixner
  2019-05-23 12:42   ` Richard Fontana
  2019-05-23  9:14 ` [Batch 5 - patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 116 Thomas Gleixner
                   ` (9 subsequent siblings)
  24 siblings, 1 reply; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  gnu cc 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 or at your option any
  later version gnu cc is distributed in the hope that it will be
  useful but without 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-or-later

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=e344d8bea171
---
 arch/m68k/lib/ashldi3.c |   11 ++---------
 arch/m68k/lib/ashrdi3.c |   11 ++---------
 arch/m68k/lib/lshrdi3.c |   11 ++---------
 arch/m68k/lib/muldi3.c  |   11 ++---------
 4 files changed, 8 insertions(+), 36 deletions(-)

--- a/arch/m68k/lib/ashldi3.c
+++ b/arch/m68k/lib/ashldi3.c
@@ -1,17 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* ashrdi3.c extracted from gcc-2.95.2/libgcc2.c which is: */
 /* Copyright (C) 1989, 92-98, 1999 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
-GNU CC 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, or (at your option)
-any later version.
-
-GNU CC is distributed in the hope that it will be useful,
-but WITHOUT 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/compiler.h>
 #include <linux/export.h>
--- a/arch/m68k/lib/ashrdi3.c
+++ b/arch/m68k/lib/ashrdi3.c
@@ -1,17 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* ashrdi3.c extracted from gcc-2.7.2/libgcc2.c which is: */
 /* Copyright (C) 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
-GNU CC 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, or (at your option)
-any later version.
-
-GNU CC is distributed in the hope that it will be useful,
-but WITHOUT 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/compiler.h>
 #include <linux/export.h>
--- a/arch/m68k/lib/lshrdi3.c
+++ b/arch/m68k/lib/lshrdi3.c
@@ -1,17 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* lshrdi3.c extracted from gcc-2.7.2/libgcc2.c which is: */
 /* Copyright (C) 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
-GNU CC 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, or (at your option)
-any later version.
-
-GNU CC is distributed in the hope that it will be useful,
-but WITHOUT 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/compiler.h>
 #include <linux/export.h>
--- a/arch/m68k/lib/muldi3.c
+++ b/arch/m68k/lib/muldi3.c
@@ -1,18 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* muldi3.c extracted from gcc-2.7.2.3/libgcc2.c and 
 			   gcc-2.7.2.3/longlong.h which is: */
 /* Copyright (C) 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
-GNU CC 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, or (at your option)
-any later version.
-
-GNU CC is distributed in the hope that it will be useful,
-but WITHOUT 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/compiler.h>
 #include <linux/export.h>



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

* [Batch 5 - patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 116
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
                   ` (14 preceding siblings ...)
  2019-05-23  9:14 ` [Batch 5 - patch 15/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 115 Thomas Gleixner
@ 2019-05-23  9:14 ` Thomas Gleixner
  2019-05-23 12:39   ` Richard Fontana
  2019-05-23 22:30   ` Allison Randal
  2019-05-23  9:14 ` [Batch 5 - patch 17/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 117 Thomas Gleixner
                   ` (8 subsequent siblings)
  24 siblings, 2 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  gpl 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 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 59 temple place suite 330 boston ma 02111
  1307 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 1 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=e94e58f8809e
---
 sound/pci/azt3328.c |   16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

--- a/sound/pci/azt3328.c
+++ b/sound/pci/azt3328.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*  azt3328.c - driver for Aztech AZF3328 based soundcards (e.g. PCI168).
  *  Copyright (C) 2002, 2005 - 2011 by Andreas Mohr <andi AT lisas.de>
  *
@@ -16,21 +17,6 @@
  *   despite the high level of Internet ignorance - as usual :-P -
  *   about very good support for this card - on Linux!)
  *
- * GPL 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; 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
- *
  * NOTES
  *  Since Aztech does not provide any chipset documentation,
  *  even on repeated request to various addresses,



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

* [Batch 5 - patch 17/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 117
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
                   ` (15 preceding siblings ...)
  2019-05-23  9:14 ` [Batch 5 - patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 116 Thomas Gleixner
@ 2019-05-23  9:14 ` Thomas Gleixner
  2019-05-23  9:51   ` Thomas Gleixner
  2019-05-23 12:02   ` Richard Fontana
  2019-05-23  9:14 ` [Batch 5 - patch 18/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 118 Thomas Gleixner
                   ` (7 subsequent siblings)
  24 siblings, 2 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation either version 2 of the license or at
  your option any later version due to this file being licensed under
  the gpl there is controversy over whether this permits you to write
  a module that includes this file without placing your module under
  the gpl please consult a lawyer for advice before doing this

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=994fb82851b0
---
 include/linux/lsm_hooks.h |   12 +-----------
 include/linux/security.h  |   12 +-----------
 2 files changed, 2 insertions(+), 22 deletions(-)

--- a/include/linux/lsm_hooks.h
+++ b/include/linux/lsm_hooks.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Linux Security Module interfaces
  *
@@ -9,17 +10,6 @@
  * Copyright (C) 2015 Intel Corporation.
  * Copyright (C) 2015 Casey Schaufler <casey@schaufler-ca.com>
  * Copyright (C) 2016 Mellanox Techonologies
- *
- *	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.
- *
- *	Due to this file being licensed under the GPL there is controversy over
- *	whether this permits you to write a module that #includes this file
- *	without placing your module under the GPL.  Please consult a lawyer for
- *	advice before doing this.
- *
  */
 
 #ifndef __LINUX_LSM_HOOKS_H
--- a/include/linux/security.h
+++ b/include/linux/security.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Linux Security plug
  *
@@ -7,17 +8,6 @@
  * Copyright (C) 2001 James Morris <jmorris@intercode.com.au>
  * Copyright (C) 2001 Silicon Graphics, Inc. (Trust Technology Group)
  * Copyright (C) 2016 Mellanox Techonologies
- *
- *	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.
- *
- *	Due to this file being licensed under the GPL there is controversy over
- *	whether this permits you to write a module that #includes this file
- *	without placing your module under the GPL.  Please consult a lawyer for
- *	advice before doing this.
- *
  */
 
 #ifndef __LINUX_SECURITY_H



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

* [Batch 5 - patch 18/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 118
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
                   ` (16 preceding siblings ...)
  2019-05-23  9:14 ` [Batch 5 - patch 17/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 117 Thomas Gleixner
@ 2019-05-23  9:14 ` Thomas Gleixner
  2019-05-23 12:06   ` Richard Fontana
                     ` (2 more replies)
  2019-05-23  9:14 ` [Batch 5 - patch 19/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 119 Thomas Gleixner
                   ` (6 subsequent siblings)
  24 siblings, 3 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

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

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=dc0b8ab31b8a
---
 arch/powerpc/platforms/cell/cell.h           |   11 +----------
 arch/x86/include/asm/ist.h                   |   11 +----------
 arch/x86/kernel/apm_32.c                     |   11 +----------
 arch/x86/kernel/kgdb.c                       |   11 +----------
 drivers/ata/ahci_brcm.c                      |   11 +----------
 drivers/ata/pata_cs5520.c                    |   11 +----------
 drivers/ata/sata_sil24.c                     |   12 +-----------
 drivers/cpufreq/powernv-cpufreq.c            |   12 +-----------
 drivers/hwmon/dell-smm-hwmon.c               |   11 +----------
 drivers/macintosh/apm_emu.c                  |   13 +------------
 drivers/media/dvb-frontends/as102_fe.c       |   11 +----------
 drivers/media/dvb-frontends/as102_fe.h       |   11 +----------
 drivers/media/dvb-frontends/as102_fe_types.h |   11 +----------
 drivers/media/dvb-frontends/gp8psk-fe.h      |   11 +----------
 drivers/media/usb/as102/as102_drv.c          |   11 +----------
 drivers/media/usb/as102/as102_drv.h          |   11 +----------
 drivers/media/usb/as102/as102_fw.c           |   11 +----------
 drivers/media/usb/as102/as102_fw.h           |   11 +----------
 drivers/media/usb/as102/as102_usb_drv.c      |   11 +----------
 drivers/media/usb/as102/as102_usb_drv.h      |   11 +----------
 drivers/media/usb/as102/as10x_cmd.c          |   11 +----------
 drivers/media/usb/as102/as10x_cmd.h          |   11 +----------
 drivers/media/usb/as102/as10x_cmd_cfg.c      |   11 +----------
 drivers/media/usb/as102/as10x_cmd_stream.c   |   11 +----------
 drivers/media/usb/as102/as10x_handle.h       |   11 +----------
 drivers/misc/genwqe/card_ddcb.h              |   11 +----------
 drivers/phy/broadcom/phy-brcm-sata.c         |   11 +----------
 drivers/pnp/pnpacpi/rsparser.c               |   11 +----------
 drivers/pwm/sysfs.c                          |   11 +----------
 drivers/scsi/aha152x.c                       |   13 +------------
 drivers/scsi/nsp32.c                         |   12 +-----------
 drivers/scsi/nsp32.h                         |   11 +----------
 drivers/scsi/pcmcia/sym53c500_cs.c           |   11 +----------
 drivers/scsi/qla1280.c                       |   11 +----------
 drivers/scsi/qla1280.h                       |   11 +----------
 drivers/scsi/wd33c93.c                       |   11 +----------
 drivers/scsi/wd33c93.h                       |   12 +-----------
 fs/notify/dnotify/dnotify.c                  |   11 +----------
 fs/notify/inotify/inotify_fsnotify.c         |   11 +----------
 fs/notify/inotify/inotify_user.c             |   11 +----------
 fs/squashfs/zstd_wrapper.c                   |   11 +----------
 include/linux/apm_bios.h                     |   11 +----------
 include/linux/toshiba.h                      |   12 +-----------
 sound/pci/cs5530.c                           |   11 +----------
 44 files changed, 44 insertions(+), 449 deletions(-)

--- a/arch/powerpc/platforms/cell/cell.h
+++ b/arch/powerpc/platforms/cell/cell.h
@@ -1,17 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Cell Platform common data structures
  *
  * Copyright 2015, Daniel Axtens, IBM Corporation
- *
- * 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, 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.
  */
 
 #ifndef CELL_H
--- a/arch/x86/include/asm/ist.h
+++ b/arch/x86/include/asm/ist.h
@@ -1,16 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Include file for the interface to IST BIOS
  * Copyright 2002 Andy Grover <andrew.grover@intel.com>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2, 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.
  */
 #ifndef _ASM_X86_IST_H
 #define _ASM_X86_IST_H
--- a/arch/x86/kernel/apm_32.c
+++ b/arch/x86/kernel/apm_32.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* -*- linux-c -*-
  * APM BIOS driver for Linux
  * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au)
@@ -5,16 +6,6 @@
  * Initial development of this driver was funded by NEC Australia P/L
  *	and NEC Corporation
  *
- * 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, 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.
- *
  * October 1995, Rik Faith (faith@cs.unc.edu):
  *    Minor enhancements and updates (to the patch set) for 1.3.x
  *    Documentation
--- a/arch/x86/kernel/kgdb.c
+++ b/arch/x86/kernel/kgdb.c
@@ -1,14 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * 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, 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.
- *
  */
 
 /*
--- a/drivers/ata/ahci_brcm.c
+++ b/drivers/ata/ahci_brcm.c
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Broadcom SATA3 AHCI Controller Driver
  *
  * Copyright © 2009-2015 Broadcom Corporation
- *
- * 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, 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.
  */
 
 #include <linux/ahci_platform.h>
--- a/drivers/ata/pata_cs5520.c
+++ b/drivers/ata/pata_cs5520.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *	IDE tuning and bus mastering support for the CS5510/CS5520
  *	chipsets
@@ -18,16 +19,6 @@
  *
  *	(c) Copyright Red Hat Inc 2002
  *
- * 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, 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.
- *
  * Documentation:
  *	Not publicly available.
  */
--- a/drivers/ata/sata_sil24.c
+++ b/drivers/ata/sata_sil24.c
@@ -1,20 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * sata_sil24.c - Driver for Silicon Image 3124/3132 SATA-2 controllers
  *
  * Copyright 2005  Tejun Heo
  *
  * Based on preview driver from Silicon Image.
- *
- * 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, 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.
- *
  */
 
 #include <linux/kernel.h>
--- a/drivers/cpufreq/powernv-cpufreq.c
+++ b/drivers/cpufreq/powernv-cpufreq.c
@@ -1,20 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * POWERNV cpufreq driver for the IBM POWER processors
  *
  * (C) Copyright IBM 2014
  *
  * Author: Vaidyanathan Srinivasan <svaidy at linux.vnet.ibm.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, 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.
- *
  */
 
 #define pr_fmt(fmt)	"powernv-cpufreq: " fmt
--- a/drivers/hwmon/dell-smm-hwmon.c
+++ b/drivers/hwmon/dell-smm-hwmon.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * dell-smm-hwmon.c -- Linux driver for accessing the SMM BIOS on Dell laptops.
  *
@@ -7,16 +8,6 @@
  * Copyright (C) 2011  Jean Delvare <jdelvare@suse.de>
  * Copyright (C) 2013, 2014  Guenter Roeck <linux@roeck-us.net>
  * Copyright (C) 2014, 2015  Pali Rohár <pali.rohar@gmail.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, 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.
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
--- a/drivers/macintosh/apm_emu.c
+++ b/drivers/macintosh/apm_emu.c
@@ -1,19 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * APM emulation for PMU-based machines
  *
  * Copyright 2001 Benjamin Herrenschmidt (benh@kernel.crashing.org)
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2, 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.
- *
- *
  */
 
 #include <linux/kernel.h>
--- a/drivers/media/dvb-frontends/as102_fe.c
+++ b/drivers/media/dvb-frontends/as102_fe.c
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Abilis Systems Single DVB-T Receiver
  * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
  * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.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, 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.
  */
 
 #include <media/dvb_frontend.h>
--- a/drivers/media/dvb-frontends/as102_fe.h
+++ b/drivers/media/dvb-frontends/as102_fe.h
@@ -1,16 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Abilis Systems Single DVB-T Receiver
  * Copyright (C) 2014 Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, 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.
  */
 
 #include "as102_fe_types.h"
--- a/drivers/media/dvb-frontends/as102_fe_types.h
+++ b/drivers/media/dvb-frontends/as102_fe_types.h
@@ -1,16 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Abilis Systems Single DVB-T Receiver
  * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.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, 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.
  */
 #ifndef _AS10X_TYPES_H_
 #define _AS10X_TYPES_H_
--- a/drivers/media/dvb-frontends/gp8psk-fe.h
+++ b/drivers/media/dvb-frontends/gp8psk-fe.h
@@ -1,15 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * gp8psk_fe 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, 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.
  */
 
 #ifndef GP8PSK_FE_H
--- a/drivers/media/usb/as102/as102_drv.c
+++ b/drivers/media/usb/as102/as102_drv.c
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Abilis Systems Single DVB-T Receiver
  * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
  * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.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, 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.
  */
 #include <linux/kernel.h>
 #include <linux/errno.h>
--- a/drivers/media/usb/as102/as102_drv.h
+++ b/drivers/media/usb/as102/as102_drv.h
@@ -1,16 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Abilis Systems Single DVB-T Receiver
  * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.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, 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.
  */
 
 #ifndef _AS102_DRV_H
--- a/drivers/media/usb/as102/as102_fw.c
+++ b/drivers/media/usb/as102/as102_fw.c
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Abilis Systems Single DVB-T Receiver
  * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
  * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.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, 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.
  */
 #include <linux/kernel.h>
 #include <linux/errno.h>
--- a/drivers/media/usb/as102/as102_fw.h
+++ b/drivers/media/usb/as102/as102_fw.h
@@ -1,16 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Abilis Systems Single DVB-T Receiver
  * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.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, 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.
  */
 #define MAX_FW_PKT_SIZE	64
 
--- a/drivers/media/usb/as102/as102_usb_drv.c
+++ b/drivers/media/usb/as102/as102_usb_drv.c
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Abilis Systems Single DVB-T Receiver
  * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
  * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.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, 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.
  */
 #include <linux/kernel.h>
 #include <linux/errno.h>
--- a/drivers/media/usb/as102/as102_usb_drv.h
+++ b/drivers/media/usb/as102/as102_usb_drv.h
@@ -1,17 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Abilis Systems Single DVB-T Receiver
  * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
  * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.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, 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.
  */
 #ifndef _AS102_USB_DRV_H_
 #define _AS102_USB_DRV_H_
--- a/drivers/media/usb/as102/as10x_cmd.c
+++ b/drivers/media/usb/as102/as10x_cmd.c
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Abilis Systems Single DVB-T Receiver
  * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
  * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.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, 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.
  */
 
 #include <linux/kernel.h>
--- a/drivers/media/usb/as102/as10x_cmd.h
+++ b/drivers/media/usb/as102/as10x_cmd.h
@@ -1,16 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Abilis Systems Single DVB-T Receiver
  * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.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, 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.
  */
 #ifndef _AS10X_CMD_H_
 #define _AS10X_CMD_H_
--- a/drivers/media/usb/as102/as10x_cmd_cfg.c
+++ b/drivers/media/usb/as102/as10x_cmd_cfg.c
@@ -1,16 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Abilis Systems Single DVB-T Receiver
  * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.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, 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.
  */
 
 #include <linux/kernel.h>
--- a/drivers/media/usb/as102/as10x_cmd_stream.c
+++ b/drivers/media/usb/as102/as10x_cmd_stream.c
@@ -1,16 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Abilis Systems Single DVB-T Receiver
  * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.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, 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.
  */
 
 #include <linux/kernel.h>
--- a/drivers/media/usb/as102/as10x_handle.h
+++ b/drivers/media/usb/as102/as10x_handle.h
@@ -1,16 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Abilis Systems Single DVB-T Receiver
  * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.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, 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.
  */
 #ifndef _AS10X_HANDLE_H
 #define _AS10X_HANDLE_H
--- a/drivers/misc/genwqe/card_ddcb.h
+++ b/drivers/misc/genwqe/card_ddcb.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 #ifndef __CARD_DDCB_H__
 #define __CARD_DDCB_H__
 
@@ -10,16 +11,6 @@
  * Author: Joerg-Stephan Vogt <jsvogt@de.ibm.com>
  * Author: Michael Jung <mijung@gmx.net>
  * Author: Michael Ruettger <michael@ibmra.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, 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.
  */
 
 #include <linux/types.h>
--- a/drivers/phy/broadcom/phy-brcm-sata.c
+++ b/drivers/phy/broadcom/phy-brcm-sata.c
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Broadcom SATA3 AHCI Controller PHY Driver
  *
  * Copyright (C) 2016 Broadcom
- *
- * 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, 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.
  */
 
 #include <linux/delay.h>
--- a/drivers/pnp/pnpacpi/rsparser.c
+++ b/drivers/pnp/pnpacpi/rsparser.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * pnpacpi -- PnP ACPI driver
  *
@@ -5,16 +6,6 @@
  * Copyright (c) 2004 Li Shaohua <shaohua.li@intel.com>
  * Copyright (C) 2008 Hewlett-Packard Development Company, L.P.
  *	Bjorn Helgaas <bjorn.helgaas@hp.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, 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.
  */
 #include <linux/kernel.h>
 #include <linux/acpi.h>
--- a/drivers/pwm/sysfs.c
+++ b/drivers/pwm/sysfs.c
@@ -1,19 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * A simple sysfs interface for the generic PWM framework
  *
  * Copyright (C) 2013 H Hartley Sweeten <hsweeten@visionengravers.com>
  *
  * Based on previous work by Lars Poeschel <poeschel@lemonage.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, 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.
  */
 
 #include <linux/device.h>
--- a/drivers/scsi/aha152x.c
+++ b/drivers/scsi/aha152x.c
@@ -1,18 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* aha152x.c -- Adaptec AHA-152x driver
  * Author: Jürgen E. Fischer, fischer@norbit.de
  * Copyright 1993-2004 Jürgen E. Fischer
  *
- * 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, 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.
- *
- *
  * $Id: aha152x.c,v 2.7 2004/01/24 11:42:59 fischer Exp $
  *
  * $Log: aha152x.c,v $
@@ -228,7 +218,6 @@
  * Revision 0.0  1993/08/14  19:54:25  root
  * empty function bodies; detect() works.
  *
- *
  **************************************************************************
 
  see Documentation/scsi/aha152x.txt for configuration details
--- a/drivers/scsi/nsp32.c
+++ b/drivers/scsi/nsp32.c
@@ -1,20 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * NinjaSCSI-32Bi Cardbus, NinjaSCSI-32UDE PCI/CardBus SCSI driver
  * Copyright (C) 2001, 2002, 2003
  *      YOKOTA Hiroshi <yokota@netlab.is.tsukuba.ac.jp>
  *      GOTO Masanori <gotom@debian.or.jp>, <gotom@debian.org>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, 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.
- *
- *
  * Revision History:
  *   1.0: Initial Release.
  *   1.1: Add /proc SDTR status.
--- a/drivers/scsi/nsp32.h
+++ b/drivers/scsi/nsp32.h
@@ -1,16 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Workbit NinjaSCSI-32Bi/UDE PCI/CardBus SCSI Host Bus Adapter driver
  * Basic data header
- *
- * 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, 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.
 */
 
 #ifndef _NSP32_H
--- a/drivers/scsi/pcmcia/sym53c500_cs.c
+++ b/drivers/scsi/pcmcia/sym53c500_cs.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
 *  sym53c500_cs.c	Bob Tracy (rct@frus.com)
 *
@@ -25,16 +26,6 @@
 *	Original by Tom Corner (tcorner@via.at) was adapted from a
 *	driver for the Qlogic SCSI card written by
 *	David Hinds (dhinds@allegro.stanford.edu).
-* 
-*  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, 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.
 */
 
 #define SYM53C500_DEBUG 0
--- a/drivers/scsi/qla1280.c
+++ b/drivers/scsi/qla1280.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /******************************************************************************
 *                  QLOGIC LINUX SOFTWARE
 *
@@ -6,16 +7,6 @@
 * Copyright (C) 2001-2004 Jes Sorensen, Wild Open Source Inc.
 * Copyright (C) 2003-2004 Christoph Hellwig
 *
-* 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, 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.
-*
 ******************************************************************************/
 #define QLA1280_VERSION      "3.27.1"
 /*****************************************************************************
--- a/drivers/scsi/qla1280.h
+++ b/drivers/scsi/qla1280.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /******************************************************************************
 *                  QLOGIC LINUX SOFTWARE
 *
@@ -5,16 +6,6 @@
 * Copyright (C) 2000 Qlogic Corporation
 * (www.qlogic.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, 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.
-*
 ******************************************************************************/
 
 #ifndef	_QLA1280_H
--- a/drivers/scsi/wd33c93.c
+++ b/drivers/scsi/wd33c93.c
@@ -1,17 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (c) 1996 John Shifflett, GeoLog Consulting
  *    john@geolog.com
  *    jshiffle@netcom.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, 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.
  */
 
 /*
--- a/drivers/scsi/wd33c93.h
+++ b/drivers/scsi/wd33c93.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  *    wd33c93.h -  Linux device driver definitions for the
  *                 Commodore Amiga A2091/590 SCSI controller card
@@ -7,17 +8,6 @@
  * Copyright (c) 1996 John Shifflett, GeoLog Consulting
  *    john@geolog.com
  *    jshiffle@netcom.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, 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.
- *
  */
 #ifndef WD33C93_H
 #define WD33C93_H
--- a/fs/notify/dnotify/dnotify.c
+++ b/fs/notify/dnotify/dnotify.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Directory notifications for Linux.
  *
@@ -5,16 +6,6 @@
  *
  * Copyright (C) 2009 Eric Paris <Red Hat Inc>
  * dnotify was largly rewritten to use the new fsnotify infrastructure
- *
- * 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, 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.
  */
 #include <linux/fs.h>
 #include <linux/module.h>
--- a/fs/notify/inotify/inotify_fsnotify.c
+++ b/fs/notify/inotify/inotify_fsnotify.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * fs/inotify_user.c - inotify support for userspace
  *
@@ -10,16 +11,6 @@
  *
  * Copyright (C) 2009 Eric Paris <Red Hat Inc>
  * inotify was largely rewriten to make use of the fsnotify infrastructure
- *
- * 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, 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.
  */
 
 #include <linux/dcache.h> /* d_unlinked */
--- a/fs/notify/inotify/inotify_user.c
+++ b/fs/notify/inotify/inotify_user.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * fs/inotify_user.c - inotify support for userspace
  *
@@ -10,16 +11,6 @@
  *
  * Copyright (C) 2009 Eric Paris <Red Hat Inc>
  * inotify was largely rewriten to make use of the fsnotify infrastructure
- *
- * 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, 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.
  */
 
 #include <linux/file.h>
--- a/fs/squashfs/zstd_wrapper.c
+++ b/fs/squashfs/zstd_wrapper.c
@@ -1,19 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Squashfs - a compressed read only filesystem for Linux
  *
  * Copyright (c) 2016-present, Facebook, Inc.
  * All rights reserved.
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2,
- * 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.
- *
  * zstd_wrapper.c
  */
 
--- a/include/linux/apm_bios.h
+++ b/include/linux/apm_bios.h
@@ -1,16 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * Include file for the interface to an APM BIOS
  * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au)
- *
- * 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, 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.
  */
 #ifndef _LINUX_APM_H
 #define _LINUX_APM_H
--- a/include/linux/toshiba.h
+++ b/include/linux/toshiba.h
@@ -1,20 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* toshiba.h -- Linux driver for accessing the SMM on Toshiba laptops 
  *
  * Copyright (c) 1996-2000  Jonathan A. Buzzard (jonathan@buzzard.org.uk)
  *
  * Thanks to Juergen Heinzl <juergen@monocerus.demon.co.uk> for the pointers
  * on making sure the structure is aligned and packed.
- *
- * 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, 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.
- *
  */
 #ifndef _LINUX_TOSHIBA_H
 #define _LINUX_TOSHIBA_H
--- a/sound/pci/cs5530.c
+++ b/sound/pci/cs5530.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * cs5530.c - Initialisation code for Cyrix/NatSemi VSA1 softaudio
  *
@@ -21,16 +22,6 @@
  * Thanks to National Semiconductor for providing the needed information
  * on the XpressAudio(tm) internals.
  *
- * 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, 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.
- *
  * TO DO:
  *	Investigate whether we can portably support Cognac (5520) in the
  *	same manner.



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

* [Batch 5 - patch 19/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 119
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
                   ` (17 preceding siblings ...)
  2019-05-23  9:14 ` [Batch 5 - patch 18/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 118 Thomas Gleixner
@ 2019-05-23  9:14 ` Thomas Gleixner
  2019-05-23 12:38   ` Richard Fontana
                     ` (2 more replies)
  2019-05-23  9:14 ` [Batch 5 - patch 20/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 120 Thomas Gleixner
                   ` (5 subsequent siblings)
  24 siblings, 3 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  released under the gpl 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

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=380165dddf81
---
 sound/soc/sunxi/sun4i-codec.c |   11 +----------
 sound/soc/sunxi/sun4i-spdif.c |   11 +----------
 2 files changed, 2 insertions(+), 20 deletions(-)

--- a/sound/soc/sunxi/sun4i-codec.c
+++ b/sound/soc/sunxi/sun4i-codec.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright 2014 Emilio López <emilio@elopez.com.ar>
  * Copyright 2014 Jon Smirl <jonsmirl@gmail.com>
@@ -6,16 +7,6 @@
  * Copyright 2016 Chen-Yu Tsai <wens@csie.org>
  *
  * Based on the Allwinner SDK driver, released under the GPL.
- *
- * 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.
  */
 
 #include <linux/init.h>
--- a/sound/soc/sunxi/sun4i-spdif.c
+++ b/sound/soc/sunxi/sun4i-spdif.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * ALSA SoC SPDIF Audio Layer
  *
@@ -5,16 +6,6 @@
  * Copyright 2015 Marcus Cooper <codekipper@gmail.com>
  *
  * Based on the Allwinner SDK driver, released under the GPL.
- *
- * 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.
  */
 
 #include <linux/clk.h>



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

* [Batch 5 - patch 20/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 120
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
                   ` (18 preceding siblings ...)
  2019-05-23  9:14 ` [Batch 5 - patch 19/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 119 Thomas Gleixner
@ 2019-05-23  9:14 ` Thomas Gleixner
  2019-05-23 12:37   ` Richard Fontana
                     ` (2 more replies)
  2019-05-23  9:14 ` [Batch 5 - patch 21/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 121 Thomas Gleixner
                   ` (4 subsequent siblings)
  24 siblings, 3 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation either version 2 of the license or at
  your option any later version this program is distributed in the
  hope that it will be useful but without 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 the file copying or write to the free
  software foundation inc

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=6666628c0d24
---
 arch/riscv/kernel/process.c |   15 +--------------
 arch/riscv/kernel/setup.c   |   15 +--------------
 arch/riscv/kernel/signal.c  |   15 +--------------
 arch/riscv/mm/extable.c     |   15 +--------------
 arch/riscv/mm/fault.c       |   15 +--------------
 include/linux/libgcc.h      |   15 +--------------
 lib/ashldi3.c               |   14 +-------------
 lib/ashrdi3.c               |   14 +-------------
 lib/cmpdi2.c                |   14 +-------------
 lib/lshrdi3.c               |   15 +--------------
 lib/muldi3.c                |   14 +-------------
 lib/ucmpdi2.c               |   14 +-------------
 12 files changed, 12 insertions(+), 163 deletions(-)

--- a/arch/riscv/kernel/process.c
+++ b/arch/riscv/kernel/process.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
  *  Chen Liqin <liqin.chen@sunplusct.com>
  *  Lennox Wu <lennox.wu@sunplusct.com>
  * Copyright (C) 2012 Regents of the University of California
  * Copyright (C) 2017 SiFive
- *
- * 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, see the file COPYING, or write
- * to the Free Software Foundation, Inc.,
  */
 
 #include <linux/kernel.h>
--- a/arch/riscv/kernel/setup.c
+++ b/arch/riscv/kernel/setup.c
@@ -1,22 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
  *  Chen Liqin <liqin.chen@sunplusct.com>
  *  Lennox Wu <lennox.wu@sunplusct.com>
  * Copyright (C) 2012 Regents of the University of California
- *
- * 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, see the file COPYING, or write
- * to the Free Software Foundation, Inc.,
  */
 
 #include <linux/init.h>
--- a/arch/riscv/kernel/signal.c
+++ b/arch/riscv/kernel/signal.c
@@ -1,22 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
  *  Chen Liqin <liqin.chen@sunplusct.com>
  *  Lennox Wu <lennox.wu@sunplusct.com>
  * Copyright (C) 2012 Regents of the University of California
- *
- * 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, see the file COPYING, or write
- * to the Free Software Foundation, Inc.,
  */
 
 #include <linux/signal.h>
--- a/arch/riscv/mm/extable.c
+++ b/arch/riscv/mm/extable.c
@@ -1,22 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
  *  Lennox Wu <lennox.wu@sunplusct.com>
  *  Chen Liqin <liqin.chen@sunplusct.com>
  * Copyright (C) 2013 Regents of the University of California
- *
- * 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, see the file COPYING, or write
- * to the Free Software Foundation, Inc.,
  */
 
 
--- a/arch/riscv/mm/fault.c
+++ b/arch/riscv/mm/fault.c
@@ -1,22 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
  *  Lennox Wu <lennox.wu@sunplusct.com>
  *  Chen Liqin <liqin.chen@sunplusct.com>
  * Copyright (C) 2012 Regents of the University of California
- *
- * 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, see the file COPYING, or write
- * to the Free Software Foundation, Inc.,
  */
 
 
--- a/include/linux/libgcc.h
+++ b/include/linux/libgcc.h
@@ -1,19 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * include/lib/libgcc.h
- *
- * 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, see the file COPYING, or write
- * to the Free Software Foundation, Inc.
  */
 
 #ifndef __LIB_LIBGCC_H
--- a/lib/ashldi3.c
+++ b/lib/ashldi3.c
@@ -1,17 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * 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, see the file COPYING, or write
- * to the Free Software Foundation, Inc.
  */
 
 #include <linux/export.h>
--- a/lib/ashrdi3.c
+++ b/lib/ashrdi3.c
@@ -1,17 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * 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, see the file COPYING, or write
- * to the Free Software Foundation, Inc.
  */
 
 #include <linux/export.h>
--- a/lib/cmpdi2.c
+++ b/lib/cmpdi2.c
@@ -1,17 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * 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, see the file COPYING, or write
- * to the Free Software Foundation, Inc.
  */
 
 #include <linux/export.h>
--- a/lib/lshrdi3.c
+++ b/lib/lshrdi3.c
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * lib/lshrdi3.c
- *
- * 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, see the file COPYING, or write
- * to the Free Software Foundation, Inc.
  */
 
 #include <linux/module.h>
--- a/lib/muldi3.c
+++ b/lib/muldi3.c
@@ -1,17 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * 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, see the file COPYING, or write
- * to the Free Software Foundation, Inc.
  */
 
 #include <linux/export.h>
--- a/lib/ucmpdi2.c
+++ b/lib/ucmpdi2.c
@@ -1,17 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * 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, see the file COPYING, or write
- * to the Free Software Foundation, Inc.
  */
 
 #include <linux/module.h>



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

* [Batch 5 - patch 21/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 121
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
                   ` (19 preceding siblings ...)
  2019-05-23  9:14 ` [Batch 5 - patch 20/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 120 Thomas Gleixner
@ 2019-05-23  9:14 ` Thomas Gleixner
  2019-05-23 12:10   ` Richard Fontana
                     ` (2 more replies)
  2019-05-23  9:14 ` [Batch 5 - patch 22/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 122 Thomas Gleixner
                   ` (3 subsequent siblings)
  24 siblings, 3 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  licensed under the gplv2 or at your option any later version

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=561128572730
---
 drivers/net/ethernet/stmicro/stmmac/dwmac-anarion.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-anarion.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-anarion.c
@@ -1,9 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Adaptrum Anarion DWMAC glue layer
  *
  * Copyright (C) 2017, Adaptrum, Inc.
  * (Written by Alexandru Gagniuc <alex.g at adaptrum.com> for Adaptrum, Inc.)
- * Licensed under the GPLv2 or (at your option) any later version.
  */
 
 #include <linux/io.h>



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

* [Batch 5 - patch 22/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 122
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
                   ` (20 preceding siblings ...)
  2019-05-23  9:14 ` [Batch 5 - patch 21/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 121 Thomas Gleixner
@ 2019-05-23  9:14 ` Thomas Gleixner
  2019-05-23 12:09   ` Richard Fontana
                     ` (2 more replies)
  2019-05-23  9:15 ` [Batch 5 - patch 23/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 123 Thomas Gleixner
                   ` (2 subsequent siblings)
  24 siblings, 3 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:14 UTC (permalink / raw)
  To: linux-spdx

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

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=3876ab3f549f
---
 drivers/media/rc/gpio-ir-tx.c |   10 +---------
 drivers/media/rc/pwm-ir-tx.c  |   10 +---------
 2 files changed, 2 insertions(+), 18 deletions(-)

--- a/drivers/media/rc/gpio-ir-tx.c
+++ b/drivers/media/rc/gpio-ir-tx.c
@@ -1,14 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2017 Sean Young <sean@mess.org>
- *
- * 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
- * (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.
  */
 
 #include <linux/kernel.h>
--- a/drivers/media/rc/pwm-ir-tx.c
+++ b/drivers/media/rc/pwm-ir-tx.c
@@ -1,14 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 2017 Sean Young <sean@mess.org>
- *
- * 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
- * (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.
  */
 
 #include <linux/kernel.h>



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

* [Batch 5 - patch 23/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 123
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
                   ` (21 preceding siblings ...)
  2019-05-23  9:14 ` [Batch 5 - patch 22/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 122 Thomas Gleixner
@ 2019-05-23  9:15 ` Thomas Gleixner
  2019-05-23 12:08   ` Richard Fontana
                     ` (2 more replies)
  2019-05-23  9:15 ` [Batch 5 - patch 24/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 124 Thomas Gleixner
  2019-05-23  9:15 ` [Batch 5 - patch 25/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 125 Thomas Gleixner
  24 siblings, 3 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:15 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms and conditions of the gnu general public license
  version 2 or later 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-or-later

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=c5fe45b387cc
---
 drivers/nfc/s3fwrn5/core.c     |   13 +------------
 drivers/nfc/s3fwrn5/firmware.c |   13 +------------
 drivers/nfc/s3fwrn5/firmware.h |   13 +------------
 drivers/nfc/s3fwrn5/i2c.c      |   13 +------------
 drivers/nfc/s3fwrn5/nci.c      |   13 +------------
 drivers/nfc/s3fwrn5/nci.h      |   13 +------------
 drivers/nfc/s3fwrn5/s3fwrn5.h  |   13 +------------
 7 files changed, 7 insertions(+), 84 deletions(-)

--- a/drivers/nfc/s3fwrn5/core.c
+++ b/drivers/nfc/s3fwrn5/core.c
@@ -1,20 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * NCI based driver for Samsung S3FWRN5 NFC chip
  *
  * Copyright (C) 2015 Samsung Electrnoics
  * Robert Baldyga <r.baldyga@samsung.com>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2 or later, 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/module.h>
--- a/drivers/nfc/s3fwrn5/firmware.c
+++ b/drivers/nfc/s3fwrn5/firmware.c
@@ -1,20 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * NCI based driver for Samsung S3FWRN5 NFC chip
  *
  * Copyright (C) 2015 Samsung Electrnoics
  * Robert Baldyga <r.baldyga@samsung.com>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2 or later, 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/completion.h>
--- a/drivers/nfc/s3fwrn5/firmware.h
+++ b/drivers/nfc/s3fwrn5/firmware.h
@@ -1,20 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * NCI based driver for Samsung S3FWRN5 NFC chip
  *
  * Copyright (C) 2015 Samsung Electrnoics
  * Robert Baldyga <r.baldyga@samsung.com>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2 or later, 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 __LOCAL_S3FWRN5_FIRMWARE_H_
--- a/drivers/nfc/s3fwrn5/i2c.c
+++ b/drivers/nfc/s3fwrn5/i2c.c
@@ -1,20 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * I2C Link Layer for Samsung S3FWRN5 NCI based Driver
  *
  * Copyright (C) 2015 Samsung Electrnoics
  * Robert Baldyga <r.baldyga@samsung.com>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2 or later, 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/i2c.h>
--- a/drivers/nfc/s3fwrn5/nci.c
+++ b/drivers/nfc/s3fwrn5/nci.c
@@ -1,20 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * NCI based driver for Samsung S3FWRN5 NFC chip
  *
  * Copyright (C) 2015 Samsung Electrnoics
  * Robert Baldyga <r.baldyga@samsung.com>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2 or later, 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/completion.h>
--- a/drivers/nfc/s3fwrn5/nci.h
+++ b/drivers/nfc/s3fwrn5/nci.h
@@ -1,20 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * NCI based driver for Samsung S3FWRN5 NFC chip
  *
  * Copyright (C) 2015 Samsung Electrnoics
  * Robert Baldyga <r.baldyga@samsung.com>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2 or later, 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 __LOCAL_S3FWRN5_NCI_H_
--- a/drivers/nfc/s3fwrn5/s3fwrn5.h
+++ b/drivers/nfc/s3fwrn5/s3fwrn5.h
@@ -1,20 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * NCI based driver for Samsung S3FWRN5 NFC chip
  *
  * Copyright (C) 2015 Samsung Electrnoics
  * Robert Baldyga <r.baldyga@samsung.com>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2 or later, 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 __LOCAL_S3FWRN5_H_



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

* [Batch 5 - patch 24/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 124
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
                   ` (22 preceding siblings ...)
  2019-05-23  9:15 ` [Batch 5 - patch 23/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 123 Thomas Gleixner
@ 2019-05-23  9:15 ` Thomas Gleixner
  2019-05-23  9:52   ` Thomas Gleixner
  2019-05-23 12:51   ` Richard Fontana
  2019-05-23  9:15 ` [Batch 5 - patch 25/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 125 Thomas Gleixner
  24 siblings, 2 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:15 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation either version 2 of the license or at
  your option any later version this program is distributed as is
  without any warranty of any kind whether express or implied 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-or-later

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=302a78ae3ede
---
 drivers/regulator/tps65132-regulator.c |   11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

--- a/drivers/regulator/tps65132-regulator.c
+++ b/drivers/regulator/tps65132-regulator.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * TI TPS65132 Regulator driver
  *
@@ -5,16 +6,6 @@
  *
  * Author: Venkat Reddy Talla <vreddytalla@nvidia.com>
  *		Laxman Dewangan <ldewangan@nvidia.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 "as is" WITHOUT ANY WARRANTY of any kind,
- * whether express or implied; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
  */
 
 #include <linux/delay.h>



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

* [Batch 5 - patch 25/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 125
  2019-05-23  9:14 [Batch 5 - patch 00/25] Batch 5 of random GPL notices/references Thomas Gleixner
                   ` (23 preceding siblings ...)
  2019-05-23  9:15 ` [Batch 5 - patch 24/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 124 Thomas Gleixner
@ 2019-05-23  9:15 ` Thomas Gleixner
  2019-05-23 12:10   ` Richard Fontana
                     ` (2 more replies)
  24 siblings, 3 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:15 UTC (permalink / raw)
  To: linux-spdx

Based on 1 normalized pattern(s):

  osl gpl code release authorized by [jalil] [fadavi] 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 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 see
  the file copying if not write to the free software foundation 675
  mass ave cambridge ma 02139 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 1 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=98a8d49b3877
---
 drivers/ata/sata_qstor.c |   18 +-----------------
 1 file changed, 1 insertion(+), 17 deletions(-)

--- a/drivers/ata/sata_qstor.c
+++ b/drivers/ata/sata_qstor.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  *  sata_qstor.c - Pacific Digital Corporation QStor SATA
  *
@@ -6,25 +7,8 @@
  *  Copyright 2005 Pacific Digital Corporation.
  *  (OSL/GPL code release authorized by Jalil Fadavi).
  *
- *
- *  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, 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; see the file COPYING.  If not, write to
- *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
- *
- *
  *  libata documentation is available via 'make {ps|pdf}docs',
  *  as Documentation/driver-api/libata.rst
- *
  */
 
 #include <linux/kernel.h>



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

* Re: [Batch 5 - patch 07/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 107
  2019-05-23  9:14 ` [Batch 5 - patch 07/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 107 Thomas Gleixner
@ 2019-05-23  9:45   ` Thomas Gleixner
  0 siblings, 0 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:45 UTC (permalink / raw)
  To: linux-spdx

On Thu, 23 May 2019, Thomas Gleixner wrote:

> Based on 1 normalized pattern(s):
> 
>   this program is free software you can redistribute it and or modify
>   it under the terms of the gnu general public license as published by
>   the free software foundation either version 2 of the license or at
>   your option any later version this program is distributed in the
>   hope that it will be useful but without any warranty without even
>   the implied warranty of merchantability or fitness for a particular
>   purpose good title or non infringement see the gnu general public

    GOOD TITLE or NON INFRINGEMENT.

looks like another interesting one. /me puts it to the pile

>   license for more details you should have received a copy of the gnu
>   general public license along with this program if not write to the
>   free software foundation inc 51 franklin st fifth floor boston ma
>   02110 1301 usa
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 5 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=2aeb5cde3595
> ---
>  arch/x86/include/asm/hypervisor.h |   17 +----------------
>  arch/x86/kernel/cpu/hypervisor.c  |   17 +----------------
>  arch/x86/kernel/cpu/vmware.c      |   17 +----------------
>  drivers/macintosh/via-pmu-event.c |   17 +----------------
>  drivers/macintosh/via-pmu-led.c   |   17 +----------------
>
>  5 files changed, 5 insertions(+), 80 deletions(-)
> 
> --- a/arch/x86/include/asm/hypervisor.h
> +++ b/arch/x86/include/asm/hypervisor.h
> @@ -1,21 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright (C) 2008, VMware, Inc.

....

> --- a/drivers/macintosh/via-pmu-event.c
> +++ b/drivers/macintosh/via-pmu-event.c
> @@ -1,23 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * via-pmu event device for reporting some events that come through the PMU
>   *
>   * Copyright 2006 Johannes Berg <johannes@sipsolutions.net>

I just did a quick check on that variant:

  Files:     	   	    48
  Copyright holders:	    19

  A random pile of companies (existing and vanished, acquired ones) plus
  a handful of individuals.

Goes back to around 2000.

Thanks,

	tglx




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

* Re: [Batch 5 - patch 09/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 109
  2019-05-23  9:14 ` [Batch 5 - patch 09/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 109 Thomas Gleixner
@ 2019-05-23  9:46   ` Thomas Gleixner
  0 siblings, 0 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:46 UTC (permalink / raw)
  To: linux-spdx

On Thu, 23 May 2019, Thomas Gleixner wrote:
> --- a/drivers/scsi/mpt3sas/mpt3sas_warpdrive.c
> +++ b/drivers/scsi/mpt3sas/mpt3sas_warpdrive.c
> @@ -1,42 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Scsi Host Layer for MPT (Message Passing Technology) based controllers
>   *
>   * Copyright (C) 2012-2014  LSI Corporation
>   * Copyright (C) 2013-2015 Avago Technologies
>   *  (mailto: MPT-FusionLinux.pdl@avagotech.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.
> - *
> - * NO WARRANTY
> - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
> - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
> - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
> - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
> - * solely responsible for determining the appropriateness of using and
> - * distributing the Program and assumes all risks associated with its
> - * exercise of rights under this Agreement, including but not limited to
> - * the risks and costs of program errors, damage to or loss of data,
> - * programs or equipment, and unavailability or interruption of operations.
> -
> - * DISCLAIMER OF LIABILITY
> - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
> - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
> - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
> - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES

Belongs to the IBM beast pile...

Thanks,

	tglx

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

* Re: [Batch 5 - patch 17/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 117
  2019-05-23  9:14 ` [Batch 5 - patch 17/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 117 Thomas Gleixner
@ 2019-05-23  9:51   ` Thomas Gleixner
  2019-05-23 12:02   ` Richard Fontana
  1 sibling, 0 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:51 UTC (permalink / raw)
  To: linux-spdx

On Thu, 23 May 2019, Thomas Gleixner wrote:
> @@ -9,17 +10,6 @@
>   * Copyright (C) 2015 Intel Corporation.
>   * Copyright (C) 2015 Casey Schaufler <casey@schaufler-ca.com>
>   * Copyright (C) 2016 Mellanox Techonologies
> - *
> - *	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.
> - *
> - *	Due to this file being licensed under the GPL there is controversy over
> - *	whether this permits you to write a module that #includes this file
> - *	without placing your module under the GPL.  Please consult a lawyer for
> - *	advice before doing this.

I assume that this second paragraph wants to be preserved, right?

Thanks,

	tglx

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

* Re: [Batch 5 - patch 24/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 124
  2019-05-23  9:15 ` [Batch 5 - patch 24/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 124 Thomas Gleixner
@ 2019-05-23  9:52   ` Thomas Gleixner
  2019-05-23 22:42     ` Allison Randal
  2019-05-23 12:51   ` Richard Fontana
  1 sibling, 1 reply; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23  9:52 UTC (permalink / raw)
  To: linux-spdx

On Thu, 23 May 2019, Thomas Gleixner wrote:

> --- a/drivers/regulator/tps65132-regulator.c
> +++ b/drivers/regulator/tps65132-regulator.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * TI TPS65132 Regulator driver
>   *
> @@ -5,16 +6,6 @@
>   *
>   * Author: Venkat Reddy Talla <vreddytalla@nvidia.com>
>   *		Laxman Dewangan <ldewangan@nvidia.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 "as is" WITHOUT ANY WARRANTY of any kind,
> - * whether express or implied; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License for more details.

A new variant of the scheme ...

Thanks,

	tglx

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

* Re: [Batch 5 - patch 05/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 105
  2019-05-23  9:14 ` [Batch 5 - patch 05/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 105 Thomas Gleixner
@ 2019-05-23 11:44   ` Richard Fontana
  2019-05-23 22:21   ` Allison Randal
  2019-05-24  1:12   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 11:44 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Richard Fontana <rfontana@redhat.com>

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   this program is free software you can redistribute it and or modify
>   it under the terms of the gnu general public license as published by
>   the free software foundation either version 2 of the license or at
>   your option any later version author [hema] [hk] [hemahk]@[ti] [com]
>   this program is distributed in the hope that it will be useful but
>   without 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 675 mass ave cambridge
>   ma 02139 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 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=e7f98ed85d4c
> ---
>  arch/arm/mach-omap2/omap_phy_internal.c |   16 +---------------
>  1 file changed, 1 insertion(+), 15 deletions(-)
>
> --- a/arch/arm/mach-omap2/omap_phy_internal.c
> +++ b/arch/arm/mach-omap2/omap_phy_internal.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>    * This file configures the internal USB PHY in OMAP4430. Used
>    * with TWL6030 transceiver and MUSB on OMAP4430.
>    *
>    * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.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.
> -  *
>    * Author: Hema HK <hemahk@ti.com>
> -  *
> -  * This program is distributed in the hope that it will be useful,
> -  * but WITHOUT 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., 675 Mass Ave, Cambridge, MA 02139, USA.
> -  *
>    */
>
>  #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 06/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 106
  2019-05-23  9:14 ` [Batch 5 - patch 06/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 106 Thomas Gleixner
@ 2019-05-23 11:45   ` Richard Fontana
  2019-05-23 22:21   ` Allison Randal
  2019-05-24  1:13   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 11:45 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Richard Fontana <rfontana@redhat.com>

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   this program is free software you can redistribute it and or modify
>   it under the terms of the gnu general public license as published by
>   the free software foundation either version 2 of the license or at
>   your option any later version this software is distributed in the
>   hope that it will be useful but without 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 atmel wireless lan drivers if not see http www gnu org licenses
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 2 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=2824b6c340b2
> ---
>  drivers/net/wireless/atmel/atmel.h     |   14 +-------------
>  drivers/net/wireless/atmel/atmel_pci.c |   14 +-------------
>  2 files changed, 2 insertions(+), 26 deletions(-)
>
> --- a/drivers/net/wireless/atmel/atmel.h
> +++ b/drivers/net/wireless/atmel/atmel.h
> @@ -1,22 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*** -*- linux-c -*- **********************************************************
>
>       Driver for Atmel at76c502 at76c504 and at76c506 wireless cards.
>
>           Copyright 2005 Dan Williams and Red Hat, 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, or
> -    (at your option) any later version.
> -
> -    This software is distributed in the hope that it will be useful,
> -    but WITHOUT 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 Atmel wireless lan drivers; if not, see
> -    <http://www.gnu.org/licenses/>.
>
>  ******************************************************************************/
>
> --- a/drivers/net/wireless/atmel/atmel_pci.c
> +++ b/drivers/net/wireless/atmel/atmel_pci.c
> @@ -1,22 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*** -*- linux-c -*- **********************************************************
>
>       Driver for Atmel at76c502 at76c504 and at76c506 wireless cards.
>
>           Copyright 2004 Simon Kelley.
>
> -    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 software is distributed in the hope that it will be useful,
> -    but WITHOUT 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 Atmel wireless lan drivers; if not, see
> -    <http://www.gnu.org/licenses/>.
>
>  ******************************************************************************/
>  #include <linux/pci.h>
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 08/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 108
  2019-05-23  9:14 ` [Batch 5 - patch 08/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 108 Thomas Gleixner
@ 2019-05-23 11:54   ` Richard Fontana
  2019-05-23 12:36     ` Thomas Gleixner
  0 siblings, 1 reply; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 11:54 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   gnupg 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 gnupg is distributed in the hope that
>   it will be useful but without any warranty without even the implied
>   warranty of merchantability or fitness for a particular purpose see
>   the gnu general public license for more details you should have
>   received a copy of the gnu general public license along with this
>   program if not write to the free software foundation inc 59 temple
>   place suite 330 boston ma 02111 1307 usa

At least some of these bear FSF copyrights. I noticed some other
patches that made reference to "GNU CC" (suggesting the code may have
been taken from old versions of GCC?) but I am not sure they had FSF
copyrights.

I feel it is especially awkward to remove the continuously-preferred
legal notice of the copyright holder, particularly when that copyright
holder is also the recognized license steward of the license in
question. Since John Sullivan is on this list maybe he can comment.
Obviously if the FSF is okay with it, it's fine, but I am not sure
that is John's view given a comment he made the other day.

As a generalization of the above concern, it seems relatively
problematic to me to replace license notices that were attached to
code taken from non-Linux projects, where that is evident, compared to
code contributed to Linux in the first instance. (Similarly, I would
normally not advise Red Hat employees to alter upstream third-party
legal notices downstream, except in very unusual circumstances.)

Richard



>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 4 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=cad8bc93c21d
> ---
>  lib/mpi/mpi-bit.c  |   15 +--------------
>  lib/mpi/mpi-cmp.c  |   15 +--------------
>  lib/mpi/mpicoder.c |   15 +--------------
>  lib/mpi/mpiutil.c  |   15 +--------------
>  4 files changed, 4 insertions(+), 56 deletions(-)
>
> --- a/lib/mpi/mpi-bit.c
> +++ b/lib/mpi/mpi-bit.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpi-bit.c  -  MPI bit level fucntions
>   * Copyright (C) 1998, 1999 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
> - *
> - * GnuPG 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.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
>   */
>
>  #include "mpi-internal.h"
> --- a/lib/mpi/mpi-cmp.c
> +++ b/lib/mpi/mpi-cmp.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpi-cmp.c  -  MPI functions
>   * Copyright (C) 1998, 1999 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
> - *
> - * GnuPG 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.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
>   */
>
>  #include "mpi-internal.h"
> --- a/lib/mpi/mpicoder.c
> +++ b/lib/mpi/mpicoder.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpicoder.c  -  Coder for the external representation of MPIs
>   * Copyright (C) 1998, 1999 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
> - *
> - * GnuPG 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.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
>   */
>
>  #include <linux/bitops.h>
> --- a/lib/mpi/mpiutil.c
> +++ b/lib/mpi/mpiutil.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* mpiutil.ac  -  Utility functions for MPI
>   * Copyright (C) 1998, 1999 Free Software Foundation, Inc.
>   *
>   * This file is part of GnuPG.
> - *
> - * GnuPG 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.
> - *
> - * GnuPG is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
>   */
>
>  #include "mpi-internal.h"
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 17/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 117
  2019-05-23  9:14 ` [Batch 5 - patch 17/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 117 Thomas Gleixner
  2019-05-23  9:51   ` Thomas Gleixner
@ 2019-05-23 12:02   ` Richard Fontana
  2019-05-23 12:24     ` Thomas Gleixner
  1 sibling, 1 reply; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 12:02 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   this program is free software you can redistribute it and or modify
>   it under the terms of the gnu general public license as published by
>   the free software foundation either version 2 of the license or at
>   your option any later version due to this file being licensed under
>   the gpl there is controversy over whether this permits you to write
>   a module that includes this file without placing your module under
>   the gpl please consult a lawyer for advice before doing this
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 2 file(s).

Why should

>   due to this file being licensed under
>   the gpl there is controversy over whether this permits you to write
>   a module that includes this file without placing your module under
>   the gpl please consult a lawyer for advice before doing this

be treated as "boilerplate" that should be deleted? It is a
non-boilerplate statement about legal interpretation that goes beyond
the mere license notice.  Seems to merit discussion anyway.

Richard


> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=994fb82851b0
> ---
>  include/linux/lsm_hooks.h |   12 +-----------
>  include/linux/security.h  |   12 +-----------
>  2 files changed, 2 insertions(+), 22 deletions(-)
>
> --- a/include/linux/lsm_hooks.h
> +++ b/include/linux/lsm_hooks.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Linux Security Module interfaces
>   *
> @@ -9,17 +10,6 @@
>   * Copyright (C) 2015 Intel Corporation.
>   * Copyright (C) 2015 Casey Schaufler <casey@schaufler-ca.com>
>   * Copyright (C) 2016 Mellanox Techonologies
> - *
> - *     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.
> - *
> - *     Due to this file being licensed under the GPL there is controversy over
> - *     whether this permits you to write a module that #includes this file
> - *     without placing your module under the GPL.  Please consult a lawyer for
> - *     advice before doing this.
> - *
>   */
>
>  #ifndef __LINUX_LSM_HOOKS_H
> --- a/include/linux/security.h
> +++ b/include/linux/security.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Linux Security plug
>   *
> @@ -7,17 +8,6 @@
>   * Copyright (C) 2001 James Morris <jmorris@intercode.com.au>
>   * Copyright (C) 2001 Silicon Graphics, Inc. (Trust Technology Group)
>   * Copyright (C) 2016 Mellanox Techonologies
> - *
> - *     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.
> - *
> - *     Due to this file being licensed under the GPL there is controversy over
> - *     whether this permits you to write a module that #includes this file
> - *     without placing your module under the GPL.  Please consult a lawyer for
> - *     advice before doing this.
> - *
>   */
>
>  #ifndef __LINUX_SECURITY_H
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 18/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 118
  2019-05-23  9:14 ` [Batch 5 - patch 18/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 118 Thomas Gleixner
@ 2019-05-23 12:06   ` Richard Fontana
  2019-05-23 22:32   ` Allison Randal
  2019-05-24 10:55   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 12:06 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Richard Fontana <rfontana@redhat.com>

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> 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 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
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 44 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=dc0b8ab31b8a
> ---
>  arch/powerpc/platforms/cell/cell.h           |   11 +----------
>  arch/x86/include/asm/ist.h                   |   11 +----------
>  arch/x86/kernel/apm_32.c                     |   11 +----------
>  arch/x86/kernel/kgdb.c                       |   11 +----------
>  drivers/ata/ahci_brcm.c                      |   11 +----------
>  drivers/ata/pata_cs5520.c                    |   11 +----------
>  drivers/ata/sata_sil24.c                     |   12 +-----------
>  drivers/cpufreq/powernv-cpufreq.c            |   12 +-----------
>  drivers/hwmon/dell-smm-hwmon.c               |   11 +----------
>  drivers/macintosh/apm_emu.c                  |   13 +------------
>  drivers/media/dvb-frontends/as102_fe.c       |   11 +----------
>  drivers/media/dvb-frontends/as102_fe.h       |   11 +----------
>  drivers/media/dvb-frontends/as102_fe_types.h |   11 +----------
>  drivers/media/dvb-frontends/gp8psk-fe.h      |   11 +----------
>  drivers/media/usb/as102/as102_drv.c          |   11 +----------
>  drivers/media/usb/as102/as102_drv.h          |   11 +----------
>  drivers/media/usb/as102/as102_fw.c           |   11 +----------
>  drivers/media/usb/as102/as102_fw.h           |   11 +----------
>  drivers/media/usb/as102/as102_usb_drv.c      |   11 +----------
>  drivers/media/usb/as102/as102_usb_drv.h      |   11 +----------
>  drivers/media/usb/as102/as10x_cmd.c          |   11 +----------
>  drivers/media/usb/as102/as10x_cmd.h          |   11 +----------
>  drivers/media/usb/as102/as10x_cmd_cfg.c      |   11 +----------
>  drivers/media/usb/as102/as10x_cmd_stream.c   |   11 +----------
>  drivers/media/usb/as102/as10x_handle.h       |   11 +----------
>  drivers/misc/genwqe/card_ddcb.h              |   11 +----------
>  drivers/phy/broadcom/phy-brcm-sata.c         |   11 +----------
>  drivers/pnp/pnpacpi/rsparser.c               |   11 +----------
>  drivers/pwm/sysfs.c                          |   11 +----------
>  drivers/scsi/aha152x.c                       |   13 +------------
>  drivers/scsi/nsp32.c                         |   12 +-----------
>  drivers/scsi/nsp32.h                         |   11 +----------
>  drivers/scsi/pcmcia/sym53c500_cs.c           |   11 +----------
>  drivers/scsi/qla1280.c                       |   11 +----------
>  drivers/scsi/qla1280.h                       |   11 +----------
>  drivers/scsi/wd33c93.c                       |   11 +----------
>  drivers/scsi/wd33c93.h                       |   12 +-----------
>  fs/notify/dnotify/dnotify.c                  |   11 +----------
>  fs/notify/inotify/inotify_fsnotify.c         |   11 +----------
>  fs/notify/inotify/inotify_user.c             |   11 +----------
>  fs/squashfs/zstd_wrapper.c                   |   11 +----------
>  include/linux/apm_bios.h                     |   11 +----------
>  include/linux/toshiba.h                      |   12 +-----------
>  sound/pci/cs5530.c                           |   11 +----------
>  44 files changed, 44 insertions(+), 449 deletions(-)
>
> --- a/arch/powerpc/platforms/cell/cell.h
> +++ b/arch/powerpc/platforms/cell/cell.h
> @@ -1,17 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Cell Platform common data structures
>   *
>   * Copyright 2015, Daniel Axtens, IBM Corporation
> - *
> - * 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, 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.
>   */
>
>  #ifndef CELL_H
> --- a/arch/x86/include/asm/ist.h
> +++ b/arch/x86/include/asm/ist.h
> @@ -1,16 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Include file for the interface to IST BIOS
>   * Copyright 2002 Andy Grover <andrew.grover@intel.com>
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License as published by the
> - * Free Software Foundation; either version 2, 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.
>   */
>  #ifndef _ASM_X86_IST_H
>  #define _ASM_X86_IST_H
> --- a/arch/x86/kernel/apm_32.c
> +++ b/arch/x86/kernel/apm_32.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* -*- linux-c -*-
>   * APM BIOS driver for Linux
>   * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au)
> @@ -5,16 +6,6 @@
>   * Initial development of this driver was funded by NEC Australia P/L
>   *     and NEC Corporation
>   *
> - * 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, 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.
> - *
>   * October 1995, Rik Faith (faith@cs.unc.edu):
>   *    Minor enhancements and updates (to the patch set) for 1.3.x
>   *    Documentation
> --- a/arch/x86/kernel/kgdb.c
> +++ b/arch/x86/kernel/kgdb.c
> @@ -1,14 +1,5 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
> - * 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, 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.
> - *
>   */
>
>  /*
> --- a/drivers/ata/ahci_brcm.c
> +++ b/drivers/ata/ahci_brcm.c
> @@ -1,17 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Broadcom SATA3 AHCI Controller Driver
>   *
>   * Copyright © 2009-2015 Broadcom Corporation
> - *
> - * 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, 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.
>   */
>
>  #include <linux/ahci_platform.h>
> --- a/drivers/ata/pata_cs5520.c
> +++ b/drivers/ata/pata_cs5520.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *     IDE tuning and bus mastering support for the CS5510/CS5520
>   *     chipsets
> @@ -18,16 +19,6 @@
>   *
>   *     (c) Copyright Red Hat Inc 2002
>   *
> - * 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, 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.
> - *
>   * Documentation:
>   *     Not publicly available.
>   */
> --- a/drivers/ata/sata_sil24.c
> +++ b/drivers/ata/sata_sil24.c
> @@ -1,20 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * sata_sil24.c - Driver for Silicon Image 3124/3132 SATA-2 controllers
>   *
>   * Copyright 2005  Tejun Heo
>   *
>   * Based on preview driver from Silicon Image.
> - *
> - * 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, 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.
> - *
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/cpufreq/powernv-cpufreq.c
> +++ b/drivers/cpufreq/powernv-cpufreq.c
> @@ -1,20 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * POWERNV cpufreq driver for the IBM POWER processors
>   *
>   * (C) Copyright IBM 2014
>   *
>   * Author: Vaidyanathan Srinivasan <svaidy at linux.vnet.ibm.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2, 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.
> - *
>   */
>
>  #define pr_fmt(fmt)    "powernv-cpufreq: " fmt
> --- a/drivers/hwmon/dell-smm-hwmon.c
> +++ b/drivers/hwmon/dell-smm-hwmon.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * dell-smm-hwmon.c -- Linux driver for accessing the SMM BIOS on Dell laptops.
>   *
> @@ -7,16 +8,6 @@
>   * Copyright (C) 2011  Jean Delvare <jdelvare@suse.de>
>   * Copyright (C) 2013, 2014  Guenter Roeck <linux@roeck-us.net>
>   * Copyright (C) 2014, 2015  Pali Rohár <pali.rohar@gmail.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, 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.
>   */
>
>  #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/drivers/macintosh/apm_emu.c
> +++ b/drivers/macintosh/apm_emu.c
> @@ -1,19 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * APM emulation for PMU-based machines
>   *
>   * Copyright 2001 Benjamin Herrenschmidt (benh@kernel.crashing.org)
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License as published by the
> - * Free Software Foundation; either version 2, 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.
> - *
> - *
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/media/dvb-frontends/as102_fe.c
> +++ b/drivers/media/dvb-frontends/as102_fe.c
> @@ -1,17 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
>   * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.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, 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.
>   */
>
>  #include <media/dvb_frontend.h>
> --- a/drivers/media/dvb-frontends/as102_fe.h
> +++ b/drivers/media/dvb-frontends/as102_fe.h
> @@ -1,16 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2014 Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2, 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.
>   */
>
>  #include "as102_fe_types.h"
> --- a/drivers/media/dvb-frontends/as102_fe_types.h
> +++ b/drivers/media/dvb-frontends/as102_fe_types.h
> @@ -1,16 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.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, 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.
>   */
>  #ifndef _AS10X_TYPES_H_
>  #define _AS10X_TYPES_H_
> --- a/drivers/media/dvb-frontends/gp8psk-fe.h
> +++ b/drivers/media/dvb-frontends/gp8psk-fe.h
> @@ -1,15 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * gp8psk_fe 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, 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.
>   */
>
>  #ifndef GP8PSK_FE_H
> --- a/drivers/media/usb/as102/as102_drv.c
> +++ b/drivers/media/usb/as102/as102_drv.c
> @@ -1,17 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
>   * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.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, 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.
>   */
>  #include <linux/kernel.h>
>  #include <linux/errno.h>
> --- a/drivers/media/usb/as102/as102_drv.h
> +++ b/drivers/media/usb/as102/as102_drv.h
> @@ -1,16 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.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, 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.
>   */
>
>  #ifndef _AS102_DRV_H
> --- a/drivers/media/usb/as102/as102_fw.c
> +++ b/drivers/media/usb/as102/as102_fw.c
> @@ -1,17 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
>   * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.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, 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.
>   */
>  #include <linux/kernel.h>
>  #include <linux/errno.h>
> --- a/drivers/media/usb/as102/as102_fw.h
> +++ b/drivers/media/usb/as102/as102_fw.h
> @@ -1,16 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.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, 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.
>   */
>  #define MAX_FW_PKT_SIZE        64
>
> --- a/drivers/media/usb/as102/as102_usb_drv.c
> +++ b/drivers/media/usb/as102/as102_usb_drv.c
> @@ -1,17 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
>   * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.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, 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.
>   */
>  #include <linux/kernel.h>
>  #include <linux/errno.h>
> --- a/drivers/media/usb/as102/as102_usb_drv.h
> +++ b/drivers/media/usb/as102/as102_usb_drv.h
> @@ -1,17 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
>   * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.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, 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.
>   */
>  #ifndef _AS102_USB_DRV_H_
>  #define _AS102_USB_DRV_H_
> --- a/drivers/media/usb/as102/as10x_cmd.c
> +++ b/drivers/media/usb/as102/as10x_cmd.c
> @@ -1,17 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
>   * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.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, 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.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/media/usb/as102/as10x_cmd.h
> +++ b/drivers/media/usb/as102/as10x_cmd.h
> @@ -1,16 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.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, 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.
>   */
>  #ifndef _AS10X_CMD_H_
>  #define _AS10X_CMD_H_
> --- a/drivers/media/usb/as102/as10x_cmd_cfg.c
> +++ b/drivers/media/usb/as102/as10x_cmd_cfg.c
> @@ -1,16 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.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, 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.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/media/usb/as102/as10x_cmd_stream.c
> +++ b/drivers/media/usb/as102/as10x_cmd_stream.c
> @@ -1,16 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.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, 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.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/media/usb/as102/as10x_handle.h
> +++ b/drivers/media/usb/as102/as10x_handle.h
> @@ -1,16 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.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, 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.
>   */
>  #ifndef _AS10X_HANDLE_H
>  #define _AS10X_HANDLE_H
> --- a/drivers/misc/genwqe/card_ddcb.h
> +++ b/drivers/misc/genwqe/card_ddcb.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  #ifndef __CARD_DDCB_H__
>  #define __CARD_DDCB_H__
>
> @@ -10,16 +11,6 @@
>   * Author: Joerg-Stephan Vogt <jsvogt@de.ibm.com>
>   * Author: Michael Jung <mijung@gmx.net>
>   * Author: Michael Ruettger <michael@ibmra.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, 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.
>   */
>
>  #include <linux/types.h>
> --- a/drivers/phy/broadcom/phy-brcm-sata.c
> +++ b/drivers/phy/broadcom/phy-brcm-sata.c
> @@ -1,17 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Broadcom SATA3 AHCI Controller PHY Driver
>   *
>   * Copyright (C) 2016 Broadcom
> - *
> - * 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, 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.
>   */
>
>  #include <linux/delay.h>
> --- a/drivers/pnp/pnpacpi/rsparser.c
> +++ b/drivers/pnp/pnpacpi/rsparser.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * pnpacpi -- PnP ACPI driver
>   *
> @@ -5,16 +6,6 @@
>   * Copyright (c) 2004 Li Shaohua <shaohua.li@intel.com>
>   * Copyright (C) 2008 Hewlett-Packard Development Company, L.P.
>   *     Bjorn Helgaas <bjorn.helgaas@hp.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, 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.
>   */
>  #include <linux/kernel.h>
>  #include <linux/acpi.h>
> --- a/drivers/pwm/sysfs.c
> +++ b/drivers/pwm/sysfs.c
> @@ -1,19 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * A simple sysfs interface for the generic PWM framework
>   *
>   * Copyright (C) 2013 H Hartley Sweeten <hsweeten@visionengravers.com>
>   *
>   * Based on previous work by Lars Poeschel <poeschel@lemonage.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, 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.
>   */
>
>  #include <linux/device.h>
> --- a/drivers/scsi/aha152x.c
> +++ b/drivers/scsi/aha152x.c
> @@ -1,18 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* aha152x.c -- Adaptec AHA-152x driver
>   * Author: Jürgen E. Fischer, fischer@norbit.de
>   * Copyright 1993-2004 Jürgen E. Fischer
>   *
> - * 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, 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.
> - *
> - *
>   * $Id: aha152x.c,v 2.7 2004/01/24 11:42:59 fischer Exp $
>   *
>   * $Log: aha152x.c,v $
> @@ -228,7 +218,6 @@
>   * Revision 0.0  1993/08/14  19:54:25  root
>   * empty function bodies; detect() works.
>   *
> - *
>   **************************************************************************
>
>   see Documentation/scsi/aha152x.txt for configuration details
> --- a/drivers/scsi/nsp32.c
> +++ b/drivers/scsi/nsp32.c
> @@ -1,20 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * NinjaSCSI-32Bi Cardbus, NinjaSCSI-32UDE PCI/CardBus SCSI driver
>   * Copyright (C) 2001, 2002, 2003
>   *      YOKOTA Hiroshi <yokota@netlab.is.tsukuba.ac.jp>
>   *      GOTO Masanori <gotom@debian.or.jp>, <gotom@debian.org>
>   *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2, 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.
> - *
> - *
>   * Revision History:
>   *   1.0: Initial Release.
>   *   1.1: Add /proc SDTR status.
> --- a/drivers/scsi/nsp32.h
> +++ b/drivers/scsi/nsp32.h
> @@ -1,16 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Workbit NinjaSCSI-32Bi/UDE PCI/CardBus SCSI Host Bus Adapter driver
>   * Basic data header
> - *
> - * 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, 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.
>  */
>
>  #ifndef _NSP32_H
> --- a/drivers/scsi/pcmcia/sym53c500_cs.c
> +++ b/drivers/scsi/pcmcia/sym53c500_cs.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>  *  sym53c500_cs.c      Bob Tracy (rct@frus.com)
>  *
> @@ -25,16 +26,6 @@
>  *      Original by Tom Corner (tcorner@via.at) was adapted from a
>  *      driver for the Qlogic SCSI card written by
>  *      David Hinds (dhinds@allegro.stanford.edu).
> -*
> -*  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, 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.
>  */
>
>  #define SYM53C500_DEBUG 0
> --- a/drivers/scsi/qla1280.c
> +++ b/drivers/scsi/qla1280.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /******************************************************************************
>  *                  QLOGIC LINUX SOFTWARE
>  *
> @@ -6,16 +7,6 @@
>  * Copyright (C) 2001-2004 Jes Sorensen, Wild Open Source Inc.
>  * Copyright (C) 2003-2004 Christoph Hellwig
>  *
> -* 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, 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.
> -*
>  ******************************************************************************/
>  #define QLA1280_VERSION      "3.27.1"
>  /*****************************************************************************
> --- a/drivers/scsi/qla1280.h
> +++ b/drivers/scsi/qla1280.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /******************************************************************************
>  *                  QLOGIC LINUX SOFTWARE
>  *
> @@ -5,16 +6,6 @@
>  * Copyright (C) 2000 Qlogic Corporation
>  * (www.qlogic.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, 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.
> -*
>  ******************************************************************************/
>
>  #ifndef        _QLA1280_H
> --- a/drivers/scsi/wd33c93.c
> +++ b/drivers/scsi/wd33c93.c
> @@ -1,17 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 1996 John Shifflett, GeoLog Consulting
>   *    john@geolog.com
>   *    jshiffle@netcom.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, 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.
>   */
>
>  /*
> --- a/drivers/scsi/wd33c93.h
> +++ b/drivers/scsi/wd33c93.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   *    wd33c93.h -  Linux device driver definitions for the
>   *                 Commodore Amiga A2091/590 SCSI controller card
> @@ -7,17 +8,6 @@
>   * Copyright (c) 1996 John Shifflett, GeoLog Consulting
>   *    john@geolog.com
>   *    jshiffle@netcom.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, 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.
> - *
>   */
>  #ifndef WD33C93_H
>  #define WD33C93_H
> --- a/fs/notify/dnotify/dnotify.c
> +++ b/fs/notify/dnotify/dnotify.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Directory notifications for Linux.
>   *
> @@ -5,16 +6,6 @@
>   *
>   * Copyright (C) 2009 Eric Paris <Red Hat Inc>
>   * dnotify was largly rewritten to use the new fsnotify infrastructure
> - *
> - * 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, 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.
>   */
>  #include <linux/fs.h>
>  #include <linux/module.h>
> --- a/fs/notify/inotify/inotify_fsnotify.c
> +++ b/fs/notify/inotify/inotify_fsnotify.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * fs/inotify_user.c - inotify support for userspace
>   *
> @@ -10,16 +11,6 @@
>   *
>   * Copyright (C) 2009 Eric Paris <Red Hat Inc>
>   * inotify was largely rewriten to make use of the fsnotify infrastructure
> - *
> - * 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, 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.
>   */
>
>  #include <linux/dcache.h> /* d_unlinked */
> --- a/fs/notify/inotify/inotify_user.c
> +++ b/fs/notify/inotify/inotify_user.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * fs/inotify_user.c - inotify support for userspace
>   *
> @@ -10,16 +11,6 @@
>   *
>   * Copyright (C) 2009 Eric Paris <Red Hat Inc>
>   * inotify was largely rewriten to make use of the fsnotify infrastructure
> - *
> - * 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, 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.
>   */
>
>  #include <linux/file.h>
> --- a/fs/squashfs/zstd_wrapper.c
> +++ b/fs/squashfs/zstd_wrapper.c
> @@ -1,19 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2016-present, Facebook, Inc.
>   * All rights reserved.
>   *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2,
> - * 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.
> - *
>   * zstd_wrapper.c
>   */
>
> --- a/include/linux/apm_bios.h
> +++ b/include/linux/apm_bios.h
> @@ -1,16 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Include file for the interface to an APM BIOS
>   * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au)
> - *
> - * 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, 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.
>   */
>  #ifndef _LINUX_APM_H
>  #define _LINUX_APM_H
> --- a/include/linux/toshiba.h
> +++ b/include/linux/toshiba.h
> @@ -1,20 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* toshiba.h -- Linux driver for accessing the SMM on Toshiba laptops
>   *
>   * Copyright (c) 1996-2000  Jonathan A. Buzzard (jonathan@buzzard.org.uk)
>   *
>   * Thanks to Juergen Heinzl <juergen@monocerus.demon.co.uk> for the pointers
>   * on making sure the structure is aligned and packed.
> - *
> - * 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, 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.
> - *
>   */
>  #ifndef _LINUX_TOSHIBA_H
>  #define _LINUX_TOSHIBA_H
> --- a/sound/pci/cs5530.c
> +++ b/sound/pci/cs5530.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * cs5530.c - Initialisation code for Cyrix/NatSemi VSA1 softaudio
>   *
> @@ -21,16 +22,6 @@
>   * Thanks to National Semiconductor for providing the needed information
>   * on the XpressAudio(tm) internals.
>   *
> - * 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, 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.
> - *
>   * TO DO:
>   *     Investigate whether we can portably support Cognac (5520) in the
>   *     same manner.
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 13/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 113
  2019-05-23  9:14 ` [Batch 5 - patch 13/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 113 Thomas Gleixner
@ 2019-05-23 12:07   ` Richard Fontana
  2019-05-23 22:27   ` Allison Randal
  2019-05-24  1:15   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 12:07 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Richard Fontana <rfontana@redhat.com>

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   this program is free software you can redistribute it and or modify
>   it under the terms of the gnu general public license as published by
>   the free software foundation either version 2 of the license or at
>   your option any later version this program is distributed in the
>   hope that it will be useful but without any warranty without even
>   the implied warranty of merchantability or fitness for a particular
>   purpose see the gnu general public license for more details to
>   obtain the license point your browser to http www gnu org copyleft
>   gpl html
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 26 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=e8184d1df92a
> ---
>  drivers/media/dvb-core/dvb_ca_en50221.c  |   13 +------------
>  drivers/media/dvb-core/dvb_frontend.c    |   14 +-------------
>  drivers/media/dvb-core/dvb_net.c         |   13 +------------
>  drivers/media/dvb-frontends/bsbe1-d01a.h |   16 +---------------
>  drivers/media/dvb-frontends/bsbe1.h      |   16 +---------------
>  drivers/media/dvb-frontends/bsru6.h      |   16 +---------------
>  drivers/media/dvb-frontends/isl6405.c    |   16 +---------------
>  drivers/media/dvb-frontends/isl6405.h    |   16 +---------------
>  drivers/media/dvb-frontends/isl6421.c    |   16 +---------------
>  drivers/media/dvb-frontends/isl6421.h    |   16 +---------------
>  drivers/media/dvb-frontends/lnbp21.c     |   16 +---------------
>  drivers/media/dvb-frontends/lnbp21.h     |   16 +---------------
>  drivers/media/dvb-frontends/lnbp22.c     |   16 +---------------
>  drivers/media/dvb-frontends/lnbp22.h     |   16 +---------------
>  drivers/media/dvb-frontends/tdhd1.h      |   15 +--------------
>  drivers/media/pci/ttpci/av7110.c         |   16 +---------------
>  drivers/media/pci/ttpci/av7110_av.c      |   16 +---------------
>  drivers/media/pci/ttpci/av7110_ca.c      |   16 +---------------
>  drivers/media/pci/ttpci/av7110_hw.c      |   13 +------------
>  drivers/media/pci/ttpci/av7110_ir.c      |   14 +-------------
>  drivers/media/pci/ttpci/av7110_v4l.c     |   13 +------------
>  drivers/media/pci/ttpci/budget-av.c      |   16 +---------------
>  drivers/media/pci/ttpci/budget-ci.c      |   16 +---------------
>  drivers/media/pci/ttpci/budget-core.c    |   16 +---------------
>  drivers/media/pci/ttpci/budget-patch.c   |   16 +---------------
>  drivers/media/pci/ttpci/budget.c         |   16 +---------------
>  26 files changed, 26 insertions(+), 373 deletions(-)
>
> --- a/drivers/media/dvb-core/dvb_ca_en50221.c
> +++ b/drivers/media/dvb-core/dvb_ca_en50221.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * dvb_ca.c: generic DVB functions for EN50221 CAM interfaces
>   *
> @@ -11,18 +12,6 @@
>   *
>   * Copyright (C) 1999-2002 Ralph  Metzler
>   *                       & Marcus Metzler for convergence integrated media GmbH
> - *
> - * 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.
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
>   */
>
>  #define pr_fmt(fmt) "dvb_ca_en50221: " fmt
> --- a/drivers/media/dvb-core/dvb_frontend.c
> +++ b/drivers/media/dvb-core/dvb_frontend.c
> @@ -1,25 +1,13 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * dvb_frontend.c: DVB frontend tuning interface/thread
>   *
> - *
>   * Copyright (C) 1999-2001 Ralph  Metzler
>   *                        Marcus Metzler
>   *                        Holger Waechtler
>   *                                   for convergence integrated media GmbH
>   *
>   * Copyright (C) 2004 Andrew de Quincey (tuning thread cleanup)
> - *
> - * 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.
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
>   */
>
>  /* Enables DVBv3 compatibility bits at the headers */
> --- a/drivers/media/dvb-core/dvb_net.c
> +++ b/drivers/media/dvb-core/dvb_net.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * dvb_net.c
>   *
> @@ -13,18 +14,6 @@
>   *                      and Wolfram Stering <wstering@cosy.sbg.ac.at>
>   *
>   * ULE Decaps according to RFC 4326.
> - *
> - * 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.
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
>   */
>
>  /*
> --- a/drivers/media/dvb-frontends/bsbe1-d01a.h
> +++ b/drivers/media/dvb-frontends/bsbe1-d01a.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * bsbe1-d01a.h - ALPS BSBE1-D01A tuner support
>   *
>   * Copyright (C) 2011 Oliver Endriss <o.endriss@gmx.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) 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>
> --- a/drivers/media/dvb-frontends/bsbe1.h
> +++ b/drivers/media/dvb-frontends/bsbe1.h
> @@ -1,21 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * bsbe1.h - ALPS BSBE1 tuner support
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>
> --- a/drivers/media/dvb-frontends/bsru6.h
> +++ b/drivers/media/dvb-frontends/bsru6.h
> @@ -1,21 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * bsru6.h - ALPS BSRU6 tuner support (moved from budget-ci.c)
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>
> --- a/drivers/media/dvb-frontends/isl6405.c
> +++ b/drivers/media/dvb-frontends/isl6405.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * isl6405.c - driver for dual lnb supply and control ic ISL6405
>   *
>   * Copyright (C) 2008 Hartmut Hackmann
>   * Copyright (C) 2006 Oliver Endriss
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  #include <linux/delay.h>
> --- a/drivers/media/dvb-frontends/isl6405.h
> +++ b/drivers/media/dvb-frontends/isl6405.h
> @@ -1,24 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * isl6405.h - driver for dual lnb supply and control ic ISL6405
>   *
>   * Copyright (C) 2008 Hartmut Hackmann
>   * Copyright (C) 2006 Oliver Endriss
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>
> --- a/drivers/media/dvb-frontends/isl6421.c
> +++ b/drivers/media/dvb-frontends/isl6421.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * isl6421.h - driver for lnb supply and control ic ISL6421
>   *
>   * Copyright (C) 2006 Andrew de Quincey
>   * Copyright (C) 2006 Oliver Endriss
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  #include <linux/delay.h>
> --- a/drivers/media/dvb-frontends/isl6421.h
> +++ b/drivers/media/dvb-frontends/isl6421.h
> @@ -1,24 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * isl6421.h - driver for lnb supply and control ic ISL6421
>   *
>   * Copyright (C) 2006 Andrew de Quincey
>   * Copyright (C) 2006 Oliver Endriss
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>
> --- a/drivers/media/dvb-frontends/lnbp21.c
> +++ b/drivers/media/dvb-frontends/lnbp21.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * lnbp21.c - driver for lnb supply and control ic lnbp21
>   *
>   * Copyright (C) 2006, 2009 Oliver Endriss <o.endriss@gmx.de>
>   * Copyright (C) 2009 Igor M. Liplianin <liplianin@netup.ru>
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  #include <linux/delay.h>
> --- a/drivers/media/dvb-frontends/lnbp21.h
> +++ b/drivers/media/dvb-frontends/lnbp21.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * lnbp21.h - driver for lnb supply and control ic lnbp21
>   *
>   * Copyright (C) 2006 Oliver Endriss
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>
> --- a/drivers/media/dvb-frontends/lnbp22.c
> +++ b/drivers/media/dvb-frontends/lnbp22.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * lnbp22.h - driver for lnb supply and control ic lnbp22
>   *
>   * Copyright (C) 2006 Dominik Kuhlen
>   * Based on lnbp21 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, 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  #include <linux/delay.h>
> --- a/drivers/media/dvb-frontends/lnbp22.h
> +++ b/drivers/media/dvb-frontends/lnbp22.h
> @@ -1,24 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * lnbp22.h - driver for lnb supply and control ic lnbp22
>   *
>   * Copyright (C) 2006 Dominik Kuhlen
>   * Based on lnbp21.h
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>
> --- a/drivers/media/dvb-frontends/tdhd1.h
> +++ b/drivers/media/dvb-frontends/tdhd1.h
> @@ -1,22 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * tdhd1.h - ALPS TDHD1-204A tuner support
>   *
>   * Copyright (C) 2008 Oliver Endriss <o.endriss@gmx.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) 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.
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * The project's page is at https://linuxtv.org
>   */
>
> --- a/drivers/media/pci/ttpci/av7110.c
> +++ b/drivers/media/pci/ttpci/av7110.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * driver for the SAA7146 based AV110 cards (like the Fujitsu-Siemens DVB)
>   * av7110.c: initialization and demux stuff
> @@ -8,21 +9,6 @@
>   * originally based on code by:
>   * Copyright (C) 1998,1999 Christian Theiss <mistert@rz.fh-augsburg.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) 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>
> --- a/drivers/media/pci/ttpci/av7110_av.c
> +++ b/drivers/media/pci/ttpci/av7110_av.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * av7110_av.c: audio and video MPEG decoder stuff
>   *
> @@ -7,21 +8,6 @@
>   * originally based on code by:
>   * Copyright (C) 1998,1999 Christian Theiss <mistert@rz.fh-augsburg.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) 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>
> --- a/drivers/media/pci/ttpci/av7110_ca.c
> +++ b/drivers/media/pci/ttpci/av7110_ca.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * av7110_ca.c: CA and CI stuff
>   *
> @@ -7,21 +8,6 @@
>   * originally based on code by:
>   * Copyright (C) 1998,1999 Christian Theiss <mistert@rz.fh-augsburg.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) 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>
> --- a/drivers/media/pci/ttpci/av7110_hw.c
> +++ b/drivers/media/pci/ttpci/av7110_hw.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * av7110_hw.c: av7110 low level hardware access and firmware interface
>   *
> @@ -7,18 +8,6 @@
>   * originally based on code by:
>   * Copyright (C) 1998,1999 Christian Theiss <mistert@rz.fh-augsburg.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) 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.
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
>   * the project's page is at https://linuxtv.org
>   */
>
> --- a/drivers/media/pci/ttpci/av7110_ir.c
> +++ b/drivers/media/pci/ttpci/av7110_ir.c
> @@ -1,21 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Driver for the remote control of SAA7146 based AV7110 cards
>   *
>   * Copyright (C) 1999-2003 Holger Waechtler <holger@convergence.de>
>   * Copyright (C) 2003-2007 Oliver Endriss <o.endriss@gmx.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) 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.
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
>   */
>
>
> --- a/drivers/media/pci/ttpci/av7110_v4l.c
> +++ b/drivers/media/pci/ttpci/av7110_v4l.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * av7110_v4l.c: av7110 video4linux interface for DVB and Siemens DVB-C analog module
>   *
> @@ -7,18 +8,6 @@
>   * originally based on code by:
>   * Copyright (C) 1998,1999 Christian Theiss <mistert@rz.fh-augsburg.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) 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.
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
>   * the project's page is at https://linuxtv.org
>   */
>
> --- a/drivers/media/pci/ttpci/budget-av.c
> +++ b/drivers/media/pci/ttpci/budget-av.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * budget-av.c: driver for the SAA7146 based Budget DVB cards
>   *              with analog video in
> @@ -12,21 +13,6 @@
>   * Copyright (C) 1999-2002 Ralph  Metzler
>   *                       & Marcus Metzler for convergence integrated media GmbH
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>
> --- a/drivers/media/pci/ttpci/budget-ci.c
> +++ b/drivers/media/pci/ttpci/budget-ci.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * budget-ci.c: driver for the SAA7146 based Budget DVB cards
>   *
> @@ -8,21 +9,6 @@
>   *
>   * CI interface support (c) 2004 Andrew de Quincey <adq_dvb@lidskialf.net>
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>
> --- a/drivers/media/pci/ttpci/budget-core.c
> +++ b/drivers/media/pci/ttpci/budget-core.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * budget-core.c: driver for the SAA7146 based Budget DVB cards
>   *
> @@ -13,21 +14,6 @@
>   *          Oliver Endriss <o.endriss@gmx.de>,
>   *          Andreas 'randy' Weinberger
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>
> --- a/drivers/media/pci/ttpci/budget-patch.c
> +++ b/drivers/media/pci/ttpci/budget-patch.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * budget-patch.c: driver for Budget Patch,
>   * hardware modification of DVB-S cards enabling full TS
> @@ -9,21 +10,6 @@
>   * Special thanks to Holger Waechtler, Michael Hunold, Marian Durkovic
>   * and Metzlerbros
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>
> --- a/drivers/media/pci/ttpci/budget.c
> +++ b/drivers/media/pci/ttpci/budget.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * budget.c: driver for the SAA7146 based Budget DVB cards
>   *
> @@ -13,21 +14,6 @@
>   *           Oliver Endriss <o.endriss@gmx.de> and
>   *           Andreas 'randy' Weinberger
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 02/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 102
  2019-05-23  9:14 ` [Batch 5 - patch 02/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 102 Thomas Gleixner
@ 2019-05-23 12:08   ` Richard Fontana
  2019-05-23 22:18   ` Allison Randal
  2019-05-24  1:10   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 12:08 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Richard Fontana <rfontana@redhat.com>

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   this program is free software you can redistribute it and or modify
>   it under the terms of the gnu general public license as published by
>   the free software foundation either version 2 of the license or at
>   your option any later version this program is distributed in the
>   hope that it will be useful but without any warranty without even
>   the implied warranty of merchantability or fitness for a particular
>   purpose see the gnu general public license for more details you
>   should have received a copy of the gnu general public license along
>   with this program if not write to the free software foundation inc
>   51 franklin st fifth floor boston ma 02110 1301 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 50 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=8c3596c19e1f
> ---
>  arch/arm/mach-imx/iomux-v1.c                   |   15 +--------------
>  arch/mips/alchemy/board-gpr.c                  |   15 +--------------
>  arch/mips/alchemy/board-mtx1.c                 |   15 +--------------
>  arch/mips/alchemy/board-xxs1500.c              |   15 +--------------
>  arch/mips/alchemy/devboards/db1000.c           |   15 +--------------
>  arch/mips/alchemy/devboards/db1200.c           |   15 +--------------
>  arch/mips/ar7/clock.c                          |   15 +--------------
>  arch/mips/ar7/gpio.c                           |   15 +--------------
>  arch/mips/ar7/irq.c                            |   15 +--------------
>  arch/mips/ar7/memory.c                         |   15 +--------------
>  arch/mips/ar7/platform.c                       |   15 +--------------
>  arch/mips/include/asm/mach-ar7/ar7.h           |   15 +--------------
>  arch/mips/include/asm/mach-ar7/prom.h          |   15 +--------------
>  arch/mips/lasat/serial.c                       |   15 +--------------
>  arch/x86/kernel/paravirt.c                     |   14 +-------------
>  arch/x86/kernel/pvclock.c                      |   14 +-------------
>  crypto/async_tx/async_raid6_recov.c            |   16 +---------------
>  drivers/char/hw_random/virtio-rng.c            |   15 +--------------
>  drivers/gpu/drm/drm_edid_load.c                |   14 +-------------
>  drivers/hwmon/hih6130.c                        |   15 +--------------
>  drivers/hwmon/sht21.c                          |   15 +--------------
>  drivers/mtd/ar7part.c                          |   16 +---------------
>  drivers/mtd/bcm63xxpart.c                      |   16 +---------------
>  drivers/mtd/cmdlinepart.c                      |   15 +--------------
>  drivers/mtd/mtd_blkdevs.c                      |   16 +---------------
>  drivers/mtd/mtdblock.c                         |   16 +---------------
>  drivers/mtd/mtdblock_ro.c                      |   16 +---------------
>  drivers/mtd/mtdchar.c                          |   16 +---------------
>  drivers/mtd/mtdconcat.c                        |   16 +---------------
>  drivers/mtd/mtdcore.c                          |   16 +---------------
>  drivers/mtd/mtdpart.c                          |   16 +---------------
>  drivers/mtd/parsers/redboot.c                  |   16 +---------------
>  drivers/virtio/virtio_balloon.c                |   15 +--------------
>  drivers/virtio/virtio_ring.c                   |   15 +--------------
>  drivers/vlynq/vlynq.c                          |   15 +--------------
>  include/linux/mtd/bbm.h                        |   16 +---------------
>  include/linux/mtd/blktrans.h                   |   16 +---------------
>  include/linux/mtd/cfi.h                        |   16 +---------------
>  include/linux/mtd/cfi_endian.h                 |   16 +---------------
>  include/linux/mtd/concat.h                     |   16 +---------------
>  include/linux/mtd/doc2000.h                    |   16 +---------------
>  include/linux/mtd/flashchip.h                  |   16 +---------------
>  include/linux/mtd/gen_probe.h                  |   16 +---------------
>  include/linux/mtd/map.h                        |   16 +---------------
>  include/linux/mtd/mtd.h                        |   16 +---------------
>  include/linux/mtd/nftl.h                       |   16 +---------------
>  include/linux/platform_data/media/camera-mx2.h |   15 +--------------
>  include/linux/vlynq.h                          |   15 +--------------
>  sound/drivers/mts64.c                          |   16 +---------------
>  49 files changed, 49 insertions(+), 706 deletions(-)
>
> --- a/arch/arm/mach-imx/iomux-v1.c
> +++ b/arch/arm/mach-imx/iomux-v1.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * arch/arm/plat-mxc/iomux-v1.c
>   *
> @@ -5,20 +6,6 @@
>   * Copyright (C) 2009 Uwe Kleine-Koenig, Pengutronix
>   *
>   * Common code for i.MX1, i.MX21 and i.MX27
> - *
> - * 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 St, Fifth Floor, Boston, MA 02110-1301, USA.
>   */
>
>  #include <linux/errno.h>
> --- a/arch/mips/alchemy/board-gpr.c
> +++ b/arch/mips/alchemy/board-gpr.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * GPR board platform device registration (Au1550)
>   *
>   * Copyright (C) 2010 Wolfgang Grandegger <wg@denx.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) 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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>
>  #include <linux/delay.h>
> --- a/arch/mips/alchemy/board-mtx1.c
> +++ b/arch/mips/alchemy/board-mtx1.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * MTX-1 platform devices registration (Au1500)
>   *
>   * Copyright (C) 2007-2009, Florian Fainelli <florian@openwrt.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>
>  #include <linux/init.h>
> --- a/arch/mips/alchemy/board-xxs1500.c
> +++ b/arch/mips/alchemy/board-xxs1500.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * BRIEF MODULE DESCRIPTION
>   *     MyCable XXS1500 board support
>   *
>   * Copyright 2003, 2008 MontaVista Software Inc.
>   * Author: MontaVista Software, Inc. <source@mvista.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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>
>  #include <linux/kernel.h>
> --- a/arch/mips/alchemy/devboards/db1000.c
> +++ b/arch/mips/alchemy/devboards/db1000.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * DBAu1000/1500/1100 PBAu1100/1500 board support
>   *
>   * Copyright 2000, 2008 MontaVista Software Inc.
>   * Author: MontaVista Software, Inc. <source@mvista.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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>
>  #include <linux/clk.h>
> --- a/arch/mips/alchemy/devboards/db1200.c
> +++ b/arch/mips/alchemy/devboards/db1200.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * DBAu1200/PBAu1200 board platform device registration
>   *
>   * Copyright (C) 2008-2011 Manuel Lauss
> - *
> - * 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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>
>  #include <linux/clk.h>
> --- a/arch/mips/ar7/clock.c
> +++ b/arch/mips/ar7/clock.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2007 Felix Fietkau <nbd@openwrt.org>
>   * Copyright (C) 2007 Eugene Konev <ejka@openwrt.org>
>   * Copyright (C) 2009 Florian Fainelli <florian@openwrt.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>
>  #include <linux/kernel.h>
> --- a/arch/mips/ar7/gpio.c
> +++ b/arch/mips/ar7/gpio.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2007 Felix Fietkau <nbd@openwrt.org>
>   * Copyright (C) 2007 Eugene Konev <ejka@openwrt.org>
>   * Copyright (C) 2009-2010 Florian Fainelli <florian@openwrt.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>
>  #include <linux/init.h>
> --- a/arch/mips/ar7/irq.c
> +++ b/arch/mips/ar7/irq.c
> @@ -1,20 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2006,2007 Felix Fietkau <nbd@openwrt.org>
>   * Copyright (C) 2006,2007 Eugene Konev <ejka@openwrt.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>
>  #include <linux/interrupt.h>
> --- a/arch/mips/ar7/memory.c
> +++ b/arch/mips/ar7/memory.c
> @@ -1,20 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2007 Felix Fietkau <nbd@openwrt.org>
>   * Copyright (C) 2007 Eugene Konev <ejka@openwrt.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>  #include <linux/memblock.h>
>  #include <linux/init.h>
> --- a/arch/mips/ar7/platform.c
> +++ b/arch/mips/ar7/platform.c
> @@ -1,20 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2006,2007 Felix Fietkau <nbd@openwrt.org>
>   * Copyright (C) 2006,2007 Eugene Konev <ejka@openwrt.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>
>  #include <linux/init.h>
> --- a/arch/mips/include/asm/mach-ar7/ar7.h
> +++ b/arch/mips/include/asm/mach-ar7/ar7.h
> @@ -1,20 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright (C) 2006,2007 Felix Fietkau <nbd@openwrt.org>
>   * Copyright (C) 2006,2007 Eugene Konev <ejka@openwrt.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>
>  #ifndef __AR7_H__
> --- a/arch/mips/include/asm/mach-ar7/prom.h
> +++ b/arch/mips/include/asm/mach-ar7/prom.h
> @@ -1,19 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright (C) 2006, 2007 Florian Fainelli <florian@openwrt.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>
>  #ifndef __PROM_H__
> --- a/arch/mips/lasat/serial.c
> +++ b/arch/mips/lasat/serial.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *  Registration of Lasat UART platform device.
>   *
>   *  Copyright (C) 2007 Brian Murphy <brian@murphy.dk>
> - *
> - *  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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>  #include <linux/errno.h>
>  #include <linux/init.h>
> --- a/arch/x86/kernel/paravirt.c
> +++ b/arch/x86/kernel/paravirt.c
> @@ -1,19 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*  Paravirtualization interfaces
>      Copyright (C) 2006 Rusty Russell IBM Corporation
>
> -    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 St, Fifth Floor, Boston, MA  02110-1301  USA
>
>      2007 - x86_64 support added by Glauber de Oliveira Costa, Red Hat Inc
>  */
> --- a/arch/x86/kernel/pvclock.c
> +++ b/arch/x86/kernel/pvclock.c
> @@ -1,18 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*  paravirtual clock -- common code used by kvm/xen
>
> -    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 St, Fifth Floor, Boston, MA  02110-1301  USA
>  */
>
>  #include <linux/kernel.h>
> --- a/crypto/async_tx/async_raid6_recov.c
> +++ b/crypto/async_tx/async_raid6_recov.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Asynchronous RAID-6 recovery calculations ASYNC_TX API.
>   * Copyright(c) 2009 Intel Corporation
>   *
>   * based on raid6recov.c:
>   *   Copyright 2002 H. Peter Anvin
> - *
> - * 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 St - Fifth Floor, Boston, MA 02110-1301 USA.
> - *
>   */
>  #include <linux/kernel.h>
>  #include <linux/interrupt.h>
> --- a/drivers/char/hw_random/virtio-rng.c
> +++ b/drivers/char/hw_random/virtio-rng.c
> @@ -1,20 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Randomness driver for virtio
>   *  Copyright (C) 2007, 2008 Rusty Russell IBM Corporation
> - *
> - *  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 St, Fifth Floor, Boston, MA  02110-1301 USA
>   */
>
>  #include <linux/err.h>
> --- a/drivers/gpu/drm/drm_edid_load.c
> +++ b/drivers/gpu/drm/drm_edid_load.c
> @@ -1,22 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>     drm_edid_load.c: use a built-in EDID data set or load it via the firmware
>                     interface
>
>     Copyright (C) 2012 Carsten Emde <C.Emde@osadl.org>
>
> -   This program is free software; you can redistribute it and/or
> -   modify it under the terms of the GNU General Public License
> -   as published by the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA.
>  */
>
>  #include <linux/module.h>
> --- a/drivers/hwmon/hih6130.c
> +++ b/drivers/hwmon/hih6130.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Honeywell HIH-6130/HIH-6131 humidity and temperature sensor driver
>   *
>   * Copyright (C) 2012 Iain Paton <ipaton0@gmail.com>
> @@ -5,20 +6,6 @@
>   * heavily based on the sht21 driver
>   * Copyright (C) 2010 Urs Fleisch <urs.fleisch@sensirion.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 St - Fifth Floor, Boston, MA 02110-1301 USA
> - *
>   * Data sheets available (2012-06-22) at
>   * http://sensing.honeywell.com/index.php?ci_id=3106&la_id=1&defId=44872
>   */
> --- a/drivers/hwmon/sht21.c
> +++ b/drivers/hwmon/sht21.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Sensirion SHT21 humidity and temperature sensor driver
>   *
>   * Copyright (C) 2010 Urs Fleisch <urs.fleisch@sensirion.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 St - Fifth Floor, Boston, MA 02110-1301 USA
> - *
>   * Data sheet available at http://www.sensirion.com/file/datasheet_sht21
>   */
>
> --- a/drivers/mtd/ar7part.c
> +++ b/drivers/mtd/ar7part.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright © 2007 Eugene Konev <ejka@openwrt.org>
>   *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   * TI AR7 flash partition table.
>   * Based on ar7 map by Felix Fietkau <nbd@openwrt.org>
> - *
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/mtd/bcm63xxpart.c
> +++ b/drivers/mtd/bcm63xxpart.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * BCM63XX CFE image tag parser
>   *
> @@ -5,21 +6,6 @@
>   *                       Mike Albon <malbon@openwrt.org>
>   * Copyright © 2009-2010  Daniel Dickinson <openwrt@cshore.neomailbox.net>
>   * Copyright © 2011-2013  Jonas Gorski <jonas.gorski@gmail.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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>
>  #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/drivers/mtd/cmdlinepart.c
> +++ b/drivers/mtd/cmdlinepart.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Read flash partition table from command line
>   *
>   * Copyright © 2002      SYSGO Real-Time Solutions GmbH
>   * Copyright © 2002-2010 David Woodhouse <dwmw2@infradead.org>
>   *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   * The format for the command line is as follows:
>   *
>   * mtdparts=<mtddef>[;<mtddef]
> --- a/drivers/mtd/mtd_blkdevs.c
> +++ b/drivers/mtd/mtd_blkdevs.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Interface to Linux block layer for MTD 'translation layers'.
>   *
>   * Copyright © 2003-2010 David Woodhouse <dwmw2@infradead.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/mtd/mtdblock.c
> +++ b/drivers/mtd/mtdblock.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Direct MTD block device access
>   *
>   * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
>   * Copyright © 2000-2003 Nicolas Pitre <nico@fluxnic.net>
> - *
> - * 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>
>  #include <linux/fs.h>
> --- a/drivers/mtd/mtdblock_ro.c
> +++ b/drivers/mtd/mtdblock_ro.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Simple read-only (writable only for RAM) mtdblock driver
>   *
>   * Copyright © 2001-2010 David Woodhouse <dwmw2@infradead.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>
>  #include <linux/init.h>
> --- a/drivers/mtd/mtdchar.c
> +++ b/drivers/mtd/mtdchar.c
> @@ -1,20 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>
>  #include <linux/device.h>
> --- a/drivers/mtd/mtdconcat.c
> +++ b/drivers/mtd/mtdconcat.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * MTD device concatenation layer
>   *
> @@ -5,21 +6,6 @@
>   * Copyright © 2002-2010 David Woodhouse <dwmw2@infradead.org>
>   *
>   * NAND support by Christian Gan <cgan@iders.ca>
> - *
> - * 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/mtd/mtdcore.c
> +++ b/drivers/mtd/mtdcore.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Core registration and callback routines for MTD
>   * drivers and users.
>   *
>   * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
>   * Copyright © 2006      Red Hat UK Limited
> - *
> - * 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>
>  #include <linux/module.h>
> --- a/drivers/mtd/mtdpart.c
> +++ b/drivers/mtd/mtdpart.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Simple MTD partitioning layer
>   *
>   * Copyright © 2000 Nicolas Pitre <nico@fluxnic.net>
>   * Copyright © 2002 Thomas Gleixner <gleixner@linutronix.de>
>   * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>
>  #include <linux/module.h>
> --- a/drivers/mtd/parsers/redboot.c
> +++ b/drivers/mtd/parsers/redboot.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Parse RedBoot-style Flash Image System (FIS) tables and
>   * produce a Linux partition array to match.
>   *
>   * Copyright © 2001      Red Hat UK Limited
>   * Copyright © 2001-2010 David Woodhouse <dwmw2@infradead.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/virtio/virtio_balloon.c
> +++ b/drivers/virtio/virtio_balloon.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Virtio balloon implementation, inspired by Dor Laor and Marcelo
>   * Tosatti's implementations.
>   *
>   *  Copyright 2008 Rusty Russell IBM Corporation
> - *
> - *  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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>
>  #include <linux/virtio.h>
> --- a/drivers/virtio/virtio_ring.c
> +++ b/drivers/virtio/virtio_ring.c
> @@ -1,20 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Virtio ring implementation.
>   *
>   *  Copyright 2007 Rusty Russell IBM Corporation
> - *
> - *  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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>  #include <linux/virtio.h>
>  #include <linux/virtio_ring.h>
> --- a/drivers/vlynq/vlynq.c
> +++ b/drivers/vlynq/vlynq.c
> @@ -1,20 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2006, 2007 Eugene Konev <ejka@openwrt.org>
>   *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   * Parts of the VLYNQ specification can be found here:
>   * http://www.ti.com/litv/pdf/sprue36a
>   */
> --- a/include/linux/mtd/bbm.h
> +++ b/include/linux/mtd/bbm.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   *  NAND family Bad Block Management (BBM) header file
>   *    - Bad Block Table (BBT) implementation
> @@ -7,21 +8,6 @@
>   *
>   *  Copyright © 2000-2005
>   *  Thomas Gleixner <tglx@linuxtronix.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) 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>  #ifndef __LINUX_MTD_BBM_H
>  #define __LINUX_MTD_BBM_H
> --- a/include/linux/mtd/blktrans.h
> +++ b/include/linux/mtd/blktrans.h
> @@ -1,20 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright © 2003-2010 David Woodhouse <dwmw2@infradead.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>
>  #ifndef __MTD_TRANS_H__
> --- a/include/linux/mtd/cfi.h
> +++ b/include/linux/mtd/cfi.h
> @@ -1,20 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> et al.
> - *
> - * 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>
>  #ifndef __MTD_CFI_H__
> --- a/include/linux/mtd/cfi_endian.h
> +++ b/include/linux/mtd/cfi_endian.h
> @@ -1,20 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright © 2001-2010 David Woodhouse <dwmw2@infradead.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>
>  #include <asm/byteorder.h>
> --- a/include/linux/mtd/concat.h
> +++ b/include/linux/mtd/concat.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * MTD device concatenation layer definitions
>   *
>   * Copyright © 2002      Robert Kaiser <rkaiser@sysgo.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) 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>
>  #ifndef MTD_CONCAT_H
> --- a/include/linux/mtd/doc2000.h
> +++ b/include/linux/mtd/doc2000.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Linux driver for Disk-On-Chip devices
>   *
> @@ -5,21 +6,6 @@
>   * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
>   * Copyright © 2002-2003 Greg Ungerer <gerg@snapgear.com>
>   * Copyright © 2002-2003 SnapGear 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, 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>
>  #ifndef __MTD_DOC2000_H__
> --- a/include/linux/mtd/flashchip.h
> +++ b/include/linux/mtd/flashchip.h
> @@ -1,21 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright © 2000      Red Hat UK Limited
>   * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>
>  #ifndef __MTD_FLASHCHIP_H__
> --- a/include/linux/mtd/gen_probe.h
> +++ b/include/linux/mtd/gen_probe.h
> @@ -1,21 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright © 2001      Red Hat UK Limited
>   * Copyright © 2001-2010 David Woodhouse <dwmw2@infradead.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>
>  #ifndef __LINUX_MTD_GEN_PROBE_H__
> --- a/include/linux/mtd/map.h
> +++ b/include/linux/mtd/map.h
> @@ -1,20 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> et al.
> - *
> - * 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>
>  /* Overhauled routines for dealing with different mmap regions of flash */
> --- a/include/linux/mtd/mtd.h
> +++ b/include/linux/mtd/mtd.h
> @@ -1,20 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> et al.
> - *
> - * 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>
>  #ifndef __MTD_MTD_H__
> --- a/include/linux/mtd/nftl.h
> +++ b/include/linux/mtd/nftl.h
> @@ -1,20 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>
>  #ifndef __MTD_NFTL_H__
> --- a/include/linux/platform_data/media/camera-mx2.h
> +++ b/include/linux/platform_data/media/camera-mx2.h
> @@ -1,23 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * mx2-cam.h - i.MX27/i.MX25 camera driver header file
>   *
>   * Copyright (C) 2003, Intel Corporation
>   * Copyright (C) 2008, Sascha Hauer <s.hauer@pengutronix.de>
>   * Copyright (C) 2010, Baruch Siach <baruch@tkos.co.il>
> - *
> - * 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 St - Fifth Floor, Boston, MA 02110-1301 USA.
>   */
>
>  #ifndef __MACH_MX2_CAM_H_
> --- a/include/linux/vlynq.h
> +++ b/include/linux/vlynq.h
> @@ -1,19 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright (C) 2006, 2007 Eugene Konev <ejka@openwrt.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>
>  #ifndef __VLYNQ_H__
> --- a/sound/drivers/mts64.c
> +++ b/sound/drivers/mts64.c
> @@ -1,21 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *   ALSA Driver for Ego Systems Inc. (ESI) Miditerminal 4140
>   *   Copyright (c) 2006 by Matthias König <mk@phasorlab.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) 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>
>  #include <linux/init.h>
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 23/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 123
  2019-05-23  9:15 ` [Batch 5 - patch 23/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 123 Thomas Gleixner
@ 2019-05-23 12:08   ` Richard Fontana
  2019-05-23 22:36   ` Allison Randal
  2019-05-24 11:00   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 12:08 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Richard Fontana <rfontana@redhat.com>

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   this program is free software you can redistribute it and or modify
>   it under the terms and conditions of the gnu general public license
>   version 2 or later 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-or-later
>
> has been chosen to replace the boilerplate/reference in 7 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=c5fe45b387cc
> ---
>  drivers/nfc/s3fwrn5/core.c     |   13 +------------
>  drivers/nfc/s3fwrn5/firmware.c |   13 +------------
>  drivers/nfc/s3fwrn5/firmware.h |   13 +------------
>  drivers/nfc/s3fwrn5/i2c.c      |   13 +------------
>  drivers/nfc/s3fwrn5/nci.c      |   13 +------------
>  drivers/nfc/s3fwrn5/nci.h      |   13 +------------
>  drivers/nfc/s3fwrn5/s3fwrn5.h  |   13 +------------
>  7 files changed, 7 insertions(+), 84 deletions(-)
>
> --- a/drivers/nfc/s3fwrn5/core.c
> +++ b/drivers/nfc/s3fwrn5/core.c
> @@ -1,20 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * NCI based driver for Samsung S3FWRN5 NFC chip
>   *
>   * Copyright (C) 2015 Samsung Electrnoics
>   * Robert Baldyga <r.baldyga@samsung.com>
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms and conditions of the GNU General Public License,
> - * version 2 or later, 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/module.h>
> --- a/drivers/nfc/s3fwrn5/firmware.c
> +++ b/drivers/nfc/s3fwrn5/firmware.c
> @@ -1,20 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * NCI based driver for Samsung S3FWRN5 NFC chip
>   *
>   * Copyright (C) 2015 Samsung Electrnoics
>   * Robert Baldyga <r.baldyga@samsung.com>
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms and conditions of the GNU General Public License,
> - * version 2 or later, 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/completion.h>
> --- a/drivers/nfc/s3fwrn5/firmware.h
> +++ b/drivers/nfc/s3fwrn5/firmware.h
> @@ -1,20 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * NCI based driver for Samsung S3FWRN5 NFC chip
>   *
>   * Copyright (C) 2015 Samsung Electrnoics
>   * Robert Baldyga <r.baldyga@samsung.com>
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms and conditions of the GNU General Public License,
> - * version 2 or later, 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 __LOCAL_S3FWRN5_FIRMWARE_H_
> --- a/drivers/nfc/s3fwrn5/i2c.c
> +++ b/drivers/nfc/s3fwrn5/i2c.c
> @@ -1,20 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * I2C Link Layer for Samsung S3FWRN5 NCI based Driver
>   *
>   * Copyright (C) 2015 Samsung Electrnoics
>   * Robert Baldyga <r.baldyga@samsung.com>
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms and conditions of the GNU General Public License,
> - * version 2 or later, 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/i2c.h>
> --- a/drivers/nfc/s3fwrn5/nci.c
> +++ b/drivers/nfc/s3fwrn5/nci.c
> @@ -1,20 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * NCI based driver for Samsung S3FWRN5 NFC chip
>   *
>   * Copyright (C) 2015 Samsung Electrnoics
>   * Robert Baldyga <r.baldyga@samsung.com>
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms and conditions of the GNU General Public License,
> - * version 2 or later, 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/completion.h>
> --- a/drivers/nfc/s3fwrn5/nci.h
> +++ b/drivers/nfc/s3fwrn5/nci.h
> @@ -1,20 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * NCI based driver for Samsung S3FWRN5 NFC chip
>   *
>   * Copyright (C) 2015 Samsung Electrnoics
>   * Robert Baldyga <r.baldyga@samsung.com>
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms and conditions of the GNU General Public License,
> - * version 2 or later, 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 __LOCAL_S3FWRN5_NCI_H_
> --- a/drivers/nfc/s3fwrn5/s3fwrn5.h
> +++ b/drivers/nfc/s3fwrn5/s3fwrn5.h
> @@ -1,20 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * NCI based driver for Samsung S3FWRN5 NFC chip
>   *
>   * Copyright (C) 2015 Samsung Electrnoics
>   * Robert Baldyga <r.baldyga@samsung.com>
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms and conditions of the GNU General Public License,
> - * version 2 or later, 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 __LOCAL_S3FWRN5_H_
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 22/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 122
  2019-05-23  9:14 ` [Batch 5 - patch 22/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 122 Thomas Gleixner
@ 2019-05-23 12:09   ` Richard Fontana
  2019-05-23 22:35   ` Allison Randal
  2019-05-24 10:59   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 12:09 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Richard Fontana <rfontana@redhat.com>

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> 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 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
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 2 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=3876ab3f549f
> ---
>  drivers/media/rc/gpio-ir-tx.c |   10 +---------
>  drivers/media/rc/pwm-ir-tx.c  |   10 +---------
>  2 files changed, 2 insertions(+), 18 deletions(-)
>
> --- a/drivers/media/rc/gpio-ir-tx.c
> +++ b/drivers/media/rc/gpio-ir-tx.c
> @@ -1,14 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2017 Sean Young <sean@mess.org>
> - *
> - * 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
> - * (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.
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/media/rc/pwm-ir-tx.c
> +++ b/drivers/media/rc/pwm-ir-tx.c
> @@ -1,14 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2017 Sean Young <sean@mess.org>
> - *
> - * 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
> - * (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.
>   */
>
>  #include <linux/kernel.h>
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 25/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 125
  2019-05-23  9:15 ` [Batch 5 - patch 25/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 125 Thomas Gleixner
@ 2019-05-23 12:10   ` Richard Fontana
  2019-05-23 22:41   ` Allison Randal
  2019-05-24 11:00   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 12:10 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Richard Fontana <rfontana@redhat.com>

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   osl gpl code release authorized by [jalil] [fadavi] 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 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 see
>   the file copying if not write to the free software foundation 675
>   mass ave cambridge ma 02139 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 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=98a8d49b3877
> ---
>  drivers/ata/sata_qstor.c |   18 +-----------------
>  1 file changed, 1 insertion(+), 17 deletions(-)
>
> --- a/drivers/ata/sata_qstor.c
> +++ b/drivers/ata/sata_qstor.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *  sata_qstor.c - Pacific Digital Corporation QStor SATA
>   *
> @@ -6,25 +7,8 @@
>   *  Copyright 2005 Pacific Digital Corporation.
>   *  (OSL/GPL code release authorized by Jalil Fadavi).
>   *
> - *
> - *  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, 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; see the file COPYING.  If not, write to
> - *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
> - *
> - *
>   *  libata documentation is available via 'make {ps|pdf}docs',
>   *  as Documentation/driver-api/libata.rst
> - *
>   */
>
>  #include <linux/kernel.h>
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 21/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 121
  2019-05-23  9:14 ` [Batch 5 - patch 21/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 121 Thomas Gleixner
@ 2019-05-23 12:10   ` Richard Fontana
  2019-05-23 22:34   ` Allison Randal
  2019-05-24 10:58   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 12:10 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Richard Fontana <rfontana@redhat.com>

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   licensed under the gplv2 or at your option any later version
>
> 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).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=561128572730
> ---
>  drivers/net/ethernet/stmicro/stmmac/dwmac-anarion.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-anarion.c
> +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-anarion.c
> @@ -1,9 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Adaptrum Anarion DWMAC glue layer
>   *
>   * Copyright (C) 2017, Adaptrum, Inc.
>   * (Written by Alexandru Gagniuc <alex.g at adaptrum.com> for Adaptrum, Inc.)
> - * Licensed under the GPLv2 or (at your option) any later version.
>   */
>
>  #include <linux/io.h>
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 17/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 117
  2019-05-23 12:02   ` Richard Fontana
@ 2019-05-23 12:24     ` Thomas Gleixner
  0 siblings, 0 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23 12:24 UTC (permalink / raw)
  To: Richard Fontana; +Cc: linux-spdx

On Thu, 23 May 2019, Richard Fontana wrote:

> On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
> >
> > Based on 1 normalized pattern(s):
> >
> >   this program is free software you can redistribute it and or modify
> >   it under the terms of the gnu general public license as published by
> >   the free software foundation either version 2 of the license or at
> >   your option any later version due to this file being licensed under
> >   the gpl there is controversy over whether this permits you to write
> >   a module that includes this file without placing your module under
> >   the gpl please consult a lawyer for advice before doing this
> >
> > extracted by the scancode license scanner the SPDX license identifier
> >
> >   GPL-2.0-or-later
> >
> > has been chosen to replace the boilerplate/reference in 2 file(s).
> 
> Why should
> 
> >   due to this file being licensed under
> >   the gpl there is controversy over whether this permits you to write
> >   a module that includes this file without placing your module under
> >   the gpl please consult a lawyer for advice before doing this
> 
> be treated as "boilerplate" that should be deleted? It is a
> non-boilerplate statement about legal interpretation that goes beyond
> the mere license notice.  Seems to merit discussion anyway.

See my earlier reply. I already flagged this for special attention.

Thanks,

	tglx

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

* Re: [Batch 5 - patch 08/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 108
  2019-05-23 11:54   ` Richard Fontana
@ 2019-05-23 12:36     ` Thomas Gleixner
  2019-05-23 13:06       ` Thomas Gleixner
  0 siblings, 1 reply; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23 12:36 UTC (permalink / raw)
  To: Richard Fontana; +Cc: linux-spdx

On Thu, 23 May 2019, Richard Fontana wrote:
> On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
> >
> > Based on 1 normalized pattern(s):
> >
> >   gnupg 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 gnupg is distributed in the hope that
> >   it will be useful but without any warranty without even the implied
> >   warranty of merchantability or fitness for a particular purpose see
> >   the gnu general public license for more details you should have
> >   received a copy of the gnu general public license along with this
> >   program if not write to the free software foundation inc 59 temple
> >   place suite 330 boston ma 02111 1307 usa
> 
> At least some of these bear FSF copyrights. I noticed some other
> patches that made reference to "GNU CC" (suggesting the code may have
> been taken from old versions of GCC?) but I am not sure they had FSF
> copyrights.
> 
> I feel it is especially awkward to remove the continuously-preferred
> legal notice of the copyright holder, particularly when that copyright
> holder is also the recognized license steward of the license in
> question. Since John Sullivan is on this list maybe he can comment.
> Obviously if the FSF is okay with it, it's fine, but I am not sure
> that is John's view given a comment he made the other day.
> 
> As a generalization of the above concern, it seems relatively
> problematic to me to replace license notices that were attached to
> code taken from non-Linux projects, where that is evident, compared to
> code contributed to Linux in the first instance. (Similarly, I would
> normally not advise Red Hat employees to alter upstream third-party
> legal notices downstream, except in very unusual circumstances.)

> > --- a/lib/mpi/mpi-bit.c
> > +++ b/lib/mpi/mpi-bit.c
> > @@ -1,21 +1,8 @@
> > +// SPDX-License-Identifier: GPL-2.0-or-later
> >  /* mpi-bit.c  -  MPI bit level fucntions
> >   * Copyright (C) 1998, 1999 Free Software Foundation, Inc.
> >   *
> >   * This file is part of GnuPG.

We keep the reference of course.

> > - *
> > - * GnuPG 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.
> > - *
> > - * GnuPG is distributed in the hope that it will be useful,
> > - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> > - * GNU General Public License for more details.
> > - *
> > - * You should have received a copy of the GNU General Public License
> > - * along with this program; if not, write to the Free Software
> > - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA

So if FSF insists on keeping this, then we need at least fix the
address. It's outdated....

And looking at quite some of the other boilerplate, including stuff which
originates from FSF/GNU, then there is not only outdated information, there
is also actively misleading information like the wide spread link to:

   http://www.fsf.org/copyleft/gpl.html
   http://www.gnu.org/copyleft/gpl.html

which both bring you to the GPL v3 page.

This one:

   http://www.gnu.org/licenses/

is not really making anything clear either.

Thanks,

	tglx

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

* Re: [Batch 5 - patch 20/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 120
  2019-05-23  9:14 ` [Batch 5 - patch 20/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 120 Thomas Gleixner
@ 2019-05-23 12:37   ` Richard Fontana
  2019-05-23 22:33   ` Allison Randal
  2019-05-24 10:57   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 12:37 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Richard Fontana <rfontana@redhat.com>

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   this program is free software you can redistribute it and or modify
>   it under the terms of the gnu general public license as published by
>   the free software foundation either version 2 of the license or at
>   your option any later version this program is distributed in the
>   hope that it will be useful but without 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 the file copying or write to the free
>   software foundation inc
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 12 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=6666628c0d24
> ---
>  arch/riscv/kernel/process.c |   15 +--------------
>  arch/riscv/kernel/setup.c   |   15 +--------------
>  arch/riscv/kernel/signal.c  |   15 +--------------
>  arch/riscv/mm/extable.c     |   15 +--------------
>  arch/riscv/mm/fault.c       |   15 +--------------
>  include/linux/libgcc.h      |   15 +--------------
>  lib/ashldi3.c               |   14 +-------------
>  lib/ashrdi3.c               |   14 +-------------
>  lib/cmpdi2.c                |   14 +-------------
>  lib/lshrdi3.c               |   15 +--------------
>  lib/muldi3.c                |   14 +-------------
>  lib/ucmpdi2.c               |   14 +-------------
>  12 files changed, 12 insertions(+), 163 deletions(-)
>
> --- a/arch/riscv/kernel/process.c
> +++ b/arch/riscv/kernel/process.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
>   *  Chen Liqin <liqin.chen@sunplusct.com>
>   *  Lennox Wu <lennox.wu@sunplusct.com>
>   * Copyright (C) 2012 Regents of the University of California
>   * Copyright (C) 2017 SiFive
> - *
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.,
>   */
>
>  #include <linux/kernel.h>
> --- a/arch/riscv/kernel/setup.c
> +++ b/arch/riscv/kernel/setup.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
>   *  Chen Liqin <liqin.chen@sunplusct.com>
>   *  Lennox Wu <lennox.wu@sunplusct.com>
>   * Copyright (C) 2012 Regents of the University of California
> - *
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.,
>   */
>
>  #include <linux/init.h>
> --- a/arch/riscv/kernel/signal.c
> +++ b/arch/riscv/kernel/signal.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
>   *  Chen Liqin <liqin.chen@sunplusct.com>
>   *  Lennox Wu <lennox.wu@sunplusct.com>
>   * Copyright (C) 2012 Regents of the University of California
> - *
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.,
>   */
>
>  #include <linux/signal.h>
> --- a/arch/riscv/mm/extable.c
> +++ b/arch/riscv/mm/extable.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
>   *  Lennox Wu <lennox.wu@sunplusct.com>
>   *  Chen Liqin <liqin.chen@sunplusct.com>
>   * Copyright (C) 2013 Regents of the University of California
> - *
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.,
>   */
>
>
> --- a/arch/riscv/mm/fault.c
> +++ b/arch/riscv/mm/fault.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
>   *  Lennox Wu <lennox.wu@sunplusct.com>
>   *  Chen Liqin <liqin.chen@sunplusct.com>
>   * Copyright (C) 2012 Regents of the University of California
> - *
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.,
>   */
>
>
> --- a/include/linux/libgcc.h
> +++ b/include/linux/libgcc.h
> @@ -1,19 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * include/lib/libgcc.h
> - *
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.
>   */
>
>  #ifndef __LIB_LIBGCC_H
> --- a/lib/ashldi3.c
> +++ b/lib/ashldi3.c
> @@ -1,17 +1,5 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.
>   */
>
>  #include <linux/export.h>
> --- a/lib/ashrdi3.c
> +++ b/lib/ashrdi3.c
> @@ -1,17 +1,5 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.
>   */
>
>  #include <linux/export.h>
> --- a/lib/cmpdi2.c
> +++ b/lib/cmpdi2.c
> @@ -1,17 +1,5 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.
>   */
>
>  #include <linux/export.h>
> --- a/lib/lshrdi3.c
> +++ b/lib/lshrdi3.c
> @@ -1,19 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * lib/lshrdi3.c
> - *
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.
>   */
>
>  #include <linux/module.h>
> --- a/lib/muldi3.c
> +++ b/lib/muldi3.c
> @@ -1,17 +1,5 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.
>   */
>
>  #include <linux/export.h>
> --- a/lib/ucmpdi2.c
> +++ b/lib/ucmpdi2.c
> @@ -1,17 +1,5 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.
>   */
>
>  #include <linux/module.h>
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 19/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 119
  2019-05-23  9:14 ` [Batch 5 - patch 19/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 119 Thomas Gleixner
@ 2019-05-23 12:38   ` Richard Fontana
  2019-05-23 22:33   ` Allison Randal
  2019-05-24 10:56   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 12:38 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Richard Fontana <rfontana@redhat.com>

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   released under the gpl 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
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 2 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=380165dddf81
> ---
>  sound/soc/sunxi/sun4i-codec.c |   11 +----------
>  sound/soc/sunxi/sun4i-spdif.c |   11 +----------
>  2 files changed, 2 insertions(+), 20 deletions(-)
>
> --- a/sound/soc/sunxi/sun4i-codec.c
> +++ b/sound/soc/sunxi/sun4i-codec.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 2014 Emilio López <emilio@elopez.com.ar>
>   * Copyright 2014 Jon Smirl <jonsmirl@gmail.com>
> @@ -6,16 +7,6 @@
>   * Copyright 2016 Chen-Yu Tsai <wens@csie.org>
>   *
>   * Based on the Allwinner SDK driver, released under the GPL.
> - *
> - * 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.
>   */
>
>  #include <linux/init.h>
> --- a/sound/soc/sunxi/sun4i-spdif.c
> +++ b/sound/soc/sunxi/sun4i-spdif.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * ALSA SoC SPDIF Audio Layer
>   *
> @@ -5,16 +6,6 @@
>   * Copyright 2015 Marcus Cooper <codekipper@gmail.com>
>   *
>   * Based on the Allwinner SDK driver, released under the GPL.
> - *
> - * 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.
>   */
>
>  #include <linux/clk.h>
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 14/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 114
  2019-05-23  9:14 ` [Batch 5 - patch 14/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 114 Thomas Gleixner
@ 2019-05-23 12:38   ` Richard Fontana
  2019-05-23 22:28   ` Allison Randal
  2019-05-24 10:51   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 12:38 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Richard Fontana <rfontana@redhat.com>

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   this program is free software you can redistribute it and or modify
>   it under the terms of the gnu general public license as published by
>   the free software foundation either version 2 of the license or at
>   your option any later version this program is distributed in the
>   hope that it will be useful but without 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
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 8 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=52fb56503c9a
> ---
>  arch/powerpc/include/asm/hmi.h     |   14 +-------------
>  arch/powerpc/kvm/book3s_hv_hmi.c   |   14 +-------------
>  drivers/gpu/drm/bridge/sii9234.c   |   15 +--------------
>  drivers/hwmon/ibmpowernv.c         |   14 +-------------
>  drivers/i2c/busses/i2c-opal.c      |   14 +-------------
>  drivers/net/ethernet/ibm/ibmvnic.c |   13 +------------
>  drivers/net/ethernet/ibm/ibmvnic.h |   13 +------------
>  drivers/rtc/rtc-opal.c             |   14 +-------------
>  8 files changed, 8 insertions(+), 103 deletions(-)
>
> --- a/arch/powerpc/include/asm/hmi.h
> +++ b/arch/powerpc/include/asm/hmi.h
> @@ -1,19 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Hypervisor Maintenance Interrupt header file.
>   *
> - * 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.
> - *
>   * Copyright 2015 IBM Corporation
>   * Author: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
>   */
> --- a/arch/powerpc/kvm/book3s_hv_hmi.c
> +++ b/arch/powerpc/kvm/book3s_hv_hmi.c
> @@ -1,19 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Hypervisor Maintenance Interrupt (HMI) handling.
>   *
> - * 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.
> - *
>   * Copyright 2015 IBM Corporation
>   * Author: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
>   */
> --- a/drivers/gpu/drm/bridge/sii9234.c
> +++ b/drivers/gpu/drm/bridge/sii9234.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2017 Samsung Electronics
>   *
> @@ -10,20 +11,6 @@
>   *    Erik Gilling <konkers@android.com>
>   *    Shankar Bandal <shankar.b@samsung.com>
>   *    Dharam Kumar <dharam.kr@samsung.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT 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
> - *
>   */
>  #include <drm/bridge/mhl.h>
>  #include <drm/drm_crtc.h>
> --- a/drivers/hwmon/ibmpowernv.c
> +++ b/drivers/hwmon/ibmpowernv.c
> @@ -1,19 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * IBM PowerNV platform sensors for temperature/fan/voltage/power
>   * Copyright (C) 2014 IBM
> - *
> - * 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.
>   */
>
>  #define DRVNAME                "ibmpowernv"
> --- a/drivers/i2c/busses/i2c-opal.c
> +++ b/drivers/i2c/busses/i2c-opal.c
> @@ -1,19 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * IBM OPAL I2C driver
>   * Copyright (C) 2014 IBM
> - *
> - * 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.
>   */
>
>  #include <linux/device.h>
> --- a/drivers/net/ethernet/ibm/ibmvnic.c
> +++ b/drivers/net/ethernet/ibm/ibmvnic.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /**************************************************************************/
>  /*                                                                        */
>  /*  IBM System i and System p Virtual NIC Device Driver                   */
> @@ -6,18 +7,6 @@
>  /*  Thomas Falcon (tlfalcon@linux.vnet.ibm.com)                           */
>  /*  John Allen (jallen@linux.vnet.ibm.com)                                */
>  /*                                                                        */
> -/*  This program is free software; you can redistribute it and/or modify  */
> -/*  it under the terms of the GNU General Public License 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.                                              */
>  /*                                                                        */
>  /* This module contains the implementation of a virtual ethernet device   */
>  /* for use with IBM i/p Series LPAR Linux. It utilizes the logical LAN    */
> --- a/drivers/net/ethernet/ibm/ibmvnic.h
> +++ b/drivers/net/ethernet/ibm/ibmvnic.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /**************************************************************************/
>  /*                                                                        */
>  /*  IBM System i and System p Virtual NIC Device Driver                   */
> @@ -6,18 +7,6 @@
>  /*  Thomas Falcon (tlfalcon@linux.vnet.ibm.com)                           */
>  /*  John Allen (jallen@linux.vnet.ibm.com)                                */
>  /*                                                                        */
> -/*  This program is free software; you can redistribute it and/or modify  */
> -/*  it under the terms of the GNU General Public License 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.                                              */
>  /*                                                                        */
>  /* This module contains the implementation of a virtual ethernet device   */
>  /* for use with IBM i/pSeries LPAR Linux.  It utilizes the logical LAN    */
> --- a/drivers/rtc/rtc-opal.c
> +++ b/drivers/rtc/rtc-opal.c
> @@ -1,19 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * IBM OPAL RTC driver
>   * Copyright (C) 2014 IBM
> - *
> - * 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.
>   */
>
>  #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 116
  2019-05-23  9:14 ` [Batch 5 - patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 116 Thomas Gleixner
@ 2019-05-23 12:39   ` Richard Fontana
  2019-05-23 22:30   ` Allison Randal
  1 sibling, 0 replies; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 12:39 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Richard Fontana <rfontana@redhat.com>

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   gpl 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 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 59 temple place suite 330 boston ma 02111
>   1307 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 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=e94e58f8809e
> ---
>  sound/pci/azt3328.c |   16 +---------------
>  1 file changed, 1 insertion(+), 15 deletions(-)
>
> --- a/sound/pci/azt3328.c
> +++ b/sound/pci/azt3328.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*  azt3328.c - driver for Aztech AZF3328 based soundcards (e.g. PCI168).
>   *  Copyright (C) 2002, 2005 - 2011 by Andreas Mohr <andi AT lisas.de>
>   *
> @@ -16,21 +17,6 @@
>   *   despite the high level of Internet ignorance - as usual :-P -
>   *   about very good support for this card - on Linux!)
>   *
> - * GPL 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; 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
> - *
>   * NOTES
>   *  Since Aztech does not provide any chipset documentation,
>   *  even on repeated request to various addresses,
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 04/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 104
  2019-05-23  9:14 ` [Batch 5 - patch 04/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 104 Thomas Gleixner
@ 2019-05-23 12:41   ` Richard Fontana
  2019-05-23 22:20   ` Allison Randal
  2019-05-24  1:12   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 12:41 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Richard Fontana <rfontana@redhat.com>

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   this sctp implementation 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 or at
>   your option any later version this sctp implementation is
>   distributed in the hope that it will be useful but without 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 gnu cc see the file copying if not see
>   http www gnu org licenses
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 42 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=d14e4ff614c0
> ---
>  include/linux/sctp.h                 |   17 +----------------
>  include/net/sctp/auth.h              |   17 +----------------
>  include/net/sctp/command.h           |   17 +----------------
>  include/net/sctp/constants.h         |   17 +----------------
>  include/net/sctp/sctp.h              |   17 +----------------
>  include/net/sctp/sm.h                |   17 +----------------
>  include/net/sctp/stream_interleave.h |   17 +----------------
>  include/net/sctp/stream_sched.h      |   17 +----------------
>  include/net/sctp/structs.h           |   17 +----------------
>  include/net/sctp/tsnmap.h            |   17 +----------------
>  include/net/sctp/ulpevent.h          |   17 +----------------
>  include/net/sctp/ulpqueue.h          |   17 +----------------
>  net/sctp/associola.c                 |   17 +----------------
>  net/sctp/auth.c                      |   17 +----------------
>  net/sctp/bind_addr.c                 |   17 +----------------
>  net/sctp/chunk.c                     |   17 +----------------
>  net/sctp/debug.c                     |   17 +----------------
>  net/sctp/diag.c                      |   17 +----------------
>  net/sctp/input.c                     |   17 +----------------
>  net/sctp/inqueue.c                   |   17 +----------------
>  net/sctp/ipv6.c                      |   17 +----------------
>  net/sctp/objcnt.c                    |   17 +----------------
>  net/sctp/output.c                    |   17 +----------------
>  net/sctp/outqueue.c                  |   17 +----------------
>  net/sctp/primitive.c                 |   17 +----------------
>  net/sctp/proc.c                      |   17 +----------------
>  net/sctp/protocol.c                  |   17 +----------------
>  net/sctp/sm_make_chunk.c             |   17 +----------------
>  net/sctp/sm_sideeffect.c             |   17 +----------------
>  net/sctp/sm_statefuns.c              |   17 +----------------
>  net/sctp/sm_statetable.c             |   17 +----------------
>  net/sctp/socket.c                    |   17 +----------------
>  net/sctp/stream.c                    |   17 +----------------
>  net/sctp/stream_interleave.c         |   17 +----------------
>  net/sctp/stream_sched.c              |   17 +----------------
>  net/sctp/stream_sched_prio.c         |   17 +----------------
>  net/sctp/stream_sched_rr.c           |   17 +----------------
>  net/sctp/sysctl.c                    |   17 +----------------
>  net/sctp/transport.c                 |   17 +----------------
>  net/sctp/tsnmap.c                    |   17 +----------------
>  net/sctp/ulpevent.c                  |   17 +----------------
>  net/sctp/ulpqueue.c                  |   17 +----------------
>  42 files changed, 42 insertions(+), 672 deletions(-)
>
> --- a/include/linux/sctp.h
> +++ b/include/linux/sctp.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel reference Implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -10,22 +11,6 @@
>   *
>   * Various protocol defined structures.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/include/net/sctp/auth.h
> +++ b/include/net/sctp/auth.h
> @@ -1,24 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel implementation
>   * (C) Copyright 2007 Hewlett-Packard Development Company, L.P.
>   *
>   * This file is part of the SCTP kernel implementation
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/include/net/sctp/command.h
> +++ b/include/net/sctp/command.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel Implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (C) 1999-2001 Cisco, Motorola
> @@ -6,22 +7,6 @@
>   *
>   * These are the definitions needed for the command object.
>   *
> - * This SCTP implementation  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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation  is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/include/net/sctp/constants.h
> +++ b/include/net/sctp/constants.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -6,22 +7,6 @@
>   *
>   * This file is part of the SCTP kernel implementation
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/include/net/sctp/sctp.h
> +++ b/include/net/sctp/sctp.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -8,22 +9,6 @@
>   *
>   * The base lksctp header.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/include/net/sctp/sm.h
> +++ b/include/net/sctp/sm.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -8,22 +9,6 @@
>   *
>   * These are definitions needed by the state machine.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email addresses:
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/include/net/sctp/stream_interleave.h
> +++ b/include/net/sctp/stream_interleave.h
> @@ -1,25 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel implementation
>   * (C) Copyright Red Hat Inc. 2017
>   *
>   * These are definitions used by the stream schedulers, defined in RFC
>   * draft ndata (https://tools.ietf.org/html/draft-ietf-tsvwg-sctp-ndata-11)
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation  is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email addresses:
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/include/net/sctp/stream_sched.h
> +++ b/include/net/sctp/stream_sched.h
> @@ -1,25 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel implementation
>   * (C) Copyright Red Hat Inc. 2017
>   *
>   * These are definitions used by the stream schedulers, defined in RFC
>   * draft ndata (https://tools.ietf.org/html/draft-ietf-tsvwg-sctp-ndata-11)
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation  is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email addresses:
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/include/net/sctp/structs.h
> +++ b/include/net/sctp/structs.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -6,22 +7,6 @@
>   *
>   * This file is part of the SCTP kernel implementation
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email addresses:
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/include/net/sctp/tsnmap.h
> +++ b/include/net/sctp/tsnmap.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -9,22 +10,6 @@
>   * These are the definitions needed for the tsnmap type.  The tsnmap is used
>   * to track out of order TSNs received.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/include/net/sctp/ulpevent.h
> +++ b/include/net/sctp/ulpevent.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -12,22 +13,6 @@
>   *
>   * This file is part of the SCTP kernel implementation
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/include/net/sctp/ulpqueue.h
> +++ b/include/net/sctp/ulpqueue.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -11,22 +12,6 @@
>   * and the core SCTP state machine.  This is the component which handles
>   * reassembly and ordering.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation  is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email addresses:
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/associola.c
> +++ b/net/sctp/associola.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -9,22 +10,6 @@
>   *
>   * This module provides the abstraction for an SCTP association.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/auth.c
> +++ b/net/sctp/auth.c
> @@ -1,24 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright 2007 Hewlett-Packard Development Company, L.P.
>   *
>   * This file is part of the SCTP kernel implementation
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/bind_addr.c
> +++ b/net/sctp/bind_addr.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2003
>   * Copyright (c) Cisco 1999,2000
> @@ -8,22 +9,6 @@
>   *
>   * A collection class to handle the storage of transport addresses.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/chunk.c
> +++ b/net/sctp/chunk.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2003, 2004
>   *
> @@ -5,22 +6,6 @@
>   *
>   * This file contains the code relating the chunk abstraction.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/debug.c
> +++ b/net/sctp/debug.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -9,22 +10,6 @@
>   * This file converts numerical ID value to alphabetical names for SCTP
>   * terms such as chunk type, parameter time, event type, etc.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/diag.c
> +++ b/net/sctp/diag.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright Red Hat Inc. 2017
>   *
> @@ -5,22 +6,6 @@
>   *
>   * These functions implement sctp diag support.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email addresched(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/input.c
> +++ b/net/sctp/input.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * Copyright (c) 1999-2000 Cisco, Inc.
>   * Copyright (c) 1999-2001 Motorola, Inc.
> @@ -10,22 +11,6 @@
>   *
>   * These functions handle all input from the IP layer into SCTP.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/inqueue.c
> +++ b/net/sctp/inqueue.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * Copyright (c) 1999-2000 Cisco, Inc.
>   * Copyright (c) 1999-2001 Motorola, Inc.
> @@ -11,22 +12,6 @@
>   * (which might be bundles or fragments of chunks) and out of which you
>   * pop SCTP whole chunks.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/ipv6.c
> +++ b/net/sctp/ipv6.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2002, 2004
>   * Copyright (c) 2001 Nokia, Inc.
> @@ -8,22 +9,6 @@
>   *
>   * SCTP over IPv6.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/objcnt.c
> +++ b/net/sctp/objcnt.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   *
> @@ -7,22 +8,6 @@
>   * object allocations/deallocations for types instrumented for this
>   * via the proc fs.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/output.c
> +++ b/net/sctp/output.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -7,22 +8,6 @@
>   *
>   * These functions handle output processing.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/outqueue.c
> +++ b/net/sctp/outqueue.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -9,22 +10,6 @@
>   * These functions implement the sctp_outq class.   The outqueue handles
>   * bundling and queueing of outgoing SCTP chunks.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/primitive.c
> +++ b/net/sctp/primitive.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * Copyright (c) 1999-2000 Cisco, Inc.
>   * Copyright (c) 1999-2001 Motorola, Inc.
> @@ -10,22 +11,6 @@
>   * functions--this file is the functions which populate the struct proto
>   * for SCTP which is the BOTTOM of the sockets interface.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/proc.c
> +++ b/net/sctp/proc.c
> @@ -1,24 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * Copyright (c) 2003 International Business Machines, Corp.
>   *
>   * This file is part of the SCTP kernel implementation
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/protocol.c
> +++ b/net/sctp/protocol.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -10,22 +11,6 @@
>   *
>   * Initialization/cleanup for SCTP protocol support.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/sm_make_chunk.c
> +++ b/net/sctp/sm_make_chunk.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -10,22 +11,6 @@
>   * to implement the state operations.  These functions implement the
>   * steps which require modifying existing data structures.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/sm_sideeffect.c
> +++ b/net/sctp/sm_sideeffect.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999 Cisco, Inc.
> @@ -9,22 +10,6 @@
>   * to implement that state operations.  These functions implement the
>   * steps which require modifying existing data structures.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/sm_statefuns.c
> +++ b/net/sctp/sm_statefuns.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -9,22 +10,6 @@
>   *
>   * These are the state functions for the state machine.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/sm_statetable.c
> +++ b/net/sctp/sm_statetable.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -9,22 +10,6 @@
>   *
>   * These are the state tables for the SCTP state machine.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/socket.c
> +++ b/net/sctp/socket.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -15,22 +16,6 @@
>   * functions--this file is the functions which populate the struct proto
>   * for SCTP which is the BOTTOM of the sockets interface.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/stream.c
> +++ b/net/sctp/stream.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -8,22 +9,6 @@
>   *
>   * This file contains sctp stream maniuplation primitives and helpers.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/stream_interleave.c
> +++ b/net/sctp/stream_interleave.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright Red Hat Inc. 2017
>   *
> @@ -6,22 +7,6 @@
>   * These functions implement sctp stream message interleaving, mostly
>   * including I-DATA and I-FORWARD-TSN chunks process.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email addresched(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/stream_sched.c
> +++ b/net/sctp/stream_sched.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright Red Hat Inc. 2017
>   *
> @@ -5,22 +6,6 @@
>   *
>   * These functions manipulate sctp stream queue/scheduling.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email addresched(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/stream_sched_prio.c
> +++ b/net/sctp/stream_sched_prio.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright Red Hat Inc. 2017
>   *
> @@ -5,22 +6,6 @@
>   *
>   * These functions manipulate sctp stream queue/scheduling.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email addresched(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/stream_sched_rr.c
> +++ b/net/sctp/stream_sched_rr.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright Red Hat Inc. 2017
>   *
> @@ -5,22 +6,6 @@
>   *
>   * These functions manipulate sctp stream queue/scheduling.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email addresched(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/sysctl.c
> +++ b/net/sctp/sysctl.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2002, 2004
>   * Copyright (c) 2002 Intel Corp.
> @@ -6,22 +7,6 @@
>   *
>   * Sysctl related interfaces for SCTP.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/transport.c
> +++ b/net/sctp/transport.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * Copyright (c) 1999-2000 Cisco, Inc.
>   * Copyright (c) 1999-2001 Motorola, Inc.
> @@ -11,22 +12,6 @@
>   * a remote transport address.  For local transport addresses, we just use
>   * union sctp_addr.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/tsnmap.c
> +++ b/net/sctp/tsnmap.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -8,22 +9,6 @@
>   *
>   * These functions manipulate sctp tsn mapping array.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/ulpevent.c
> +++ b/net/sctp/ulpevent.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -9,22 +10,6 @@
>   * These functions manipulate an sctp event.   The struct ulpevent is used
>   * to carry notifications and data to the ULP (sockets).
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/ulpqueue.c
> +++ b/net/sctp/ulpqueue.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -8,22 +9,6 @@
>   *
>   * This abstraction carries sctp events to the ULP (sockets).
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 15/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 115
  2019-05-23  9:14 ` [Batch 5 - patch 15/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 115 Thomas Gleixner
@ 2019-05-23 12:42   ` Richard Fontana
  0 siblings, 0 replies; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 12:42 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   gnu cc 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 or at your option any
>   later version gnu cc is distributed in the hope that it will be
>   useful but without any warranty without even the implied warranty of
>   merchantability or fitness for a particular purpose see the gnu
>   general public license for more details

Flagging these as being FSF-copyrighted -- see my earlier comment on
code taken from FSF-copyrighted GNU project code.

Richard



> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 4 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=e344d8bea171
> ---
>  arch/m68k/lib/ashldi3.c |   11 ++---------
>  arch/m68k/lib/ashrdi3.c |   11 ++---------
>  arch/m68k/lib/lshrdi3.c |   11 ++---------
>  arch/m68k/lib/muldi3.c  |   11 ++---------
>  4 files changed, 8 insertions(+), 36 deletions(-)
>
> --- a/arch/m68k/lib/ashldi3.c
> +++ b/arch/m68k/lib/ashldi3.c
> @@ -1,17 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* ashrdi3.c extracted from gcc-2.95.2/libgcc2.c which is: */
>  /* Copyright (C) 1989, 92-98, 1999 Free Software Foundation, Inc.
>
>  This file is part of GNU CC.
>
> -GNU CC 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, or (at your option)
> -any later version.
> -
> -GNU CC is distributed in the hope that it will be useful,
> -but WITHOUT 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/compiler.h>
>  #include <linux/export.h>
> --- a/arch/m68k/lib/ashrdi3.c
> +++ b/arch/m68k/lib/ashrdi3.c
> @@ -1,17 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* ashrdi3.c extracted from gcc-2.7.2/libgcc2.c which is: */
>  /* Copyright (C) 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
>
>  This file is part of GNU CC.
>
> -GNU CC 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, or (at your option)
> -any later version.
> -
> -GNU CC is distributed in the hope that it will be useful,
> -but WITHOUT 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/compiler.h>
>  #include <linux/export.h>
> --- a/arch/m68k/lib/lshrdi3.c
> +++ b/arch/m68k/lib/lshrdi3.c
> @@ -1,17 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* lshrdi3.c extracted from gcc-2.7.2/libgcc2.c which is: */
>  /* Copyright (C) 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
>
>  This file is part of GNU CC.
>
> -GNU CC 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, or (at your option)
> -any later version.
> -
> -GNU CC is distributed in the hope that it will be useful,
> -but WITHOUT 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/compiler.h>
>  #include <linux/export.h>
> --- a/arch/m68k/lib/muldi3.c
> +++ b/arch/m68k/lib/muldi3.c
> @@ -1,18 +1,11 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* muldi3.c extracted from gcc-2.7.2.3/libgcc2.c and
>                            gcc-2.7.2.3/longlong.h which is: */
>  /* Copyright (C) 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
>
>  This file is part of GNU CC.
>
> -GNU CC 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, or (at your option)
> -any later version.
> -
> -GNU CC is distributed in the hope that it will be useful,
> -but WITHOUT 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/compiler.h>
>  #include <linux/export.h>
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 12/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 112
  2019-05-23  9:14 ` [Batch 5 - patch 12/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 112 Thomas Gleixner
@ 2019-05-23 12:43   ` Richard Fontana
  2019-05-23 22:27   ` Allison Randal
  2019-05-24  1:14   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 12:43 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Richard Fontana <rfontana@redhat.com>

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   this program is free software you can redistribute it and or modify
>   it under the terms of the gnu general public license as published by
>   the free software foundation either version 2 of the license or
>   later version
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 4 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=aa67c1e6bfcc
> ---
>  arch/powerpc/include/asm/imc-pmu.h        |    6 +-----
>  arch/powerpc/perf/imc-pmu.c               |    6 +-----
>  arch/powerpc/perf/power9-pmu.c            |    6 +-----
>  arch/powerpc/platforms/powernv/opal-imc.c |    6 +-----
>  4 files changed, 4 insertions(+), 20 deletions(-)
>
> --- a/arch/powerpc/include/asm/imc-pmu.h
> +++ b/arch/powerpc/include/asm/imc-pmu.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  #ifndef __ASM_POWERPC_IMC_PMU_H
>  #define __ASM_POWERPC_IMC_PMU_H
>
> @@ -7,11 +8,6 @@
>   * Copyright (C) 2017 Madhavan Srinivasan, IBM Corporation.
>   *           (C) 2017 Anju T Sudhakar, IBM Corporation.
>   *           (C) 2017 Hemant K Shaw, IBM Corporation.
> - *
> - * 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 later version.
>   */
>
>  #include <linux/perf_event.h>
> --- a/arch/powerpc/perf/imc-pmu.c
> +++ b/arch/powerpc/perf/imc-pmu.c
> @@ -1,14 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * In-Memory Collection (IMC) Performance Monitor counter support.
>   *
>   * Copyright (C) 2017 Madhavan Srinivasan, IBM Corporation.
>   *           (C) 2017 Anju T Sudhakar, IBM Corporation.
>   *           (C) 2017 Hemant K Shaw, IBM Corporation.
> - *
> - * 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 later version.
>   */
>  #include <linux/perf_event.h>
>  #include <linux/slab.h>
> --- a/arch/powerpc/perf/power9-pmu.c
> +++ b/arch/powerpc/perf/power9-pmu.c
> @@ -1,14 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Performance counter support for POWER9 processors.
>   *
>   * Copyright 2009 Paul Mackerras, IBM Corporation.
>   * Copyright 2013 Michael Ellerman, IBM Corporation.
>   * Copyright 2016 Madhavan Srinivasan, IBM Corporation.
> - *
> - * 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 later version.
>   */
>
>  #define pr_fmt(fmt)    "power9-pmu: " fmt
> --- a/arch/powerpc/platforms/powernv/opal-imc.c
> +++ b/arch/powerpc/platforms/powernv/opal-imc.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * OPAL IMC interface detection driver
>   * Supported on POWERNV platform
> @@ -5,11 +6,6 @@
>   * Copyright   (C) 2017 Madhavan Srinivasan, IBM Corporation.
>   *             (C) 2017 Anju T Sudhakar, IBM Corporation.
>   *             (C) 2017 Hemant K Shaw, IBM Corporation.
> - *
> - * 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 later version.
>   */
>  #include <linux/kernel.h>
>  #include <linux/platform_device.h>
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 11/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 111
  2019-05-23  9:14 ` [Batch 5 - patch 11/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 111 Thomas Gleixner
@ 2019-05-23 12:43   ` Richard Fontana
  2019-05-23 22:26   ` Allison Randal
  2019-05-24  1:14   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 12:43 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Richard Fontana <rfontana@redhat.com>

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   this program is free software you can redistribute it and or modify
>   i t under the terms of the gnu general public license as published
>   by th e free software foundation either version 2 of the license or
>   at you r option any later version
>
> 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).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=1fd80a115d4e
> ---
>  drivers/gpio/gpio-tps65218.c |    6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)
>
> --- a/drivers/gpio/gpio-tps65218.c
> +++ b/drivers/gpio/gpio-tps65218.c
> @@ -1,13 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 2015 Verifone Int.
>   *
>   * Author: Nicolas Saenz Julienne <nicolassaenzj@gmail.com>
>   *
> - * This program is free software; you can redistribute it and/or modify i t
> - * under  the terms of the GNU General  Public License as published by th e
> - * Free Software Foundation;  either version 2 of the License, or (at you r
> - * option) any later version.
> - *
>   * This driver is based on the gpio-tps65912 implementation.
>   */
>
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 10/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 110
  2019-05-23  9:14 ` [Batch 5 - patch 10/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 110 Thomas Gleixner
@ 2019-05-23 12:43   ` Richard Fontana
  2019-05-23 22:26   ` Allison Randal
  2019-05-24  1:13   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 12:43 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Richard Fontana <rfontana@redhat.com>

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   this file 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 file is distributed in the hope
>   that it will be useful but without 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-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=acc740cf1461
> ---
>  drivers/char/hw_random/stm32-rng.c |   11 +----------
>  1 file changed, 1 insertion(+), 10 deletions(-)
>
> --- a/drivers/char/hw_random/stm32-rng.c
> +++ b/drivers/char/hw_random/stm32-rng.c
> @@ -1,15 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 2015, Daniel Thompson
> - *
> - * This file 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 file is distributed in the hope that it will be useful,
> - * but WITHOUT 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/clk.h>
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 101
  2019-05-23  9:14 ` [Batch 5 - patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 101 Thomas Gleixner
@ 2019-05-23 12:44   ` Richard Fontana
  2019-05-23 22:18   ` Allison Randal
  2019-05-24  1:10   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 12:44 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Richard Fontana <rfontana@redhat.com>

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   the sctp reference implementation 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 or at your option any later version the sctp reference
>   implementation is distributed in the hope that it will be useful but
>   without 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 gnu cc see the
>   file copying if not see http www gnu org licenses
>
> 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).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=abf587f88d5d
> ---
>  include/net/sctp/checksum.h |   17 +----------------
>  1 file changed, 1 insertion(+), 16 deletions(-)
>
> --- a/include/net/sctp/checksum.h
> +++ b/include/net/sctp/checksum.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel reference Implementation
>   * Copyright (c) 1999-2001 Motorola, Inc.
>   * Copyright (c) 2001-2003 International Business Machines, Corp.
> @@ -6,22 +7,6 @@
>   *
>   * SCTP Checksum functions
>   *
> - * The SCTP reference implementation 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, or (at your option)
> - * any later version.
> - *
> - * The SCTP reference implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 24/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 124
  2019-05-23  9:15 ` [Batch 5 - patch 24/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 124 Thomas Gleixner
  2019-05-23  9:52   ` Thomas Gleixner
@ 2019-05-23 12:51   ` Richard Fontana
  1 sibling, 0 replies; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 12:51 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Richard Fontana <rfontana@redhat.com>

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   this program is free software you can redistribute it and or modify
>   it under the terms of the gnu general public license as published by
>   the free software foundation either version 2 of the license or at
>   your option any later version this program is distributed as is
>   without any warranty of any kind whether express or implied 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-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=302a78ae3ede
> ---
>  drivers/regulator/tps65132-regulator.c |   11 +----------
>  1 file changed, 1 insertion(+), 10 deletions(-)
>
> --- a/drivers/regulator/tps65132-regulator.c
> +++ b/drivers/regulator/tps65132-regulator.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * TI TPS65132 Regulator driver
>   *
> @@ -5,16 +6,6 @@
>   *
>   * Author: Venkat Reddy Talla <vreddytalla@nvidia.com>
>   *             Laxman Dewangan <ldewangan@nvidia.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 "as is" WITHOUT ANY WARRANTY of any kind,
> - * whether express or implied; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License for more details.
>   */
>
>  #include <linux/delay.h>
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 03/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 103
  2019-05-23  9:14 ` [Batch 5 - patch 03/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 103 Thomas Gleixner
@ 2019-05-23 12:52   ` Richard Fontana
  2019-05-23 22:19   ` Allison Randal
  2019-05-24  1:11   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Richard Fontana @ 2019-05-23 12:52 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-spdx

Reviewed-by: Richard Fontana <rfontana@redhat.com>

On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
>   the sctp implementation 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 or at
>   your option any later version the sctp implementation is distributed
>   in the hope that it will be useful but without 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 gnu cc see the file copying if not see http www
>   gnu org licenses
>
> 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).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=c2b42ff8d9db
> ---
>  net/sctp/endpointola.c |   17 +----------------
>  1 file changed, 1 insertion(+), 16 deletions(-)
>
> --- a/net/sctp/endpointola.c
> +++ b/net/sctp/endpointola.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * Copyright (c) 1999-2000 Cisco, Inc.
>   * Copyright (c) 1999-2001 Motorola, Inc.
> @@ -10,22 +11,6 @@
>   *
>   * This abstraction represents an SCTP endpoint.
>   *
> - * The SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * The SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
>
>


-- 
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.

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

* Re: [Batch 5 - patch 08/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 108
  2019-05-23 12:36     ` Thomas Gleixner
@ 2019-05-23 13:06       ` Thomas Gleixner
  0 siblings, 0 replies; 101+ messages in thread
From: Thomas Gleixner @ 2019-05-23 13:06 UTC (permalink / raw)
  To: Richard Fontana; +Cc: linux-spdx

On Thu, 23 May 2019, Thomas Gleixner wrote:
> On Thu, 23 May 2019, Richard Fontana wrote:
> > > - *
> > > - * You should have received a copy of the GNU General Public License
> > > - * along with this program; if not, write to the Free Software
> > > - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
> 
> So if FSF insists on keeping this, then we need at least fix the
> address. It's outdated....
> 
> And looking at quite some of the other boilerplate, including stuff which
> originates from FSF/GNU, then there is not only outdated information, there
> is also actively misleading information like the wide spread link to:
> 
>    http://www.fsf.org/copyleft/gpl.html
>    http://www.gnu.org/copyleft/gpl.html
> 
> which both bring you to the GPL v3 page.
> 
> This one:
> 
>    http://www.gnu.org/licenses/
> 
> is not really making anything clear either.

And there is precedence, that the FSF did not holler for almost 6 years:

  https://github.com/u-boot/u-boot/commit/1a4596601fd395f3afb8f82f3f840c5e00bdd57a

commit 1a4596601fd395f3afb8f82f3f840c5e00bdd57a
Author: Wolfgang Denk <wd@denx.de>
Date:   Mon Jul 8 09:37:19 2013 +0200

    Add GPL-2.0+ SPDX-License-Identifier to source files
    
    Signed-off-by: Wolfgang Denk <wd@denx.de>
    [trini: Fixup common/cmd_io.c]
    Signed-off-by: Tom Rini <trini@ti.com>

<snip .... >

--- a/arch/x86/lib/string.c
+++ b/arch/x86/lib/string.c
@@ -3,23 +3,7 @@
  * This file is part of the GNU C Library.
  * Copyright (c) 2011 The Chromium OS Authors.
  *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * 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., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * SPDX-License-Identifier:    GPL-2.0+
  */

The full file header today is:

// SPDX-License-Identifier:    GPL-2.0+
/*
 * Copyright (C) 1991,1992,1993,1997,1998,2003, 2005 Free Software Foundation, Inc.
 * This file is part of the GNU C Library.
 * Copyright (c) 2011 The Chromium OS Authors.
 */

There are more examples in u-boot doing the same on other files which
originate from a GNU/FSF source.

Thanks,

	tglx

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

* Re: [Batch 5 - patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 101
  2019-05-23  9:14 ` [Batch 5 - patch 01/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 101 Thomas Gleixner
  2019-05-23 12:44   ` Richard Fontana
@ 2019-05-23 22:18   ` Allison Randal
  2019-05-24  1:10   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Allison Randal @ 2019-05-23 22:18 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/23/19 5:14 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   the sctp reference implementation 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 or at your option any later version the sctp reference
>   implementation is distributed in the hope that it will be useful but
>   without 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 gnu cc see the
>   file copying if not see http www gnu org licenses
> 
> 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).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=abf587f88d5d
> ---
>  include/net/sctp/checksum.h |   17 +----------------
>  1 file changed, 1 insertion(+), 16 deletions(-)
> 
> --- a/include/net/sctp/checksum.h
> +++ b/include/net/sctp/checksum.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel reference Implementation
>   * Copyright (c) 1999-2001 Motorola, Inc.
>   * Copyright (c) 2001-2003 International Business Machines, Corp.
> @@ -6,22 +7,6 @@
>   *
>   * SCTP Checksum functions
>   *
> - * The SCTP reference implementation 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, or (at your option)
> - * any later version.
> - *
> - * The SCTP reference implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> 
> 

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

* Re: [Batch 5 - patch 02/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 102
  2019-05-23  9:14 ` [Batch 5 - patch 02/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 102 Thomas Gleixner
  2019-05-23 12:08   ` Richard Fontana
@ 2019-05-23 22:18   ` Allison Randal
  2019-05-24  1:10   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Allison Randal @ 2019-05-23 22:18 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/23/19 5:14 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   this program is free software you can redistribute it and or modify
>   it under the terms of the gnu general public license as published by
>   the free software foundation either version 2 of the license or at
>   your option any later version this program is distributed in the
>   hope that it will be useful but without any warranty without even
>   the implied warranty of merchantability or fitness for a particular
>   purpose see the gnu general public license for more details you
>   should have received a copy of the gnu general public license along
>   with this program if not write to the free software foundation inc
>   51 franklin st fifth floor boston ma 02110 1301 usa
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 50 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=8c3596c19e1f
> ---
>  arch/arm/mach-imx/iomux-v1.c                   |   15 +--------------
>  arch/mips/alchemy/board-gpr.c                  |   15 +--------------
>  arch/mips/alchemy/board-mtx1.c                 |   15 +--------------
>  arch/mips/alchemy/board-xxs1500.c              |   15 +--------------
>  arch/mips/alchemy/devboards/db1000.c           |   15 +--------------
>  arch/mips/alchemy/devboards/db1200.c           |   15 +--------------
>  arch/mips/ar7/clock.c                          |   15 +--------------
>  arch/mips/ar7/gpio.c                           |   15 +--------------
>  arch/mips/ar7/irq.c                            |   15 +--------------
>  arch/mips/ar7/memory.c                         |   15 +--------------
>  arch/mips/ar7/platform.c                       |   15 +--------------
>  arch/mips/include/asm/mach-ar7/ar7.h           |   15 +--------------
>  arch/mips/include/asm/mach-ar7/prom.h          |   15 +--------------
>  arch/mips/lasat/serial.c                       |   15 +--------------
>  arch/x86/kernel/paravirt.c                     |   14 +-------------
>  arch/x86/kernel/pvclock.c                      |   14 +-------------
>  crypto/async_tx/async_raid6_recov.c            |   16 +---------------
>  drivers/char/hw_random/virtio-rng.c            |   15 +--------------
>  drivers/gpu/drm/drm_edid_load.c                |   14 +-------------
>  drivers/hwmon/hih6130.c                        |   15 +--------------
>  drivers/hwmon/sht21.c                          |   15 +--------------
>  drivers/mtd/ar7part.c                          |   16 +---------------
>  drivers/mtd/bcm63xxpart.c                      |   16 +---------------
>  drivers/mtd/cmdlinepart.c                      |   15 +--------------
>  drivers/mtd/mtd_blkdevs.c                      |   16 +---------------
>  drivers/mtd/mtdblock.c                         |   16 +---------------
>  drivers/mtd/mtdblock_ro.c                      |   16 +---------------
>  drivers/mtd/mtdchar.c                          |   16 +---------------
>  drivers/mtd/mtdconcat.c                        |   16 +---------------
>  drivers/mtd/mtdcore.c                          |   16 +---------------
>  drivers/mtd/mtdpart.c                          |   16 +---------------
>  drivers/mtd/parsers/redboot.c                  |   16 +---------------
>  drivers/virtio/virtio_balloon.c                |   15 +--------------
>  drivers/virtio/virtio_ring.c                   |   15 +--------------
>  drivers/vlynq/vlynq.c                          |   15 +--------------
>  include/linux/mtd/bbm.h                        |   16 +---------------
>  include/linux/mtd/blktrans.h                   |   16 +---------------
>  include/linux/mtd/cfi.h                        |   16 +---------------
>  include/linux/mtd/cfi_endian.h                 |   16 +---------------
>  include/linux/mtd/concat.h                     |   16 +---------------
>  include/linux/mtd/doc2000.h                    |   16 +---------------
>  include/linux/mtd/flashchip.h                  |   16 +---------------
>  include/linux/mtd/gen_probe.h                  |   16 +---------------
>  include/linux/mtd/map.h                        |   16 +---------------
>  include/linux/mtd/mtd.h                        |   16 +---------------
>  include/linux/mtd/nftl.h                       |   16 +---------------
>  include/linux/platform_data/media/camera-mx2.h |   15 +--------------
>  include/linux/vlynq.h                          |   15 +--------------
>  sound/drivers/mts64.c                          |   16 +---------------
>  49 files changed, 49 insertions(+), 706 deletions(-)
> 
> --- a/arch/arm/mach-imx/iomux-v1.c
> +++ b/arch/arm/mach-imx/iomux-v1.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * arch/arm/plat-mxc/iomux-v1.c
>   *
> @@ -5,20 +6,6 @@
>   * Copyright (C) 2009 Uwe Kleine-Koenig, Pengutronix
>   *
>   * Common code for i.MX1, i.MX21 and i.MX27
> - *
> - * 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 St, Fifth Floor, Boston, MA 02110-1301, USA.
>   */
>  
>  #include <linux/errno.h>
> --- a/arch/mips/alchemy/board-gpr.c
> +++ b/arch/mips/alchemy/board-gpr.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * GPR board platform device registration (Au1550)
>   *
>   * Copyright (C) 2010 Wolfgang Grandegger <wg@denx.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) 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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>  
>  #include <linux/delay.h>
> --- a/arch/mips/alchemy/board-mtx1.c
> +++ b/arch/mips/alchemy/board-mtx1.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * MTX-1 platform devices registration (Au1500)
>   *
>   * Copyright (C) 2007-2009, Florian Fainelli <florian@openwrt.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>  
>  #include <linux/init.h>
> --- a/arch/mips/alchemy/board-xxs1500.c
> +++ b/arch/mips/alchemy/board-xxs1500.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * BRIEF MODULE DESCRIPTION
>   *	MyCable XXS1500 board support
>   *
>   * Copyright 2003, 2008 MontaVista Software Inc.
>   * Author: MontaVista Software, Inc. <source@mvista.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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>  
>  #include <linux/kernel.h>
> --- a/arch/mips/alchemy/devboards/db1000.c
> +++ b/arch/mips/alchemy/devboards/db1000.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * DBAu1000/1500/1100 PBAu1100/1500 board support
>   *
>   * Copyright 2000, 2008 MontaVista Software Inc.
>   * Author: MontaVista Software, Inc. <source@mvista.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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>  
>  #include <linux/clk.h>
> --- a/arch/mips/alchemy/devboards/db1200.c
> +++ b/arch/mips/alchemy/devboards/db1200.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * DBAu1200/PBAu1200 board platform device registration
>   *
>   * Copyright (C) 2008-2011 Manuel Lauss
> - *
> - * 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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>  
>  #include <linux/clk.h>
> --- a/arch/mips/ar7/clock.c
> +++ b/arch/mips/ar7/clock.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2007 Felix Fietkau <nbd@openwrt.org>
>   * Copyright (C) 2007 Eugene Konev <ejka@openwrt.org>
>   * Copyright (C) 2009 Florian Fainelli <florian@openwrt.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>  
>  #include <linux/kernel.h>
> --- a/arch/mips/ar7/gpio.c
> +++ b/arch/mips/ar7/gpio.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2007 Felix Fietkau <nbd@openwrt.org>
>   * Copyright (C) 2007 Eugene Konev <ejka@openwrt.org>
>   * Copyright (C) 2009-2010 Florian Fainelli <florian@openwrt.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>  
>  #include <linux/init.h>
> --- a/arch/mips/ar7/irq.c
> +++ b/arch/mips/ar7/irq.c
> @@ -1,20 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2006,2007 Felix Fietkau <nbd@openwrt.org>
>   * Copyright (C) 2006,2007 Eugene Konev <ejka@openwrt.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>  
>  #include <linux/interrupt.h>
> --- a/arch/mips/ar7/memory.c
> +++ b/arch/mips/ar7/memory.c
> @@ -1,20 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2007 Felix Fietkau <nbd@openwrt.org>
>   * Copyright (C) 2007 Eugene Konev <ejka@openwrt.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>  #include <linux/memblock.h>
>  #include <linux/init.h>
> --- a/arch/mips/ar7/platform.c
> +++ b/arch/mips/ar7/platform.c
> @@ -1,20 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2006,2007 Felix Fietkau <nbd@openwrt.org>
>   * Copyright (C) 2006,2007 Eugene Konev <ejka@openwrt.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>  
>  #include <linux/init.h>
> --- a/arch/mips/include/asm/mach-ar7/ar7.h
> +++ b/arch/mips/include/asm/mach-ar7/ar7.h
> @@ -1,20 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright (C) 2006,2007 Felix Fietkau <nbd@openwrt.org>
>   * Copyright (C) 2006,2007 Eugene Konev <ejka@openwrt.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>  
>  #ifndef __AR7_H__
> --- a/arch/mips/include/asm/mach-ar7/prom.h
> +++ b/arch/mips/include/asm/mach-ar7/prom.h
> @@ -1,19 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright (C) 2006, 2007 Florian Fainelli <florian@openwrt.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>  
>  #ifndef __PROM_H__
> --- a/arch/mips/lasat/serial.c
> +++ b/arch/mips/lasat/serial.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *  Registration of Lasat UART platform device.
>   *
>   *  Copyright (C) 2007	Brian Murphy <brian@murphy.dk>
> - *
> - *  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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>  #include <linux/errno.h>
>  #include <linux/init.h>
> --- a/arch/x86/kernel/paravirt.c
> +++ b/arch/x86/kernel/paravirt.c
> @@ -1,19 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*  Paravirtualization interfaces
>      Copyright (C) 2006 Rusty Russell IBM Corporation
>  
> -    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 St, Fifth Floor, Boston, MA  02110-1301  USA
>  
>      2007 - x86_64 support added by Glauber de Oliveira Costa, Red Hat Inc
>  */
> --- a/arch/x86/kernel/pvclock.c
> +++ b/arch/x86/kernel/pvclock.c
> @@ -1,18 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*  paravirtual clock -- common code used by kvm/xen
>  
> -    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 St, Fifth Floor, Boston, MA  02110-1301  USA
>  */
>  
>  #include <linux/kernel.h>
> --- a/crypto/async_tx/async_raid6_recov.c
> +++ b/crypto/async_tx/async_raid6_recov.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Asynchronous RAID-6 recovery calculations ASYNC_TX API.
>   * Copyright(c) 2009 Intel Corporation
>   *
>   * based on raid6recov.c:
>   *   Copyright 2002 H. Peter Anvin
> - *
> - * 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 St - Fifth Floor, Boston, MA 02110-1301 USA.
> - *
>   */
>  #include <linux/kernel.h>
>  #include <linux/interrupt.h>
> --- a/drivers/char/hw_random/virtio-rng.c
> +++ b/drivers/char/hw_random/virtio-rng.c
> @@ -1,20 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Randomness driver for virtio
>   *  Copyright (C) 2007, 2008 Rusty Russell IBM Corporation
> - *
> - *  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 St, Fifth Floor, Boston, MA  02110-1301 USA
>   */
>  
>  #include <linux/err.h>
> --- a/drivers/gpu/drm/drm_edid_load.c
> +++ b/drivers/gpu/drm/drm_edid_load.c
> @@ -1,22 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>     drm_edid_load.c: use a built-in EDID data set or load it via the firmware
>  		    interface
>  
>     Copyright (C) 2012 Carsten Emde <C.Emde@osadl.org>
>  
> -   This program is free software; you can redistribute it and/or
> -   modify it under the terms of the GNU General Public License
> -   as published by the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA.
>  */
>  
>  #include <linux/module.h>
> --- a/drivers/hwmon/hih6130.c
> +++ b/drivers/hwmon/hih6130.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Honeywell HIH-6130/HIH-6131 humidity and temperature sensor driver
>   *
>   * Copyright (C) 2012 Iain Paton <ipaton0@gmail.com>
> @@ -5,20 +6,6 @@
>   * heavily based on the sht21 driver
>   * Copyright (C) 2010 Urs Fleisch <urs.fleisch@sensirion.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 St - Fifth Floor, Boston, MA 02110-1301 USA
> - *
>   * Data sheets available (2012-06-22) at
>   * http://sensing.honeywell.com/index.php?ci_id=3106&la_id=1&defId=44872
>   */
> --- a/drivers/hwmon/sht21.c
> +++ b/drivers/hwmon/sht21.c
> @@ -1,21 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Sensirion SHT21 humidity and temperature sensor driver
>   *
>   * Copyright (C) 2010 Urs Fleisch <urs.fleisch@sensirion.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 St - Fifth Floor, Boston, MA 02110-1301 USA
> - *
>   * Data sheet available at http://www.sensirion.com/file/datasheet_sht21
>   */
>  
> --- a/drivers/mtd/ar7part.c
> +++ b/drivers/mtd/ar7part.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright © 2007 Eugene Konev <ejka@openwrt.org>
>   *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   * TI AR7 flash partition table.
>   * Based on ar7 map by Felix Fietkau <nbd@openwrt.org>
> - *
>   */
>  
>  #include <linux/kernel.h>
> --- a/drivers/mtd/bcm63xxpart.c
> +++ b/drivers/mtd/bcm63xxpart.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * BCM63XX CFE image tag parser
>   *
> @@ -5,21 +6,6 @@
>   *			  Mike Albon <malbon@openwrt.org>
>   * Copyright © 2009-2010  Daniel Dickinson <openwrt@cshore.neomailbox.net>
>   * Copyright © 2011-2013  Jonas Gorski <jonas.gorski@gmail.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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>  
>  #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/drivers/mtd/cmdlinepart.c
> +++ b/drivers/mtd/cmdlinepart.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Read flash partition table from command line
>   *
>   * Copyright © 2002      SYSGO Real-Time Solutions GmbH
>   * Copyright © 2002-2010 David Woodhouse <dwmw2@infradead.org>
>   *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   * The format for the command line is as follows:
>   *
>   * mtdparts=<mtddef>[;<mtddef]
> --- a/drivers/mtd/mtd_blkdevs.c
> +++ b/drivers/mtd/mtd_blkdevs.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Interface to Linux block layer for MTD 'translation layers'.
>   *
>   * Copyright © 2003-2010 David Woodhouse <dwmw2@infradead.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>  
>  #include <linux/kernel.h>
> --- a/drivers/mtd/mtdblock.c
> +++ b/drivers/mtd/mtdblock.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Direct MTD block device access
>   *
>   * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
>   * Copyright © 2000-2003 Nicolas Pitre <nico@fluxnic.net>
> - *
> - * 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>  
>  #include <linux/fs.h>
> --- a/drivers/mtd/mtdblock_ro.c
> +++ b/drivers/mtd/mtdblock_ro.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Simple read-only (writable only for RAM) mtdblock driver
>   *
>   * Copyright © 2001-2010 David Woodhouse <dwmw2@infradead.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>  
>  #include <linux/init.h>
> --- a/drivers/mtd/mtdchar.c
> +++ b/drivers/mtd/mtdchar.c
> @@ -1,20 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>  
>  #include <linux/device.h>
> --- a/drivers/mtd/mtdconcat.c
> +++ b/drivers/mtd/mtdconcat.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * MTD device concatenation layer
>   *
> @@ -5,21 +6,6 @@
>   * Copyright © 2002-2010 David Woodhouse <dwmw2@infradead.org>
>   *
>   * NAND support by Christian Gan <cgan@iders.ca>
> - *
> - * 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>  
>  #include <linux/kernel.h>
> --- a/drivers/mtd/mtdcore.c
> +++ b/drivers/mtd/mtdcore.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Core registration and callback routines for MTD
>   * drivers and users.
>   *
>   * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
>   * Copyright © 2006      Red Hat UK Limited 
> - *
> - * 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>  
>  #include <linux/module.h>
> --- a/drivers/mtd/mtdpart.c
> +++ b/drivers/mtd/mtdpart.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Simple MTD partitioning layer
>   *
>   * Copyright © 2000 Nicolas Pitre <nico@fluxnic.net>
>   * Copyright © 2002 Thomas Gleixner <gleixner@linutronix.de>
>   * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>  
>  #include <linux/module.h>
> --- a/drivers/mtd/parsers/redboot.c
> +++ b/drivers/mtd/parsers/redboot.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Parse RedBoot-style Flash Image System (FIS) tables and
>   * produce a Linux partition array to match.
>   *
>   * Copyright © 2001      Red Hat UK Limited
>   * Copyright © 2001-2010 David Woodhouse <dwmw2@infradead.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>  
>  #include <linux/kernel.h>
> --- a/drivers/virtio/virtio_balloon.c
> +++ b/drivers/virtio/virtio_balloon.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Virtio balloon implementation, inspired by Dor Laor and Marcelo
>   * Tosatti's implementations.
>   *
>   *  Copyright 2008 Rusty Russell IBM Corporation
> - *
> - *  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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>  
>  #include <linux/virtio.h>
> --- a/drivers/virtio/virtio_ring.c
> +++ b/drivers/virtio/virtio_ring.c
> @@ -1,20 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* Virtio ring implementation.
>   *
>   *  Copyright 2007 Rusty Russell IBM Corporation
> - *
> - *  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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>  #include <linux/virtio.h>
>  #include <linux/virtio_ring.h>
> --- a/drivers/vlynq/vlynq.c
> +++ b/drivers/vlynq/vlynq.c
> @@ -1,20 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2006, 2007 Eugene Konev <ejka@openwrt.org>
>   *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   * Parts of the VLYNQ specification can be found here:
>   * http://www.ti.com/litv/pdf/sprue36a
>   */
> --- a/include/linux/mtd/bbm.h
> +++ b/include/linux/mtd/bbm.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   *  NAND family Bad Block Management (BBM) header file
>   *    - Bad Block Table (BBT) implementation
> @@ -7,21 +8,6 @@
>   *
>   *  Copyright © 2000-2005
>   *  Thomas Gleixner <tglx@linuxtronix.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) 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>  #ifndef __LINUX_MTD_BBM_H
>  #define __LINUX_MTD_BBM_H
> --- a/include/linux/mtd/blktrans.h
> +++ b/include/linux/mtd/blktrans.h
> @@ -1,20 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright © 2003-2010 David Woodhouse <dwmw2@infradead.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>  
>  #ifndef __MTD_TRANS_H__
> --- a/include/linux/mtd/cfi.h
> +++ b/include/linux/mtd/cfi.h
> @@ -1,20 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> et al.
> - *
> - * 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>  
>  #ifndef __MTD_CFI_H__
> --- a/include/linux/mtd/cfi_endian.h
> +++ b/include/linux/mtd/cfi_endian.h
> @@ -1,20 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright © 2001-2010 David Woodhouse <dwmw2@infradead.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>  
>  #include <asm/byteorder.h>
> --- a/include/linux/mtd/concat.h
> +++ b/include/linux/mtd/concat.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * MTD device concatenation layer definitions
>   *
>   * Copyright © 2002      Robert Kaiser <rkaiser@sysgo.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) 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>  
>  #ifndef MTD_CONCAT_H
> --- a/include/linux/mtd/doc2000.h
> +++ b/include/linux/mtd/doc2000.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Linux driver for Disk-On-Chip devices
>   *
> @@ -5,21 +6,6 @@
>   * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
>   * Copyright © 2002-2003 Greg Ungerer <gerg@snapgear.com>
>   * Copyright © 2002-2003 SnapGear 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, 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>  
>  #ifndef __MTD_DOC2000_H__
> --- a/include/linux/mtd/flashchip.h
> +++ b/include/linux/mtd/flashchip.h
> @@ -1,21 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright © 2000      Red Hat UK Limited
>   * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>  
>  #ifndef __MTD_FLASHCHIP_H__
> --- a/include/linux/mtd/gen_probe.h
> +++ b/include/linux/mtd/gen_probe.h
> @@ -1,21 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright © 2001      Red Hat UK Limited
>   * Copyright © 2001-2010 David Woodhouse <dwmw2@infradead.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>  
>  #ifndef __LINUX_MTD_GEN_PROBE_H__
> --- a/include/linux/mtd/map.h
> +++ b/include/linux/mtd/map.h
> @@ -1,20 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> et al.
> - *
> - * 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>  
>  /* Overhauled routines for dealing with different mmap regions of flash */
> --- a/include/linux/mtd/mtd.h
> +++ b/include/linux/mtd/mtd.h
> @@ -1,20 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> et al.
> - *
> - * 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>  
>  #ifndef __MTD_MTD_H__
> --- a/include/linux/mtd/nftl.h
> +++ b/include/linux/mtd/nftl.h
> @@ -1,20 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>  
>  #ifndef __MTD_NFTL_H__
> --- a/include/linux/platform_data/media/camera-mx2.h
> +++ b/include/linux/platform_data/media/camera-mx2.h
> @@ -1,23 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * mx2-cam.h - i.MX27/i.MX25 camera driver header file
>   *
>   * Copyright (C) 2003, Intel Corporation
>   * Copyright (C) 2008, Sascha Hauer <s.hauer@pengutronix.de>
>   * Copyright (C) 2010, Baruch Siach <baruch@tkos.co.il>
> - *
> - * 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 St - Fifth Floor, Boston, MA 02110-1301 USA.
>   */
>  
>  #ifndef __MACH_MX2_CAM_H_
> --- a/include/linux/vlynq.h
> +++ b/include/linux/vlynq.h
> @@ -1,19 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright (C) 2006, 2007 Eugene Konev <ejka@openwrt.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; 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 St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>  
>  #ifndef __VLYNQ_H__
> --- a/sound/drivers/mts64.c
> +++ b/sound/drivers/mts64.c
> @@ -1,21 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*     
>   *   ALSA Driver for Ego Systems Inc. (ESI) Miditerminal 4140
>   *   Copyright (c) 2006 by Matthias König <mk@phasorlab.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) 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 St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>  
>  #include <linux/init.h>
> 
> 

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

* Re: [Batch 5 - patch 03/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 103
  2019-05-23  9:14 ` [Batch 5 - patch 03/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 103 Thomas Gleixner
  2019-05-23 12:52   ` Richard Fontana
@ 2019-05-23 22:19   ` Allison Randal
  2019-05-24  1:11   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Allison Randal @ 2019-05-23 22:19 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/23/19 5:14 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   the sctp implementation 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 or at
>   your option any later version the sctp implementation is distributed
>   in the hope that it will be useful but without 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 gnu cc see the file copying if not see http www
>   gnu org licenses
> 
> 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).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=c2b42ff8d9db
> ---
>  net/sctp/endpointola.c |   17 +----------------
>  1 file changed, 1 insertion(+), 16 deletions(-)
> 
> --- a/net/sctp/endpointola.c
> +++ b/net/sctp/endpointola.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * Copyright (c) 1999-2000 Cisco, Inc.
>   * Copyright (c) 1999-2001 Motorola, Inc.
> @@ -10,22 +11,6 @@
>   *
>   * This abstraction represents an SCTP endpoint.
>   *
> - * The SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * The SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> 
> 

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

* Re: [Batch 5 - patch 04/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 104
  2019-05-23  9:14 ` [Batch 5 - patch 04/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 104 Thomas Gleixner
  2019-05-23 12:41   ` Richard Fontana
@ 2019-05-23 22:20   ` Allison Randal
  2019-05-24  1:12   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Allison Randal @ 2019-05-23 22:20 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/23/19 5:14 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   this sctp implementation 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 or at
>   your option any later version this sctp implementation is
>   distributed in the hope that it will be useful but without 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 gnu cc see the file copying if not see
>   http www gnu org licenses
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 42 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=d14e4ff614c0
> ---
>  include/linux/sctp.h                 |   17 +----------------
>  include/net/sctp/auth.h              |   17 +----------------
>  include/net/sctp/command.h           |   17 +----------------
>  include/net/sctp/constants.h         |   17 +----------------
>  include/net/sctp/sctp.h              |   17 +----------------
>  include/net/sctp/sm.h                |   17 +----------------
>  include/net/sctp/stream_interleave.h |   17 +----------------
>  include/net/sctp/stream_sched.h      |   17 +----------------
>  include/net/sctp/structs.h           |   17 +----------------
>  include/net/sctp/tsnmap.h            |   17 +----------------
>  include/net/sctp/ulpevent.h          |   17 +----------------
>  include/net/sctp/ulpqueue.h          |   17 +----------------
>  net/sctp/associola.c                 |   17 +----------------
>  net/sctp/auth.c                      |   17 +----------------
>  net/sctp/bind_addr.c                 |   17 +----------------
>  net/sctp/chunk.c                     |   17 +----------------
>  net/sctp/debug.c                     |   17 +----------------
>  net/sctp/diag.c                      |   17 +----------------
>  net/sctp/input.c                     |   17 +----------------
>  net/sctp/inqueue.c                   |   17 +----------------
>  net/sctp/ipv6.c                      |   17 +----------------
>  net/sctp/objcnt.c                    |   17 +----------------
>  net/sctp/output.c                    |   17 +----------------
>  net/sctp/outqueue.c                  |   17 +----------------
>  net/sctp/primitive.c                 |   17 +----------------
>  net/sctp/proc.c                      |   17 +----------------
>  net/sctp/protocol.c                  |   17 +----------------
>  net/sctp/sm_make_chunk.c             |   17 +----------------
>  net/sctp/sm_sideeffect.c             |   17 +----------------
>  net/sctp/sm_statefuns.c              |   17 +----------------
>  net/sctp/sm_statetable.c             |   17 +----------------
>  net/sctp/socket.c                    |   17 +----------------
>  net/sctp/stream.c                    |   17 +----------------
>  net/sctp/stream_interleave.c         |   17 +----------------
>  net/sctp/stream_sched.c              |   17 +----------------
>  net/sctp/stream_sched_prio.c         |   17 +----------------
>  net/sctp/stream_sched_rr.c           |   17 +----------------
>  net/sctp/sysctl.c                    |   17 +----------------
>  net/sctp/transport.c                 |   17 +----------------
>  net/sctp/tsnmap.c                    |   17 +----------------
>  net/sctp/ulpevent.c                  |   17 +----------------
>  net/sctp/ulpqueue.c                  |   17 +----------------
>  42 files changed, 42 insertions(+), 672 deletions(-)
> 
> --- a/include/linux/sctp.h
> +++ b/include/linux/sctp.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel reference Implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -10,22 +11,6 @@
>   *
>   * Various protocol defined structures.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/include/net/sctp/auth.h
> +++ b/include/net/sctp/auth.h
> @@ -1,24 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel implementation
>   * (C) Copyright 2007 Hewlett-Packard Development Company, L.P.
>   *
>   * This file is part of the SCTP kernel implementation
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/include/net/sctp/command.h
> +++ b/include/net/sctp/command.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel Implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (C) 1999-2001 Cisco, Motorola
> @@ -6,22 +7,6 @@
>   *
>   * These are the definitions needed for the command object.
>   *
> - * This SCTP implementation  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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation  is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/include/net/sctp/constants.h
> +++ b/include/net/sctp/constants.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -6,22 +7,6 @@
>   *
>   * This file is part of the SCTP kernel implementation
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/include/net/sctp/sctp.h
> +++ b/include/net/sctp/sctp.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -8,22 +9,6 @@
>   *
>   * The base lksctp header.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/include/net/sctp/sm.h
> +++ b/include/net/sctp/sm.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -8,22 +9,6 @@
>   *
>   * These are definitions needed by the state machine.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email addresses:
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/include/net/sctp/stream_interleave.h
> +++ b/include/net/sctp/stream_interleave.h
> @@ -1,25 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel implementation
>   * (C) Copyright Red Hat Inc. 2017
>   *
>   * These are definitions used by the stream schedulers, defined in RFC
>   * draft ndata (https://tools.ietf.org/html/draft-ietf-tsvwg-sctp-ndata-11)
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation  is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email addresses:
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/include/net/sctp/stream_sched.h
> +++ b/include/net/sctp/stream_sched.h
> @@ -1,25 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel implementation
>   * (C) Copyright Red Hat Inc. 2017
>   *
>   * These are definitions used by the stream schedulers, defined in RFC
>   * draft ndata (https://tools.ietf.org/html/draft-ietf-tsvwg-sctp-ndata-11)
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation  is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email addresses:
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/include/net/sctp/structs.h
> +++ b/include/net/sctp/structs.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -6,22 +7,6 @@
>   *
>   * This file is part of the SCTP kernel implementation
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email addresses:
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/include/net/sctp/tsnmap.h
> +++ b/include/net/sctp/tsnmap.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -9,22 +10,6 @@
>   * These are the definitions needed for the tsnmap type.  The tsnmap is used
>   * to track out of order TSNs received.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/include/net/sctp/ulpevent.h
> +++ b/include/net/sctp/ulpevent.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -12,22 +13,6 @@
>   *
>   * This file is part of the SCTP kernel implementation
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/include/net/sctp/ulpqueue.h
> +++ b/include/net/sctp/ulpqueue.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -11,22 +12,6 @@
>   * and the core SCTP state machine.  This is the component which handles
>   * reassembly and ordering.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation  is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email addresses:
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/associola.c
> +++ b/net/sctp/associola.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -9,22 +10,6 @@
>   *
>   * This module provides the abstraction for an SCTP association.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/auth.c
> +++ b/net/sctp/auth.c
> @@ -1,24 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright 2007 Hewlett-Packard Development Company, L.P.
>   *
>   * This file is part of the SCTP kernel implementation
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/bind_addr.c
> +++ b/net/sctp/bind_addr.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2003
>   * Copyright (c) Cisco 1999,2000
> @@ -8,22 +9,6 @@
>   *
>   * A collection class to handle the storage of transport addresses.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/chunk.c
> +++ b/net/sctp/chunk.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2003, 2004
>   *
> @@ -5,22 +6,6 @@
>   *
>   * This file contains the code relating the chunk abstraction.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/debug.c
> +++ b/net/sctp/debug.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -9,22 +10,6 @@
>   * This file converts numerical ID value to alphabetical names for SCTP
>   * terms such as chunk type, parameter time, event type, etc.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/diag.c
> +++ b/net/sctp/diag.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright Red Hat Inc. 2017
>   *
> @@ -5,22 +6,6 @@
>   *
>   * These functions implement sctp diag support.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email addresched(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/input.c
> +++ b/net/sctp/input.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * Copyright (c) 1999-2000 Cisco, Inc.
>   * Copyright (c) 1999-2001 Motorola, Inc.
> @@ -10,22 +11,6 @@
>   *
>   * These functions handle all input from the IP layer into SCTP.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/inqueue.c
> +++ b/net/sctp/inqueue.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * Copyright (c) 1999-2000 Cisco, Inc.
>   * Copyright (c) 1999-2001 Motorola, Inc.
> @@ -11,22 +12,6 @@
>   * (which might be bundles or fragments of chunks) and out of which you
>   * pop SCTP whole chunks.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/ipv6.c
> +++ b/net/sctp/ipv6.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2002, 2004
>   * Copyright (c) 2001 Nokia, Inc.
> @@ -8,22 +9,6 @@
>   *
>   * SCTP over IPv6.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/objcnt.c
> +++ b/net/sctp/objcnt.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   *
> @@ -7,22 +8,6 @@
>   * object allocations/deallocations for types instrumented for this
>   * via the proc fs.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/output.c
> +++ b/net/sctp/output.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -7,22 +8,6 @@
>   *
>   * These functions handle output processing.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/outqueue.c
> +++ b/net/sctp/outqueue.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -9,22 +10,6 @@
>   * These functions implement the sctp_outq class.   The outqueue handles
>   * bundling and queueing of outgoing SCTP chunks.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/primitive.c
> +++ b/net/sctp/primitive.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * Copyright (c) 1999-2000 Cisco, Inc.
>   * Copyright (c) 1999-2001 Motorola, Inc.
> @@ -10,22 +11,6 @@
>   * functions--this file is the functions which populate the struct proto
>   * for SCTP which is the BOTTOM of the sockets interface.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/proc.c
> +++ b/net/sctp/proc.c
> @@ -1,24 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * Copyright (c) 2003 International Business Machines, Corp.
>   *
>   * This file is part of the SCTP kernel implementation
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/protocol.c
> +++ b/net/sctp/protocol.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -10,22 +11,6 @@
>   *
>   * Initialization/cleanup for SCTP protocol support.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/sm_make_chunk.c
> +++ b/net/sctp/sm_make_chunk.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -10,22 +11,6 @@
>   * to implement the state operations.  These functions implement the
>   * steps which require modifying existing data structures.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/sm_sideeffect.c
> +++ b/net/sctp/sm_sideeffect.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999 Cisco, Inc.
> @@ -9,22 +10,6 @@
>   * to implement that state operations.  These functions implement the
>   * steps which require modifying existing data structures.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/sm_statefuns.c
> +++ b/net/sctp/sm_statefuns.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -9,22 +10,6 @@
>   *
>   * These are the state functions for the state machine.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/sm_statetable.c
> +++ b/net/sctp/sm_statetable.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -9,22 +10,6 @@
>   *
>   * These are the state tables for the SCTP state machine.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/socket.c
> +++ b/net/sctp/socket.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -15,22 +16,6 @@
>   * functions--this file is the functions which populate the struct proto
>   * for SCTP which is the BOTTOM of the sockets interface.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/stream.c
> +++ b/net/sctp/stream.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -8,22 +9,6 @@
>   *
>   * This file contains sctp stream maniuplation primitives and helpers.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/stream_interleave.c
> +++ b/net/sctp/stream_interleave.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright Red Hat Inc. 2017
>   *
> @@ -6,22 +7,6 @@
>   * These functions implement sctp stream message interleaving, mostly
>   * including I-DATA and I-FORWARD-TSN chunks process.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email addresched(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/stream_sched.c
> +++ b/net/sctp/stream_sched.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright Red Hat Inc. 2017
>   *
> @@ -5,22 +6,6 @@
>   *
>   * These functions manipulate sctp stream queue/scheduling.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email addresched(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/stream_sched_prio.c
> +++ b/net/sctp/stream_sched_prio.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright Red Hat Inc. 2017
>   *
> @@ -5,22 +6,6 @@
>   *
>   * These functions manipulate sctp stream queue/scheduling.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email addresched(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/stream_sched_rr.c
> +++ b/net/sctp/stream_sched_rr.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright Red Hat Inc. 2017
>   *
> @@ -5,22 +6,6 @@
>   *
>   * These functions manipulate sctp stream queue/scheduling.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email addresched(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/sysctl.c
> +++ b/net/sctp/sysctl.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2002, 2004
>   * Copyright (c) 2002 Intel Corp.
> @@ -6,22 +7,6 @@
>   *
>   * Sysctl related interfaces for SCTP.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/transport.c
> +++ b/net/sctp/transport.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * Copyright (c) 1999-2000 Cisco, Inc.
>   * Copyright (c) 1999-2001 Motorola, Inc.
> @@ -11,22 +12,6 @@
>   * a remote transport address.  For local transport addresses, we just use
>   * union sctp_addr.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/tsnmap.c
> +++ b/net/sctp/tsnmap.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -8,22 +9,6 @@
>   *
>   * These functions manipulate sctp tsn mapping array.
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/ulpevent.c
> +++ b/net/sctp/ulpevent.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -9,22 +10,6 @@
>   * These functions manipulate an sctp event.   The struct ulpevent is used
>   * to carry notifications and data to the ULP (sockets).
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> --- a/net/sctp/ulpqueue.c
> +++ b/net/sctp/ulpqueue.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* SCTP kernel implementation
>   * (C) Copyright IBM Corp. 2001, 2004
>   * Copyright (c) 1999-2000 Cisco, Inc.
> @@ -8,22 +9,6 @@
>   *
>   * This abstraction carries sctp events to the ULP (sockets).
>   *
> - * This SCTP implementation 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, or (at your option)
> - * any later version.
> - *
> - * This SCTP implementation is distributed in the hope that it
> - * will be useful, but WITHOUT 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 GNU CC; see the file COPYING.  If not, see
> - * <http://www.gnu.org/licenses/>.
> - *
>   * Please send any bug reports or fixes you make to the
>   * email address(es):
>   *    lksctp developers <linux-sctp@vger.kernel.org>
> 
> 

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

* Re: [Batch 5 - patch 05/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 105
  2019-05-23  9:14 ` [Batch 5 - patch 05/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 105 Thomas Gleixner
  2019-05-23 11:44   ` Richard Fontana
@ 2019-05-23 22:21   ` Allison Randal
  2019-05-24  1:12   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Allison Randal @ 2019-05-23 22:21 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/23/19 5:14 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   this program is free software you can redistribute it and or modify
>   it under the terms of the gnu general public license as published by
>   the free software foundation either version 2 of the license or at
>   your option any later version author [hema] [hk] [hemahk]@[ti] [com]
>   this program is distributed in the hope that it will be useful but
>   without 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 675 mass ave cambridge
>   ma 02139 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 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=e7f98ed85d4c
> ---
>  arch/arm/mach-omap2/omap_phy_internal.c |   16 +---------------
>  1 file changed, 1 insertion(+), 15 deletions(-)
> 
> --- a/arch/arm/mach-omap2/omap_phy_internal.c
> +++ b/arch/arm/mach-omap2/omap_phy_internal.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>    * This file configures the internal USB PHY in OMAP4430. Used
>    * with TWL6030 transceiver and MUSB on OMAP4430.
>    *
>    * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.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.
> -  *
>    * Author: Hema HK <hemahk@ti.com>
> -  *
> -  * This program is distributed in the hope that it will be useful,
> -  * but WITHOUT 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., 675 Mass Ave, Cambridge, MA 02139, USA.
> -  *
>    */
>  
>  #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> 
> 

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

* Re: [Batch 5 - patch 06/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 106
  2019-05-23  9:14 ` [Batch 5 - patch 06/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 106 Thomas Gleixner
  2019-05-23 11:45   ` Richard Fontana
@ 2019-05-23 22:21   ` Allison Randal
  2019-05-24  1:13   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Allison Randal @ 2019-05-23 22:21 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/23/19 5:14 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   this program is free software you can redistribute it and or modify
>   it under the terms of the gnu general public license as published by
>   the free software foundation either version 2 of the license or at
>   your option any later version this software is distributed in the
>   hope that it will be useful but without 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 atmel wireless lan drivers if not see http www gnu org licenses
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 2 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=2824b6c340b2
> ---
>  drivers/net/wireless/atmel/atmel.h     |   14 +-------------
>  drivers/net/wireless/atmel/atmel_pci.c |   14 +-------------
>  2 files changed, 2 insertions(+), 26 deletions(-)
> 
> --- a/drivers/net/wireless/atmel/atmel.h
> +++ b/drivers/net/wireless/atmel/atmel.h
> @@ -1,22 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*** -*- linux-c -*- **********************************************************
>  
>       Driver for Atmel at76c502 at76c504 and at76c506 wireless cards.
>  
>           Copyright 2005 Dan Williams and Red Hat, 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, or
> -    (at your option) any later version.
> -
> -    This software is distributed in the hope that it will be useful,
> -    but WITHOUT 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 Atmel wireless lan drivers; if not, see
> -    <http://www.gnu.org/licenses/>.
>  
>  ******************************************************************************/
>  
> --- a/drivers/net/wireless/atmel/atmel_pci.c
> +++ b/drivers/net/wireless/atmel/atmel_pci.c
> @@ -1,22 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*** -*- linux-c -*- **********************************************************
>  
>       Driver for Atmel at76c502 at76c504 and at76c506 wireless cards.
>  
>           Copyright 2004 Simon Kelley.
>  
> -    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 software is distributed in the hope that it will be useful,
> -    but WITHOUT 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 Atmel wireless lan drivers; if not, see
> -    <http://www.gnu.org/licenses/>.
>  
>  ******************************************************************************/
>  #include <linux/pci.h>
> 
> 

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

* Re: [Batch 5 - patch 10/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 110
  2019-05-23  9:14 ` [Batch 5 - patch 10/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 110 Thomas Gleixner
  2019-05-23 12:43   ` Richard Fontana
@ 2019-05-23 22:26   ` Allison Randal
  2019-05-24  1:13   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Allison Randal @ 2019-05-23 22:26 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/23/19 5:14 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   this file 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 file is distributed in the hope
>   that it will be useful but without 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-or-later
> 
> has been chosen to replace the boilerplate/reference in 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=acc740cf1461
> ---
>  drivers/char/hw_random/stm32-rng.c |   11 +----------
>  1 file changed, 1 insertion(+), 10 deletions(-)
> 
> --- a/drivers/char/hw_random/stm32-rng.c
> +++ b/drivers/char/hw_random/stm32-rng.c
> @@ -1,15 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 2015, Daniel Thompson
> - *
> - * This file 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 file is distributed in the hope that it will be useful,
> - * but WITHOUT 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/clk.h>
> 
> 

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

* Re: [Batch 5 - patch 11/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 111
  2019-05-23  9:14 ` [Batch 5 - patch 11/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 111 Thomas Gleixner
  2019-05-23 12:43   ` Richard Fontana
@ 2019-05-23 22:26   ` Allison Randal
  2019-05-24  1:14   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Allison Randal @ 2019-05-23 22:26 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/23/19 5:14 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   this program is free software you can redistribute it and or modify
>   i t under the terms of the gnu general public license as published
>   by th e free software foundation either version 2 of the license or
>   at you r option any later version
> 
> 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).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=1fd80a115d4e
> ---
>  drivers/gpio/gpio-tps65218.c |    6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)
> 
> --- a/drivers/gpio/gpio-tps65218.c
> +++ b/drivers/gpio/gpio-tps65218.c
> @@ -1,13 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 2015 Verifone Int.
>   *
>   * Author: Nicolas Saenz Julienne <nicolassaenzj@gmail.com>
>   *
> - * This program is free software; you can redistribute it and/or modify i t
> - * under  the terms of the GNU General  Public License as published by th e
> - * Free Software Foundation;  either version 2 of the License, or (at you r
> - * option) any later version.
> - *
>   * This driver is based on the gpio-tps65912 implementation.
>   */
>  
> 
> 

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

* Re: [Batch 5 - patch 12/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 112
  2019-05-23  9:14 ` [Batch 5 - patch 12/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 112 Thomas Gleixner
  2019-05-23 12:43   ` Richard Fontana
@ 2019-05-23 22:27   ` Allison Randal
  2019-05-24  1:14   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Allison Randal @ 2019-05-23 22:27 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/23/19 5:14 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   this program is free software you can redistribute it and or modify
>   it under the terms of the gnu general public license as published by
>   the free software foundation either version 2 of the license or
>   later version
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 4 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=aa67c1e6bfcc
> ---
>  arch/powerpc/include/asm/imc-pmu.h        |    6 +-----
>  arch/powerpc/perf/imc-pmu.c               |    6 +-----
>  arch/powerpc/perf/power9-pmu.c            |    6 +-----
>  arch/powerpc/platforms/powernv/opal-imc.c |    6 +-----
>  4 files changed, 4 insertions(+), 20 deletions(-)
> 
> --- a/arch/powerpc/include/asm/imc-pmu.h
> +++ b/arch/powerpc/include/asm/imc-pmu.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  #ifndef __ASM_POWERPC_IMC_PMU_H
>  #define __ASM_POWERPC_IMC_PMU_H
>  
> @@ -7,11 +8,6 @@
>   * Copyright (C) 2017 Madhavan Srinivasan, IBM Corporation.
>   *           (C) 2017 Anju T Sudhakar, IBM Corporation.
>   *           (C) 2017 Hemant K Shaw, IBM Corporation.
> - *
> - * 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 later version.
>   */
>  
>  #include <linux/perf_event.h>
> --- a/arch/powerpc/perf/imc-pmu.c
> +++ b/arch/powerpc/perf/imc-pmu.c
> @@ -1,14 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * In-Memory Collection (IMC) Performance Monitor counter support.
>   *
>   * Copyright (C) 2017 Madhavan Srinivasan, IBM Corporation.
>   *           (C) 2017 Anju T Sudhakar, IBM Corporation.
>   *           (C) 2017 Hemant K Shaw, IBM Corporation.
> - *
> - * 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 later version.
>   */
>  #include <linux/perf_event.h>
>  #include <linux/slab.h>
> --- a/arch/powerpc/perf/power9-pmu.c
> +++ b/arch/powerpc/perf/power9-pmu.c
> @@ -1,14 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Performance counter support for POWER9 processors.
>   *
>   * Copyright 2009 Paul Mackerras, IBM Corporation.
>   * Copyright 2013 Michael Ellerman, IBM Corporation.
>   * Copyright 2016 Madhavan Srinivasan, IBM Corporation.
> - *
> - * 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 later version.
>   */
>  
>  #define pr_fmt(fmt)	"power9-pmu: " fmt
> --- a/arch/powerpc/platforms/powernv/opal-imc.c
> +++ b/arch/powerpc/platforms/powernv/opal-imc.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * OPAL IMC interface detection driver
>   * Supported on POWERNV platform
> @@ -5,11 +6,6 @@
>   * Copyright	(C) 2017 Madhavan Srinivasan, IBM Corporation.
>   *		(C) 2017 Anju T Sudhakar, IBM Corporation.
>   *		(C) 2017 Hemant K Shaw, IBM Corporation.
> - *
> - * 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 later version.
>   */
>  #include <linux/kernel.h>
>  #include <linux/platform_device.h>
> 
> 

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

* Re: [Batch 5 - patch 13/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 113
  2019-05-23  9:14 ` [Batch 5 - patch 13/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 113 Thomas Gleixner
  2019-05-23 12:07   ` Richard Fontana
@ 2019-05-23 22:27   ` Allison Randal
  2019-05-24  1:15   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Allison Randal @ 2019-05-23 22:27 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/23/19 5:14 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   this program is free software you can redistribute it and or modify
>   it under the terms of the gnu general public license as published by
>   the free software foundation either version 2 of the license or at
>   your option any later version this program is distributed in the
>   hope that it will be useful but without any warranty without even
>   the implied warranty of merchantability or fitness for a particular
>   purpose see the gnu general public license for more details to
>   obtain the license point your browser to http www gnu org copyleft
>   gpl html
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 26 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=e8184d1df92a
> ---
>  drivers/media/dvb-core/dvb_ca_en50221.c  |   13 +------------
>  drivers/media/dvb-core/dvb_frontend.c    |   14 +-------------
>  drivers/media/dvb-core/dvb_net.c         |   13 +------------
>  drivers/media/dvb-frontends/bsbe1-d01a.h |   16 +---------------
>  drivers/media/dvb-frontends/bsbe1.h      |   16 +---------------
>  drivers/media/dvb-frontends/bsru6.h      |   16 +---------------
>  drivers/media/dvb-frontends/isl6405.c    |   16 +---------------
>  drivers/media/dvb-frontends/isl6405.h    |   16 +---------------
>  drivers/media/dvb-frontends/isl6421.c    |   16 +---------------
>  drivers/media/dvb-frontends/isl6421.h    |   16 +---------------
>  drivers/media/dvb-frontends/lnbp21.c     |   16 +---------------
>  drivers/media/dvb-frontends/lnbp21.h     |   16 +---------------
>  drivers/media/dvb-frontends/lnbp22.c     |   16 +---------------
>  drivers/media/dvb-frontends/lnbp22.h     |   16 +---------------
>  drivers/media/dvb-frontends/tdhd1.h      |   15 +--------------
>  drivers/media/pci/ttpci/av7110.c         |   16 +---------------
>  drivers/media/pci/ttpci/av7110_av.c      |   16 +---------------
>  drivers/media/pci/ttpci/av7110_ca.c      |   16 +---------------
>  drivers/media/pci/ttpci/av7110_hw.c      |   13 +------------
>  drivers/media/pci/ttpci/av7110_ir.c      |   14 +-------------
>  drivers/media/pci/ttpci/av7110_v4l.c     |   13 +------------
>  drivers/media/pci/ttpci/budget-av.c      |   16 +---------------
>  drivers/media/pci/ttpci/budget-ci.c      |   16 +---------------
>  drivers/media/pci/ttpci/budget-core.c    |   16 +---------------
>  drivers/media/pci/ttpci/budget-patch.c   |   16 +---------------
>  drivers/media/pci/ttpci/budget.c         |   16 +---------------
>  26 files changed, 26 insertions(+), 373 deletions(-)
> 
> --- a/drivers/media/dvb-core/dvb_ca_en50221.c
> +++ b/drivers/media/dvb-core/dvb_ca_en50221.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * dvb_ca.c: generic DVB functions for EN50221 CAM interfaces
>   *
> @@ -11,18 +12,6 @@
>   *
>   * Copyright (C) 1999-2002 Ralph  Metzler
>   *                       & Marcus Metzler for convergence integrated media GmbH
> - *
> - * 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.
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
>   */
>  
>  #define pr_fmt(fmt) "dvb_ca_en50221: " fmt
> --- a/drivers/media/dvb-core/dvb_frontend.c
> +++ b/drivers/media/dvb-core/dvb_frontend.c
> @@ -1,25 +1,13 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * dvb_frontend.c: DVB frontend tuning interface/thread
>   *
> - *
>   * Copyright (C) 1999-2001 Ralph  Metzler
>   *			   Marcus Metzler
>   *			   Holger Waechtler
>   *				      for convergence integrated media GmbH
>   *
>   * Copyright (C) 2004 Andrew de Quincey (tuning thread cleanup)
> - *
> - * 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.
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
>   */
>  
>  /* Enables DVBv3 compatibility bits at the headers */
> --- a/drivers/media/dvb-core/dvb_net.c
> +++ b/drivers/media/dvb-core/dvb_net.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * dvb_net.c
>   *
> @@ -13,18 +14,6 @@
>   *                      and Wolfram Stering <wstering@cosy.sbg.ac.at>
>   *
>   * ULE Decaps according to RFC 4326.
> - *
> - * 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.
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
>   */
>  
>  /*
> --- a/drivers/media/dvb-frontends/bsbe1-d01a.h
> +++ b/drivers/media/dvb-frontends/bsbe1-d01a.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * bsbe1-d01a.h - ALPS BSBE1-D01A tuner support
>   *
>   * Copyright (C) 2011 Oliver Endriss <o.endriss@gmx.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) 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  
> --- a/drivers/media/dvb-frontends/bsbe1.h
> +++ b/drivers/media/dvb-frontends/bsbe1.h
> @@ -1,21 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * bsbe1.h - ALPS BSBE1 tuner support
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  
> --- a/drivers/media/dvb-frontends/bsru6.h
> +++ b/drivers/media/dvb-frontends/bsru6.h
> @@ -1,21 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * bsru6.h - ALPS BSRU6 tuner support (moved from budget-ci.c)
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  
> --- a/drivers/media/dvb-frontends/isl6405.c
> +++ b/drivers/media/dvb-frontends/isl6405.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * isl6405.c - driver for dual lnb supply and control ic ISL6405
>   *
>   * Copyright (C) 2008 Hartmut Hackmann
>   * Copyright (C) 2006 Oliver Endriss
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  #include <linux/delay.h>
> --- a/drivers/media/dvb-frontends/isl6405.h
> +++ b/drivers/media/dvb-frontends/isl6405.h
> @@ -1,24 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * isl6405.h - driver for dual lnb supply and control ic ISL6405
>   *
>   * Copyright (C) 2008 Hartmut Hackmann
>   * Copyright (C) 2006 Oliver Endriss
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  
> --- a/drivers/media/dvb-frontends/isl6421.c
> +++ b/drivers/media/dvb-frontends/isl6421.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * isl6421.h - driver for lnb supply and control ic ISL6421
>   *
>   * Copyright (C) 2006 Andrew de Quincey
>   * Copyright (C) 2006 Oliver Endriss
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  #include <linux/delay.h>
> --- a/drivers/media/dvb-frontends/isl6421.h
> +++ b/drivers/media/dvb-frontends/isl6421.h
> @@ -1,24 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * isl6421.h - driver for lnb supply and control ic ISL6421
>   *
>   * Copyright (C) 2006 Andrew de Quincey
>   * Copyright (C) 2006 Oliver Endriss
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  
> --- a/drivers/media/dvb-frontends/lnbp21.c
> +++ b/drivers/media/dvb-frontends/lnbp21.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * lnbp21.c - driver for lnb supply and control ic lnbp21
>   *
>   * Copyright (C) 2006, 2009 Oliver Endriss <o.endriss@gmx.de>
>   * Copyright (C) 2009 Igor M. Liplianin <liplianin@netup.ru>
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  #include <linux/delay.h>
> --- a/drivers/media/dvb-frontends/lnbp21.h
> +++ b/drivers/media/dvb-frontends/lnbp21.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * lnbp21.h - driver for lnb supply and control ic lnbp21
>   *
>   * Copyright (C) 2006 Oliver Endriss
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  
> --- a/drivers/media/dvb-frontends/lnbp22.c
> +++ b/drivers/media/dvb-frontends/lnbp22.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * lnbp22.h - driver for lnb supply and control ic lnbp22
>   *
>   * Copyright (C) 2006 Dominik Kuhlen
>   * Based on lnbp21 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, 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  #include <linux/delay.h>
> --- a/drivers/media/dvb-frontends/lnbp22.h
> +++ b/drivers/media/dvb-frontends/lnbp22.h
> @@ -1,24 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * lnbp22.h - driver for lnb supply and control ic lnbp22
>   *
>   * Copyright (C) 2006 Dominik Kuhlen
>   * Based on lnbp21.h
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  
> --- a/drivers/media/dvb-frontends/tdhd1.h
> +++ b/drivers/media/dvb-frontends/tdhd1.h
> @@ -1,22 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * tdhd1.h - ALPS TDHD1-204A tuner support
>   *
>   * Copyright (C) 2008 Oliver Endriss <o.endriss@gmx.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) 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.
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * The project's page is at https://linuxtv.org
>   */
>  
> --- a/drivers/media/pci/ttpci/av7110.c
> +++ b/drivers/media/pci/ttpci/av7110.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * driver for the SAA7146 based AV110 cards (like the Fujitsu-Siemens DVB)
>   * av7110.c: initialization and demux stuff
> @@ -8,21 +9,6 @@
>   * originally based on code by:
>   * Copyright (C) 1998,1999 Christian Theiss <mistert@rz.fh-augsburg.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) 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  
> --- a/drivers/media/pci/ttpci/av7110_av.c
> +++ b/drivers/media/pci/ttpci/av7110_av.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * av7110_av.c: audio and video MPEG decoder stuff
>   *
> @@ -7,21 +8,6 @@
>   * originally based on code by:
>   * Copyright (C) 1998,1999 Christian Theiss <mistert@rz.fh-augsburg.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) 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  
> --- a/drivers/media/pci/ttpci/av7110_ca.c
> +++ b/drivers/media/pci/ttpci/av7110_ca.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * av7110_ca.c: CA and CI stuff
>   *
> @@ -7,21 +8,6 @@
>   * originally based on code by:
>   * Copyright (C) 1998,1999 Christian Theiss <mistert@rz.fh-augsburg.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) 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  
> --- a/drivers/media/pci/ttpci/av7110_hw.c
> +++ b/drivers/media/pci/ttpci/av7110_hw.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * av7110_hw.c: av7110 low level hardware access and firmware interface
>   *
> @@ -7,18 +8,6 @@
>   * originally based on code by:
>   * Copyright (C) 1998,1999 Christian Theiss <mistert@rz.fh-augsburg.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) 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.
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  
> --- a/drivers/media/pci/ttpci/av7110_ir.c
> +++ b/drivers/media/pci/ttpci/av7110_ir.c
> @@ -1,21 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Driver for the remote control of SAA7146 based AV7110 cards
>   *
>   * Copyright (C) 1999-2003 Holger Waechtler <holger@convergence.de>
>   * Copyright (C) 2003-2007 Oliver Endriss <o.endriss@gmx.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) 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.
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
>   */
>  
>  
> --- a/drivers/media/pci/ttpci/av7110_v4l.c
> +++ b/drivers/media/pci/ttpci/av7110_v4l.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * av7110_v4l.c: av7110 video4linux interface for DVB and Siemens DVB-C analog module
>   *
> @@ -7,18 +8,6 @@
>   * originally based on code by:
>   * Copyright (C) 1998,1999 Christian Theiss <mistert@rz.fh-augsburg.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) 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.
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  
> --- a/drivers/media/pci/ttpci/budget-av.c
> +++ b/drivers/media/pci/ttpci/budget-av.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * budget-av.c: driver for the SAA7146 based Budget DVB cards
>   *              with analog video in
> @@ -12,21 +13,6 @@
>   * Copyright (C) 1999-2002 Ralph  Metzler
>   *                       & Marcus Metzler for convergence integrated media GmbH
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  
> --- a/drivers/media/pci/ttpci/budget-ci.c
> +++ b/drivers/media/pci/ttpci/budget-ci.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * budget-ci.c: driver for the SAA7146 based Budget DVB cards
>   *
> @@ -8,21 +9,6 @@
>   *
>   * CI interface support (c) 2004 Andrew de Quincey <adq_dvb@lidskialf.net>
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  
> --- a/drivers/media/pci/ttpci/budget-core.c
> +++ b/drivers/media/pci/ttpci/budget-core.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * budget-core.c: driver for the SAA7146 based Budget DVB cards
>   *
> @@ -13,21 +14,6 @@
>   *	     Oliver Endriss <o.endriss@gmx.de>,
>   *	     Andreas 'randy' Weinberger
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  
> --- a/drivers/media/pci/ttpci/budget-patch.c
> +++ b/drivers/media/pci/ttpci/budget-patch.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * budget-patch.c: driver for Budget Patch,
>   * hardware modification of DVB-S cards enabling full TS
> @@ -9,21 +10,6 @@
>   * Special thanks to Holger Waechtler, Michael Hunold, Marian Durkovic
>   * and Metzlerbros
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  
> --- a/drivers/media/pci/ttpci/budget.c
> +++ b/drivers/media/pci/ttpci/budget.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * budget.c: driver for the SAA7146 based Budget DVB cards
>   *
> @@ -13,21 +14,6 @@
>   *           Oliver Endriss <o.endriss@gmx.de> and
>   *           Andreas 'randy' Weinberger
>   *
> - * 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.
> - *
> - * To obtain the license, point your browser to
> - * http://www.gnu.org/copyleft/gpl.html
> - *
> - *
>   * the project's page is at https://linuxtv.org
>   */
>  
> 
> 

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

* Re: [Batch 5 - patch 14/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 114
  2019-05-23  9:14 ` [Batch 5 - patch 14/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 114 Thomas Gleixner
  2019-05-23 12:38   ` Richard Fontana
@ 2019-05-23 22:28   ` Allison Randal
  2019-05-24 10:51   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Allison Randal @ 2019-05-23 22:28 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/23/19 5:14 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   this program is free software you can redistribute it and or modify
>   it under the terms of the gnu general public license as published by
>   the free software foundation either version 2 of the license or at
>   your option any later version this program is distributed in the
>   hope that it will be useful but without 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
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 8 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=52fb56503c9a
> ---
>  arch/powerpc/include/asm/hmi.h     |   14 +-------------
>  arch/powerpc/kvm/book3s_hv_hmi.c   |   14 +-------------
>  drivers/gpu/drm/bridge/sii9234.c   |   15 +--------------
>  drivers/hwmon/ibmpowernv.c         |   14 +-------------
>  drivers/i2c/busses/i2c-opal.c      |   14 +-------------
>  drivers/net/ethernet/ibm/ibmvnic.c |   13 +------------
>  drivers/net/ethernet/ibm/ibmvnic.h |   13 +------------
>  drivers/rtc/rtc-opal.c             |   14 +-------------
>  8 files changed, 8 insertions(+), 103 deletions(-)
> 
> --- a/arch/powerpc/include/asm/hmi.h
> +++ b/arch/powerpc/include/asm/hmi.h
> @@ -1,19 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Hypervisor Maintenance Interrupt header file.
>   *
> - * 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.
> - *
>   * Copyright 2015 IBM Corporation
>   * Author: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
>   */
> --- a/arch/powerpc/kvm/book3s_hv_hmi.c
> +++ b/arch/powerpc/kvm/book3s_hv_hmi.c
> @@ -1,19 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Hypervisor Maintenance Interrupt (HMI) handling.
>   *
> - * 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.
> - *
>   * Copyright 2015 IBM Corporation
>   * Author: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
>   */
> --- a/drivers/gpu/drm/bridge/sii9234.c
> +++ b/drivers/gpu/drm/bridge/sii9234.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2017 Samsung Electronics
>   *
> @@ -10,20 +11,6 @@
>   *    Erik Gilling <konkers@android.com>
>   *    Shankar Bandal <shankar.b@samsung.com>
>   *    Dharam Kumar <dharam.kr@samsung.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT 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
> - *
>   */
>  #include <drm/bridge/mhl.h>
>  #include <drm/drm_crtc.h>
> --- a/drivers/hwmon/ibmpowernv.c
> +++ b/drivers/hwmon/ibmpowernv.c
> @@ -1,19 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * IBM PowerNV platform sensors for temperature/fan/voltage/power
>   * Copyright (C) 2014 IBM
> - *
> - * 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.
>   */
>  
>  #define DRVNAME		"ibmpowernv"
> --- a/drivers/i2c/busses/i2c-opal.c
> +++ b/drivers/i2c/busses/i2c-opal.c
> @@ -1,19 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * IBM OPAL I2C driver
>   * Copyright (C) 2014 IBM
> - *
> - * 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.
>   */
>  
>  #include <linux/device.h>
> --- a/drivers/net/ethernet/ibm/ibmvnic.c
> +++ b/drivers/net/ethernet/ibm/ibmvnic.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /**************************************************************************/
>  /*                                                                        */
>  /*  IBM System i and System p Virtual NIC Device Driver                   */
> @@ -6,18 +7,6 @@
>  /*  Thomas Falcon (tlfalcon@linux.vnet.ibm.com)                           */
>  /*  John Allen (jallen@linux.vnet.ibm.com)                                */
>  /*                                                                        */
> -/*  This program is free software; you can redistribute it and/or modify  */
> -/*  it under the terms of the GNU General Public License 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.                                              */
>  /*                                                                        */
>  /* This module contains the implementation of a virtual ethernet device   */
>  /* for use with IBM i/p Series LPAR Linux. It utilizes the logical LAN    */
> --- a/drivers/net/ethernet/ibm/ibmvnic.h
> +++ b/drivers/net/ethernet/ibm/ibmvnic.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /**************************************************************************/
>  /*                                                                        */
>  /*  IBM System i and System p Virtual NIC Device Driver                   */
> @@ -6,18 +7,6 @@
>  /*  Thomas Falcon (tlfalcon@linux.vnet.ibm.com)                           */
>  /*  John Allen (jallen@linux.vnet.ibm.com)                                */
>  /*                                                                        */
> -/*  This program is free software; you can redistribute it and/or modify  */
> -/*  it under the terms of the GNU General Public License 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.                                              */
>  /*                                                                        */
>  /* This module contains the implementation of a virtual ethernet device   */
>  /* for use with IBM i/pSeries LPAR Linux.  It utilizes the logical LAN    */
> --- a/drivers/rtc/rtc-opal.c
> +++ b/drivers/rtc/rtc-opal.c
> @@ -1,19 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * IBM OPAL RTC driver
>   * Copyright (C) 2014 IBM
> - *
> - * 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.
>   */
>  
>  #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> 
> 

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

* Re: [Batch 5 - patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 116
  2019-05-23  9:14 ` [Batch 5 - patch 16/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 116 Thomas Gleixner
  2019-05-23 12:39   ` Richard Fontana
@ 2019-05-23 22:30   ` Allison Randal
  1 sibling, 0 replies; 101+ messages in thread
From: Allison Randal @ 2019-05-23 22:30 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/23/19 5:14 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   gpl 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 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 59 temple place suite 330 boston ma 02111
>   1307 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 1 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=e94e58f8809e
> ---
>  sound/pci/azt3328.c |   16 +---------------
>  1 file changed, 1 insertion(+), 15 deletions(-)
> 
> --- a/sound/pci/azt3328.c
> +++ b/sound/pci/azt3328.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*  azt3328.c - driver for Aztech AZF3328 based soundcards (e.g. PCI168).
>   *  Copyright (C) 2002, 2005 - 2011 by Andreas Mohr <andi AT lisas.de>
>   *
> @@ -16,21 +17,6 @@
>   *   despite the high level of Internet ignorance - as usual :-P -
>   *   about very good support for this card - on Linux!)
>   *
> - * GPL 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; 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
> - *
>   * NOTES
>   *  Since Aztech does not provide any chipset documentation,
>   *  even on repeated request to various addresses,
> 
> 

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

* Re: [Batch 5 - patch 18/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 118
  2019-05-23  9:14 ` [Batch 5 - patch 18/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 118 Thomas Gleixner
  2019-05-23 12:06   ` Richard Fontana
@ 2019-05-23 22:32   ` Allison Randal
  2019-05-24 10:55   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Allison Randal @ 2019-05-23 22:32 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/23/19 5:14 AM, Thomas Gleixner wrote:
> 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 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
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 44 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=dc0b8ab31b8a
> ---
>  arch/powerpc/platforms/cell/cell.h           |   11 +----------
>  arch/x86/include/asm/ist.h                   |   11 +----------
>  arch/x86/kernel/apm_32.c                     |   11 +----------
>  arch/x86/kernel/kgdb.c                       |   11 +----------
>  drivers/ata/ahci_brcm.c                      |   11 +----------
>  drivers/ata/pata_cs5520.c                    |   11 +----------
>  drivers/ata/sata_sil24.c                     |   12 +-----------
>  drivers/cpufreq/powernv-cpufreq.c            |   12 +-----------
>  drivers/hwmon/dell-smm-hwmon.c               |   11 +----------
>  drivers/macintosh/apm_emu.c                  |   13 +------------
>  drivers/media/dvb-frontends/as102_fe.c       |   11 +----------
>  drivers/media/dvb-frontends/as102_fe.h       |   11 +----------
>  drivers/media/dvb-frontends/as102_fe_types.h |   11 +----------
>  drivers/media/dvb-frontends/gp8psk-fe.h      |   11 +----------
>  drivers/media/usb/as102/as102_drv.c          |   11 +----------
>  drivers/media/usb/as102/as102_drv.h          |   11 +----------
>  drivers/media/usb/as102/as102_fw.c           |   11 +----------
>  drivers/media/usb/as102/as102_fw.h           |   11 +----------
>  drivers/media/usb/as102/as102_usb_drv.c      |   11 +----------
>  drivers/media/usb/as102/as102_usb_drv.h      |   11 +----------
>  drivers/media/usb/as102/as10x_cmd.c          |   11 +----------
>  drivers/media/usb/as102/as10x_cmd.h          |   11 +----------
>  drivers/media/usb/as102/as10x_cmd_cfg.c      |   11 +----------
>  drivers/media/usb/as102/as10x_cmd_stream.c   |   11 +----------
>  drivers/media/usb/as102/as10x_handle.h       |   11 +----------
>  drivers/misc/genwqe/card_ddcb.h              |   11 +----------
>  drivers/phy/broadcom/phy-brcm-sata.c         |   11 +----------
>  drivers/pnp/pnpacpi/rsparser.c               |   11 +----------
>  drivers/pwm/sysfs.c                          |   11 +----------
>  drivers/scsi/aha152x.c                       |   13 +------------
>  drivers/scsi/nsp32.c                         |   12 +-----------
>  drivers/scsi/nsp32.h                         |   11 +----------
>  drivers/scsi/pcmcia/sym53c500_cs.c           |   11 +----------
>  drivers/scsi/qla1280.c                       |   11 +----------
>  drivers/scsi/qla1280.h                       |   11 +----------
>  drivers/scsi/wd33c93.c                       |   11 +----------
>  drivers/scsi/wd33c93.h                       |   12 +-----------
>  fs/notify/dnotify/dnotify.c                  |   11 +----------
>  fs/notify/inotify/inotify_fsnotify.c         |   11 +----------
>  fs/notify/inotify/inotify_user.c             |   11 +----------
>  fs/squashfs/zstd_wrapper.c                   |   11 +----------
>  include/linux/apm_bios.h                     |   11 +----------
>  include/linux/toshiba.h                      |   12 +-----------
>  sound/pci/cs5530.c                           |   11 +----------
>  44 files changed, 44 insertions(+), 449 deletions(-)
> 
> --- a/arch/powerpc/platforms/cell/cell.h
> +++ b/arch/powerpc/platforms/cell/cell.h
> @@ -1,17 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Cell Platform common data structures
>   *
>   * Copyright 2015, Daniel Axtens, IBM Corporation
> - *
> - * 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, 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.
>   */
>  
>  #ifndef CELL_H
> --- a/arch/x86/include/asm/ist.h
> +++ b/arch/x86/include/asm/ist.h
> @@ -1,16 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Include file for the interface to IST BIOS
>   * Copyright 2002 Andy Grover <andrew.grover@intel.com>
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License as published by the
> - * Free Software Foundation; either version 2, 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.
>   */
>  #ifndef _ASM_X86_IST_H
>  #define _ASM_X86_IST_H
> --- a/arch/x86/kernel/apm_32.c
> +++ b/arch/x86/kernel/apm_32.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* -*- linux-c -*-
>   * APM BIOS driver for Linux
>   * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au)
> @@ -5,16 +6,6 @@
>   * Initial development of this driver was funded by NEC Australia P/L
>   *	and NEC Corporation
>   *
> - * 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, 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.
> - *
>   * October 1995, Rik Faith (faith@cs.unc.edu):
>   *    Minor enhancements and updates (to the patch set) for 1.3.x
>   *    Documentation
> --- a/arch/x86/kernel/kgdb.c
> +++ b/arch/x86/kernel/kgdb.c
> @@ -1,14 +1,5 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
> - * 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, 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.
> - *
>   */
>  
>  /*
> --- a/drivers/ata/ahci_brcm.c
> +++ b/drivers/ata/ahci_brcm.c
> @@ -1,17 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Broadcom SATA3 AHCI Controller Driver
>   *
>   * Copyright © 2009-2015 Broadcom Corporation
> - *
> - * 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, 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.
>   */
>  
>  #include <linux/ahci_platform.h>
> --- a/drivers/ata/pata_cs5520.c
> +++ b/drivers/ata/pata_cs5520.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   *	IDE tuning and bus mastering support for the CS5510/CS5520
>   *	chipsets
> @@ -18,16 +19,6 @@
>   *
>   *	(c) Copyright Red Hat Inc 2002
>   *
> - * 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, 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.
> - *
>   * Documentation:
>   *	Not publicly available.
>   */
> --- a/drivers/ata/sata_sil24.c
> +++ b/drivers/ata/sata_sil24.c
> @@ -1,20 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * sata_sil24.c - Driver for Silicon Image 3124/3132 SATA-2 controllers
>   *
>   * Copyright 2005  Tejun Heo
>   *
>   * Based on preview driver from Silicon Image.
> - *
> - * 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, 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.
> - *
>   */
>  
>  #include <linux/kernel.h>
> --- a/drivers/cpufreq/powernv-cpufreq.c
> +++ b/drivers/cpufreq/powernv-cpufreq.c
> @@ -1,20 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * POWERNV cpufreq driver for the IBM POWER processors
>   *
>   * (C) Copyright IBM 2014
>   *
>   * Author: Vaidyanathan Srinivasan <svaidy at linux.vnet.ibm.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2, 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.
> - *
>   */
>  
>  #define pr_fmt(fmt)	"powernv-cpufreq: " fmt
> --- a/drivers/hwmon/dell-smm-hwmon.c
> +++ b/drivers/hwmon/dell-smm-hwmon.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * dell-smm-hwmon.c -- Linux driver for accessing the SMM BIOS on Dell laptops.
>   *
> @@ -7,16 +8,6 @@
>   * Copyright (C) 2011  Jean Delvare <jdelvare@suse.de>
>   * Copyright (C) 2013, 2014  Guenter Roeck <linux@roeck-us.net>
>   * Copyright (C) 2014, 2015  Pali Rohár <pali.rohar@gmail.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, 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.
>   */
>  
>  #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/drivers/macintosh/apm_emu.c
> +++ b/drivers/macintosh/apm_emu.c
> @@ -1,19 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * APM emulation for PMU-based machines
>   *
>   * Copyright 2001 Benjamin Herrenschmidt (benh@kernel.crashing.org)
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License as published by the
> - * Free Software Foundation; either version 2, 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.
> - *
> - *
>   */
>  
>  #include <linux/kernel.h>
> --- a/drivers/media/dvb-frontends/as102_fe.c
> +++ b/drivers/media/dvb-frontends/as102_fe.c
> @@ -1,17 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
>   * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.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, 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.
>   */
>  
>  #include <media/dvb_frontend.h>
> --- a/drivers/media/dvb-frontends/as102_fe.h
> +++ b/drivers/media/dvb-frontends/as102_fe.h
> @@ -1,16 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2014 Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2, 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.
>   */
>  
>  #include "as102_fe_types.h"
> --- a/drivers/media/dvb-frontends/as102_fe_types.h
> +++ b/drivers/media/dvb-frontends/as102_fe_types.h
> @@ -1,16 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.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, 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.
>   */
>  #ifndef _AS10X_TYPES_H_
>  #define _AS10X_TYPES_H_
> --- a/drivers/media/dvb-frontends/gp8psk-fe.h
> +++ b/drivers/media/dvb-frontends/gp8psk-fe.h
> @@ -1,15 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * gp8psk_fe 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, 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.
>   */
>  
>  #ifndef GP8PSK_FE_H
> --- a/drivers/media/usb/as102/as102_drv.c
> +++ b/drivers/media/usb/as102/as102_drv.c
> @@ -1,17 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
>   * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.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, 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.
>   */
>  #include <linux/kernel.h>
>  #include <linux/errno.h>
> --- a/drivers/media/usb/as102/as102_drv.h
> +++ b/drivers/media/usb/as102/as102_drv.h
> @@ -1,16 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.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, 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.
>   */
>  
>  #ifndef _AS102_DRV_H
> --- a/drivers/media/usb/as102/as102_fw.c
> +++ b/drivers/media/usb/as102/as102_fw.c
> @@ -1,17 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
>   * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.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, 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.
>   */
>  #include <linux/kernel.h>
>  #include <linux/errno.h>
> --- a/drivers/media/usb/as102/as102_fw.h
> +++ b/drivers/media/usb/as102/as102_fw.h
> @@ -1,16 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.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, 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.
>   */
>  #define MAX_FW_PKT_SIZE	64
>  
> --- a/drivers/media/usb/as102/as102_usb_drv.c
> +++ b/drivers/media/usb/as102/as102_usb_drv.c
> @@ -1,17 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
>   * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.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, 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.
>   */
>  #include <linux/kernel.h>
>  #include <linux/errno.h>
> --- a/drivers/media/usb/as102/as102_usb_drv.h
> +++ b/drivers/media/usb/as102/as102_usb_drv.h
> @@ -1,17 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
>   * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.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, 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.
>   */
>  #ifndef _AS102_USB_DRV_H_
>  #define _AS102_USB_DRV_H_
> --- a/drivers/media/usb/as102/as10x_cmd.c
> +++ b/drivers/media/usb/as102/as10x_cmd.c
> @@ -1,17 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.com>
>   * Copyright (C) 2010 Devin Heitmueller <dheitmueller@kernellabs.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, 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.
>   */
>  
>  #include <linux/kernel.h>
> --- a/drivers/media/usb/as102/as10x_cmd.h
> +++ b/drivers/media/usb/as102/as10x_cmd.h
> @@ -1,16 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.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, 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.
>   */
>  #ifndef _AS10X_CMD_H_
>  #define _AS10X_CMD_H_
> --- a/drivers/media/usb/as102/as10x_cmd_cfg.c
> +++ b/drivers/media/usb/as102/as10x_cmd_cfg.c
> @@ -1,16 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.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, 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.
>   */
>  
>  #include <linux/kernel.h>
> --- a/drivers/media/usb/as102/as10x_cmd_stream.c
> +++ b/drivers/media/usb/as102/as10x_cmd_stream.c
> @@ -1,16 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.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, 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.
>   */
>  
>  #include <linux/kernel.h>
> --- a/drivers/media/usb/as102/as10x_handle.h
> +++ b/drivers/media/usb/as102/as10x_handle.h
> @@ -1,16 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Abilis Systems Single DVB-T Receiver
>   * Copyright (C) 2008 Pierrick Hascoet <pierrick.hascoet@abilis.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, 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.
>   */
>  #ifndef _AS10X_HANDLE_H
>  #define _AS10X_HANDLE_H
> --- a/drivers/misc/genwqe/card_ddcb.h
> +++ b/drivers/misc/genwqe/card_ddcb.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  #ifndef __CARD_DDCB_H__
>  #define __CARD_DDCB_H__
>  
> @@ -10,16 +11,6 @@
>   * Author: Joerg-Stephan Vogt <jsvogt@de.ibm.com>
>   * Author: Michael Jung <mijung@gmx.net>
>   * Author: Michael Ruettger <michael@ibmra.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, 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.
>   */
>  
>  #include <linux/types.h>
> --- a/drivers/phy/broadcom/phy-brcm-sata.c
> +++ b/drivers/phy/broadcom/phy-brcm-sata.c
> @@ -1,17 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Broadcom SATA3 AHCI Controller PHY Driver
>   *
>   * Copyright (C) 2016 Broadcom
> - *
> - * 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, 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.
>   */
>  
>  #include <linux/delay.h>
> --- a/drivers/pnp/pnpacpi/rsparser.c
> +++ b/drivers/pnp/pnpacpi/rsparser.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * pnpacpi -- PnP ACPI driver
>   *
> @@ -5,16 +6,6 @@
>   * Copyright (c) 2004 Li Shaohua <shaohua.li@intel.com>
>   * Copyright (C) 2008 Hewlett-Packard Development Company, L.P.
>   *	Bjorn Helgaas <bjorn.helgaas@hp.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, 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.
>   */
>  #include <linux/kernel.h>
>  #include <linux/acpi.h>
> --- a/drivers/pwm/sysfs.c
> +++ b/drivers/pwm/sysfs.c
> @@ -1,19 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * A simple sysfs interface for the generic PWM framework
>   *
>   * Copyright (C) 2013 H Hartley Sweeten <hsweeten@visionengravers.com>
>   *
>   * Based on previous work by Lars Poeschel <poeschel@lemonage.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, 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.
>   */
>  
>  #include <linux/device.h>
> --- a/drivers/scsi/aha152x.c
> +++ b/drivers/scsi/aha152x.c
> @@ -1,18 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /* aha152x.c -- Adaptec AHA-152x driver
>   * Author: Jürgen E. Fischer, fischer@norbit.de
>   * Copyright 1993-2004 Jürgen E. Fischer
>   *
> - * 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, 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.
> - *
> - *
>   * $Id: aha152x.c,v 2.7 2004/01/24 11:42:59 fischer Exp $
>   *
>   * $Log: aha152x.c,v $
> @@ -228,7 +218,6 @@
>   * Revision 0.0  1993/08/14  19:54:25  root
>   * empty function bodies; detect() works.
>   *
> - *
>   **************************************************************************
>  
>   see Documentation/scsi/aha152x.txt for configuration details
> --- a/drivers/scsi/nsp32.c
> +++ b/drivers/scsi/nsp32.c
> @@ -1,20 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * NinjaSCSI-32Bi Cardbus, NinjaSCSI-32UDE PCI/CardBus SCSI driver
>   * Copyright (C) 2001, 2002, 2003
>   *      YOKOTA Hiroshi <yokota@netlab.is.tsukuba.ac.jp>
>   *      GOTO Masanori <gotom@debian.or.jp>, <gotom@debian.org>
>   *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2, 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.
> - *
> - *
>   * Revision History:
>   *   1.0: Initial Release.
>   *   1.1: Add /proc SDTR status.
> --- a/drivers/scsi/nsp32.h
> +++ b/drivers/scsi/nsp32.h
> @@ -1,16 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Workbit NinjaSCSI-32Bi/UDE PCI/CardBus SCSI Host Bus Adapter driver
>   * Basic data header
> - *
> - * 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, 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.
>  */
>  
>  #ifndef _NSP32_H
> --- a/drivers/scsi/pcmcia/sym53c500_cs.c
> +++ b/drivers/scsi/pcmcia/sym53c500_cs.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>  *  sym53c500_cs.c	Bob Tracy (rct@frus.com)
>  *
> @@ -25,16 +26,6 @@
>  *	Original by Tom Corner (tcorner@via.at) was adapted from a
>  *	driver for the Qlogic SCSI card written by
>  *	David Hinds (dhinds@allegro.stanford.edu).
> -* 
> -*  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, 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.
>  */
>  
>  #define SYM53C500_DEBUG 0
> --- a/drivers/scsi/qla1280.c
> +++ b/drivers/scsi/qla1280.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /******************************************************************************
>  *                  QLOGIC LINUX SOFTWARE
>  *
> @@ -6,16 +7,6 @@
>  * Copyright (C) 2001-2004 Jes Sorensen, Wild Open Source Inc.
>  * Copyright (C) 2003-2004 Christoph Hellwig
>  *
> -* 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, 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.
> -*
>  ******************************************************************************/
>  #define QLA1280_VERSION      "3.27.1"
>  /*****************************************************************************
> --- a/drivers/scsi/qla1280.h
> +++ b/drivers/scsi/qla1280.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /******************************************************************************
>  *                  QLOGIC LINUX SOFTWARE
>  *
> @@ -5,16 +6,6 @@
>  * Copyright (C) 2000 Qlogic Corporation
>  * (www.qlogic.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, 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.
> -*
>  ******************************************************************************/
>  
>  #ifndef	_QLA1280_H
> --- a/drivers/scsi/wd33c93.c
> +++ b/drivers/scsi/wd33c93.c
> @@ -1,17 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 1996 John Shifflett, GeoLog Consulting
>   *    john@geolog.com
>   *    jshiffle@netcom.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, 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.
>   */
>  
>  /*
> --- a/drivers/scsi/wd33c93.h
> +++ b/drivers/scsi/wd33c93.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   *    wd33c93.h -  Linux device driver definitions for the
>   *                 Commodore Amiga A2091/590 SCSI controller card
> @@ -7,17 +8,6 @@
>   * Copyright (c) 1996 John Shifflett, GeoLog Consulting
>   *    john@geolog.com
>   *    jshiffle@netcom.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, 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.
> - *
>   */
>  #ifndef WD33C93_H
>  #define WD33C93_H
> --- a/fs/notify/dnotify/dnotify.c
> +++ b/fs/notify/dnotify/dnotify.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Directory notifications for Linux.
>   *
> @@ -5,16 +6,6 @@
>   *
>   * Copyright (C) 2009 Eric Paris <Red Hat Inc>
>   * dnotify was largly rewritten to use the new fsnotify infrastructure
> - *
> - * 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, 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.
>   */
>  #include <linux/fs.h>
>  #include <linux/module.h>
> --- a/fs/notify/inotify/inotify_fsnotify.c
> +++ b/fs/notify/inotify/inotify_fsnotify.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * fs/inotify_user.c - inotify support for userspace
>   *
> @@ -10,16 +11,6 @@
>   *
>   * Copyright (C) 2009 Eric Paris <Red Hat Inc>
>   * inotify was largely rewriten to make use of the fsnotify infrastructure
> - *
> - * 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, 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.
>   */
>  
>  #include <linux/dcache.h> /* d_unlinked */
> --- a/fs/notify/inotify/inotify_user.c
> +++ b/fs/notify/inotify/inotify_user.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * fs/inotify_user.c - inotify support for userspace
>   *
> @@ -10,16 +11,6 @@
>   *
>   * Copyright (C) 2009 Eric Paris <Red Hat Inc>
>   * inotify was largely rewriten to make use of the fsnotify infrastructure
> - *
> - * 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, 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.
>   */
>  
>  #include <linux/file.h>
> --- a/fs/squashfs/zstd_wrapper.c
> +++ b/fs/squashfs/zstd_wrapper.c
> @@ -1,19 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Squashfs - a compressed read only filesystem for Linux
>   *
>   * Copyright (c) 2016-present, Facebook, Inc.
>   * All rights reserved.
>   *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2,
> - * 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.
> - *
>   * zstd_wrapper.c
>   */
>  
> --- a/include/linux/apm_bios.h
> +++ b/include/linux/apm_bios.h
> @@ -1,16 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Include file for the interface to an APM BIOS
>   * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au)
> - *
> - * 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, 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.
>   */
>  #ifndef _LINUX_APM_H
>  #define _LINUX_APM_H
> --- a/include/linux/toshiba.h
> +++ b/include/linux/toshiba.h
> @@ -1,20 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /* toshiba.h -- Linux driver for accessing the SMM on Toshiba laptops 
>   *
>   * Copyright (c) 1996-2000  Jonathan A. Buzzard (jonathan@buzzard.org.uk)
>   *
>   * Thanks to Juergen Heinzl <juergen@monocerus.demon.co.uk> for the pointers
>   * on making sure the structure is aligned and packed.
> - *
> - * 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, 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.
> - *
>   */
>  #ifndef _LINUX_TOSHIBA_H
>  #define _LINUX_TOSHIBA_H
> --- a/sound/pci/cs5530.c
> +++ b/sound/pci/cs5530.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * cs5530.c - Initialisation code for Cyrix/NatSemi VSA1 softaudio
>   *
> @@ -21,16 +22,6 @@
>   * Thanks to National Semiconductor for providing the needed information
>   * on the XpressAudio(tm) internals.
>   *
> - * 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, 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.
> - *
>   * TO DO:
>   *	Investigate whether we can portably support Cognac (5520) in the
>   *	same manner.
> 
> 

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

* Re: [Batch 5 - patch 19/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 119
  2019-05-23  9:14 ` [Batch 5 - patch 19/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 119 Thomas Gleixner
  2019-05-23 12:38   ` Richard Fontana
@ 2019-05-23 22:33   ` Allison Randal
  2019-05-24 10:56   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Allison Randal @ 2019-05-23 22:33 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/23/19 5:14 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   released under the gpl 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
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 2 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=380165dddf81
> ---
>  sound/soc/sunxi/sun4i-codec.c |   11 +----------
>  sound/soc/sunxi/sun4i-spdif.c |   11 +----------
>  2 files changed, 2 insertions(+), 20 deletions(-)
> 
> --- a/sound/soc/sunxi/sun4i-codec.c
> +++ b/sound/soc/sunxi/sun4i-codec.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright 2014 Emilio López <emilio@elopez.com.ar>
>   * Copyright 2014 Jon Smirl <jonsmirl@gmail.com>
> @@ -6,16 +7,6 @@
>   * Copyright 2016 Chen-Yu Tsai <wens@csie.org>
>   *
>   * Based on the Allwinner SDK driver, released under the GPL.
> - *
> - * 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.
>   */
>  
>  #include <linux/init.h>
> --- a/sound/soc/sunxi/sun4i-spdif.c
> +++ b/sound/soc/sunxi/sun4i-spdif.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * ALSA SoC SPDIF Audio Layer
>   *
> @@ -5,16 +6,6 @@
>   * Copyright 2015 Marcus Cooper <codekipper@gmail.com>
>   *
>   * Based on the Allwinner SDK driver, released under the GPL.
> - *
> - * 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.
>   */
>  
>  #include <linux/clk.h>
> 
> 

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

* Re: [Batch 5 - patch 20/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 120
  2019-05-23  9:14 ` [Batch 5 - patch 20/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 120 Thomas Gleixner
  2019-05-23 12:37   ` Richard Fontana
@ 2019-05-23 22:33   ` Allison Randal
  2019-05-24 10:57   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Allison Randal @ 2019-05-23 22:33 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/23/19 5:14 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   this program is free software you can redistribute it and or modify
>   it under the terms of the gnu general public license as published by
>   the free software foundation either version 2 of the license or at
>   your option any later version this program is distributed in the
>   hope that it will be useful but without 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 the file copying or write to the free
>   software foundation inc
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 12 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=6666628c0d24
> ---
>  arch/riscv/kernel/process.c |   15 +--------------
>  arch/riscv/kernel/setup.c   |   15 +--------------
>  arch/riscv/kernel/signal.c  |   15 +--------------
>  arch/riscv/mm/extable.c     |   15 +--------------
>  arch/riscv/mm/fault.c       |   15 +--------------
>  include/linux/libgcc.h      |   15 +--------------
>  lib/ashldi3.c               |   14 +-------------
>  lib/ashrdi3.c               |   14 +-------------
>  lib/cmpdi2.c                |   14 +-------------
>  lib/lshrdi3.c               |   15 +--------------
>  lib/muldi3.c                |   14 +-------------
>  lib/ucmpdi2.c               |   14 +-------------
>  12 files changed, 12 insertions(+), 163 deletions(-)
> 
> --- a/arch/riscv/kernel/process.c
> +++ b/arch/riscv/kernel/process.c
> @@ -1,23 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
>   *  Chen Liqin <liqin.chen@sunplusct.com>
>   *  Lennox Wu <lennox.wu@sunplusct.com>
>   * Copyright (C) 2012 Regents of the University of California
>   * Copyright (C) 2017 SiFive
> - *
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.,
>   */
>  
>  #include <linux/kernel.h>
> --- a/arch/riscv/kernel/setup.c
> +++ b/arch/riscv/kernel/setup.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
>   *  Chen Liqin <liqin.chen@sunplusct.com>
>   *  Lennox Wu <lennox.wu@sunplusct.com>
>   * Copyright (C) 2012 Regents of the University of California
> - *
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.,
>   */
>  
>  #include <linux/init.h>
> --- a/arch/riscv/kernel/signal.c
> +++ b/arch/riscv/kernel/signal.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
>   *  Chen Liqin <liqin.chen@sunplusct.com>
>   *  Lennox Wu <lennox.wu@sunplusct.com>
>   * Copyright (C) 2012 Regents of the University of California
> - *
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.,
>   */
>  
>  #include <linux/signal.h>
> --- a/arch/riscv/mm/extable.c
> +++ b/arch/riscv/mm/extable.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
>   *  Lennox Wu <lennox.wu@sunplusct.com>
>   *  Chen Liqin <liqin.chen@sunplusct.com>
>   * Copyright (C) 2013 Regents of the University of California
> - *
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.,
>   */
>  
>  
> --- a/arch/riscv/mm/fault.c
> +++ b/arch/riscv/mm/fault.c
> @@ -1,22 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
>   *  Lennox Wu <lennox.wu@sunplusct.com>
>   *  Chen Liqin <liqin.chen@sunplusct.com>
>   * Copyright (C) 2012 Regents of the University of California
> - *
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.,
>   */
>  
>  
> --- a/include/linux/libgcc.h
> +++ b/include/linux/libgcc.h
> @@ -1,19 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * include/lib/libgcc.h
> - *
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.
>   */
>  
>  #ifndef __LIB_LIBGCC_H
> --- a/lib/ashldi3.c
> +++ b/lib/ashldi3.c
> @@ -1,17 +1,5 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.
>   */
>  
>  #include <linux/export.h>
> --- a/lib/ashrdi3.c
> +++ b/lib/ashrdi3.c
> @@ -1,17 +1,5 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.
>   */
>  
>  #include <linux/export.h>
> --- a/lib/cmpdi2.c
> +++ b/lib/cmpdi2.c
> @@ -1,17 +1,5 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.
>   */
>  
>  #include <linux/export.h>
> --- a/lib/lshrdi3.c
> +++ b/lib/lshrdi3.c
> @@ -1,19 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * lib/lshrdi3.c
> - *
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.
>   */
>  
>  #include <linux/module.h>
> --- a/lib/muldi3.c
> +++ b/lib/muldi3.c
> @@ -1,17 +1,5 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.
>   */
>  
>  #include <linux/export.h>
> --- a/lib/ucmpdi2.c
> +++ b/lib/ucmpdi2.c
> @@ -1,17 +1,5 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
> - * 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, see the file COPYING, or write
> - * to the Free Software Foundation, Inc.
>   */
>  
>  #include <linux/module.h>
> 
> 

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

* Re: [Batch 5 - patch 21/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 121
  2019-05-23  9:14 ` [Batch 5 - patch 21/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 121 Thomas Gleixner
  2019-05-23 12:10   ` Richard Fontana
@ 2019-05-23 22:34   ` Allison Randal
  2019-05-24 10:58   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Allison Randal @ 2019-05-23 22:34 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/23/19 5:14 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   licensed under the gplv2 or at your option any later version
> 
> 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).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=561128572730
> ---
>  drivers/net/ethernet/stmicro/stmmac/dwmac-anarion.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-anarion.c
> +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-anarion.c
> @@ -1,9 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Adaptrum Anarion DWMAC glue layer
>   *
>   * Copyright (C) 2017, Adaptrum, Inc.
>   * (Written by Alexandru Gagniuc <alex.g at adaptrum.com> for Adaptrum, Inc.)
> - * Licensed under the GPLv2 or (at your option) any later version.
>   */
>  
>  #include <linux/io.h>
> 
> 

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

* Re: [Batch 5 - patch 22/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 122
  2019-05-23  9:14 ` [Batch 5 - patch 22/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 122 Thomas Gleixner
  2019-05-23 12:09   ` Richard Fontana
@ 2019-05-23 22:35   ` Allison Randal
  2019-05-24 10:59   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Allison Randal @ 2019-05-23 22:35 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/23/19 5:14 AM, Thomas Gleixner wrote:
> 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 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
> 
> extracted by the scancode license scanner the SPDX license identifier
> 
>   GPL-2.0-or-later
> 
> has been chosen to replace the boilerplate/reference in 2 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=3876ab3f549f
> ---
>  drivers/media/rc/gpio-ir-tx.c |   10 +---------
>  drivers/media/rc/pwm-ir-tx.c  |   10 +---------
>  2 files changed, 2 insertions(+), 18 deletions(-)
> 
> --- a/drivers/media/rc/gpio-ir-tx.c
> +++ b/drivers/media/rc/gpio-ir-tx.c
> @@ -1,14 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2017 Sean Young <sean@mess.org>
> - *
> - * 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
> - * (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.
>   */
>  
>  #include <linux/kernel.h>
> --- a/drivers/media/rc/pwm-ir-tx.c
> +++ b/drivers/media/rc/pwm-ir-tx.c
> @@ -1,14 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2017 Sean Young <sean@mess.org>
> - *
> - * 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
> - * (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.
>   */
>  
>  #include <linux/kernel.h>
> 
> 

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

* Re: [Batch 5 - patch 23/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 123
  2019-05-23  9:15 ` [Batch 5 - patch 23/25] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 123 Thomas Gleixner
  2019-05-23 12:08   ` Richard Fontana
@ 2019-05-23 22:36   ` Allison Randal
  2019-05-24 11:00   ` Kate Stewart
  2 siblings, 0 replies; 101+ messages in thread
From: Allison Randal @ 2019-05-23 22:36 UTC (permalink / raw)
  To: linux-spdx

Reviewed-by: Allison Randal <allison@lohutok.net>

On 5/23/19 5:15 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
> 
>   this program is free software you can redistribute it and or modify
>   it under the terms and conditions of the gnu general public license
>   version 2 or later 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-or-later
> 
> has been chosen to replace the boilerplate/reference in 7 file(s).
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=c5fe45b387cc
> ---
>  drivers/nfc/s3fwrn5/core.c     |   13 +------------
>  drivers/nfc/s3fwrn5/firmware.c |   13 +------------
>  drivers/nfc/s3fwrn5/firmware.h |   13 +------------
>  drivers/nfc/s3fwrn5/i2c.c      |   13 +------------
>  drivers/nfc/s3fwrn5/nci.c      |   13 +------------
>  drivers/nfc/s3fwrn5/nci.h      |   13 +------------
>  drivers/nfc/s3fwrn5/s3fwrn5.h  |   13 +------------
>  7 files changed, 7 insertions(+), 84 deletions(-)
> 
> --- a/drivers/nfc/s3fwrn5/core.c
> +++ b/drivers/nfc/s3fwrn5/core.c
> @@ -1,20 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * NCI based driver for Samsung S3FWRN5 NFC chip
>   *
>   * Copyright (C) 2015 Samsung Electrnoics
>   * Robert Baldyga <r