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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reviewed-by: Kate Stewart <kstewart@xxxxxxxxxxxxxxxxxxx>

On Thu, May 23, 2019 at 4:29 AM Thomas Gleixner <tglx@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxx>
> ---
> 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@xxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms 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@xxxxxxxxxxxxxxxx)
> @@ -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@xxxxxxxxxx):
>   *    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@xxxxxxx>
>   * Copyright (C) 2013, 2014  Guenter Roeck <linux@xxxxxxxxxxxx>
>   * Copyright (C) 2014, 2015  Pali Rohár <pali.rohar@xxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms 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@xxxxxxxxxxxxxxxxxxx)
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms 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@xxxxxxxxxx>
>   * Copyright (C) 2010 Devin Heitmueller <dheitmueller@xxxxxxxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms 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@xxxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms 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@xxxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms 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@xxxxxxxxxx>
>   * Copyright (C) 2010 Devin Heitmueller <dheitmueller@xxxxxxxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms 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@xxxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms 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@xxxxxxxxxx>
>   * Copyright (C) 2010 Devin Heitmueller <dheitmueller@xxxxxxxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms 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@xxxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms 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@xxxxxxxxxx>
>   * Copyright (C) 2010 Devin Heitmueller <dheitmueller@xxxxxxxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms 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@xxxxxxxxxx>
>   * Copyright (C) 2010 Devin Heitmueller <dheitmueller@xxxxxxxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms 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@xxxxxxxxxx>
>   * Copyright (C) 2010 Devin Heitmueller <dheitmueller@xxxxxxxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms 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@xxxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms 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@xxxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms 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@xxxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms 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@xxxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms 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@xxxxxxxxxx>
>   * Author: Michael Jung <mijung@xxxxxxx>
>   * Author: Michael Ruettger <michael@xxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms 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@xxxxxxxxx>
>   * Copyright (C) 2008 Hewlett-Packard Development Company, L.P.
>   *     Bjorn Helgaas <bjorn.helgaas@xxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms 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@xxxxxxxxxxxxxxxxxxx>
>   *
>   * Based on previous work by Lars Poeschel <poeschel@xxxxxxxxxxx>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms 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@xxxxxxxxx
>   * 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@xxxxxxxxxxxxxxxxxxxxxxx>
>   *      GOTO Masanori <gotom@xxxxxxxxxxxx>, <gotom@xxxxxxxxxx>
>   *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms 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@xxxxxxxx)
>  *
> @@ -25,16 +26,6 @@
>  *      Original by Tom Corner (tcorner@xxxxxx) was adapted from a
>  *      driver for the Qlogic SCSI card written by
>  *      David Hinds (dhinds@xxxxxxxxxxxxxxxxxxxx).
> -*
> -*  This program is free software; you can redistribute it and/or modify it
> -*  under the terms 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@xxxxxxxxxx
>   *    jshiffle@xxxxxxxxxx
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms 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@xxxxxxxxxx
>   *    jshiffle@xxxxxxxxxx
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms 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@xxxxxxxxxxxxxxxx)
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms 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@xxxxxxxxxxxxxx)
>   *
>   * Thanks to Juergen Heinzl <juergen@xxxxxxxxxxxxxxxxxxxxx> 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.
>
>




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux