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

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

 



Reviewed by: Armijn Hemel <armijn@xxxxxxxxxx>
> Based on 1 normalized pattern(s):
>
>   this work is licensed under the terms of the gnu gpl version 2 or
>   later see the copying file in the top level directory
>
> extracted by the scancode license scanner the SPDX license identifier
>
>   GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 6 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=6f42bc6b9599
> ---
>  drivers/scsi/virtio_scsi.c         |    5 +----
>  drivers/virtio/virtio_mmio.c       |    6 +-----
>  drivers/virtio/virtio_pci_common.c |    5 +----
>  drivers/virtio/virtio_pci_common.h |    5 +----
>  drivers/virtio/virtio_pci_legacy.c |    5 +----
>  drivers/virtio/virtio_pci_modern.c |    5 +----
>  6 files changed, 6 insertions(+), 25 deletions(-)
>
> --- a/drivers/scsi/virtio_scsi.c
> +++ b/drivers/scsi/virtio_scsi.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Virtio SCSI HBA driver
>   *
> @@ -7,10 +8,6 @@
>   * Authors:
>   *  Stefan Hajnoczi   <stefanha@xxxxxxxxxxxxxxxxxx>
>   *  Paolo Bonzini   <pbonzini@xxxxxxxxxx>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> - *
>   */
>  
>  #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/drivers/virtio/virtio_mmio.c
> +++ b/drivers/virtio/virtio_mmio.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Virtio memory mapped device driver
>   *
> @@ -48,12 +49,7 @@
>   *		virtio_mmio.device=0x100@0x100b0000:48 \
>   *				virtio_mmio.device=1K@0x1001e000:74
>   *
> - *
> - *
>   * Based on Virtio PCI driver by Anthony Liguori, copyright IBM Corp. 2007
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
>   */
>  
>  #define pr_fmt(fmt) "virtio-mmio: " fmt
> --- a/drivers/virtio/virtio_pci_common.c
> +++ b/drivers/virtio/virtio_pci_common.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Virtio PCI driver - common functionality for all device versions
>   *
> @@ -11,10 +12,6 @@
>   *  Anthony Liguori  <aliguori@xxxxxxxxxx>
>   *  Rusty Russell <rusty@xxxxxxxxxxxxxxx>
>   *  Michael S. Tsirkin <mst@xxxxxxxxxx>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> - *
>   */
>  
>  #include "virtio_pci_common.h"
> --- a/drivers/virtio/virtio_pci_common.h
> +++ b/drivers/virtio/virtio_pci_common.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  #ifndef _DRIVERS_VIRTIO_VIRTIO_PCI_COMMON_H
>  #define _DRIVERS_VIRTIO_VIRTIO_PCI_COMMON_H
>  /*
> @@ -13,10 +14,6 @@
>   *  Anthony Liguori  <aliguori@xxxxxxxxxx>
>   *  Rusty Russell <rusty@xxxxxxxxxxxxxxx>
>   *  Michael S. Tsirkin <mst@xxxxxxxxxx>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> - *
>   */
>  
>  #include <linux/module.h>
> --- a/drivers/virtio/virtio_pci_legacy.c
> +++ b/drivers/virtio/virtio_pci_legacy.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Virtio PCI driver - legacy device support
>   *
> @@ -11,10 +12,6 @@
>   *  Anthony Liguori  <aliguori@xxxxxxxxxx>
>   *  Rusty Russell <rusty@xxxxxxxxxxxxxxx>
>   *  Michael S. Tsirkin <mst@xxxxxxxxxx>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> - *
>   */
>  
>  #include "virtio_pci_common.h"
> --- a/drivers/virtio/virtio_pci_modern.c
> +++ b/drivers/virtio/virtio_pci_modern.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Virtio PCI driver - modern (virtio 1.0) device support
>   *
> @@ -11,10 +12,6 @@
>   *  Anthony Liguori  <aliguori@xxxxxxxxxx>
>   *  Rusty Russell <rusty@xxxxxxxxxxxxxxx>
>   *  Michael S. Tsirkin <mst@xxxxxxxxxx>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> - *
>   */
>  
>  #include <linux/delay.h>
>
>

-- 
Armijn Hemel, MSc
Tjaldur Software Governance Solutions




[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