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

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

 



Reviewed-by: Kate Stewart <kstewart@xxxxxxxxxxxxxxxxxxx>


On Mon, May 20, 2019 at 12:10 PM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> Based on 1 normalized pattern(s):
>
>   this is free software you can redistribute it and or modify it under
>   the terms of the gnu general public license as published by the free
>   software foundation either version 2 of the license 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 14 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: linux-spdx@xxxxxxxxxxxxxxx
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch2&id=071996a06f85
> ---
>  arch/powerpc/boot/cuboot-mpc7448hpc2.c         |    7 +------
>  arch/powerpc/include/asm/mpc5xxx.h             |    7 +------
>  arch/powerpc/include/asm/mpc85xx.h             |    6 +-----
>  arch/powerpc/include/asm/ppc4xx.h              |    7 +------
>  arch/powerpc/platforms/512x/clock-commonclk.c  |    6 +-----
>  arch/powerpc/platforms/512x/mpc5121_ads.c      |    7 +------
>  arch/powerpc/platforms/512x/mpc5121_ads_cpld.c |    6 +-----
>  arch/powerpc/platforms/512x/mpc512x_generic.c  |    7 +------
>  arch/powerpc/platforms/512x/mpc512x_shared.c   |    6 +-----
>  arch/powerpc/platforms/512x/pdm360ng.c         |    7 +------
>  drivers/dma/fsldma.c                           |    7 +------
>  drivers/dma/fsldma.h                           |    7 +------
>  include/linux/dma/xilinx_dma.h                 |    6 +-----
>  include/linux/fsldma.h                         |    5 +----
>  14 files changed, 14 insertions(+), 77 deletions(-)
>
> --- a/arch/powerpc/boot/cuboot-mpc7448hpc2.c
> +++ b/arch/powerpc/boot/cuboot-mpc7448hpc2.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved.
>   *
> @@ -7,12 +8,6 @@
>   * Old U-boot compatibility for mpc7448hpc2 board
>   * Based on the code of Scott Wood <scottwood@xxxxxxxxxxxxx>
>   * for 83xx and 85xx.
> - *
> - * This is free software; you can redistribute it and/or modify
> - * it under the terms of  the GNU General  Public License as published by
> - * the Free Software Foundation;  either version 2 of the  License, or
> - * (at your option) any later version.
> - *
>   */
>
>  #include "ops.h"
> --- a/arch/powerpc/include/asm/mpc5xxx.h
> +++ b/arch/powerpc/include/asm/mpc5xxx.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved.
>   *
> @@ -5,12 +6,6 @@
>   *
>   * Description:
>   * MPC5xxx Prototypes and definitions
> - *
> - * This is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
>   */
>
>  #ifndef __ASM_POWERPC_MPC5xxx_H__
> --- a/arch/powerpc/include/asm/mpc85xx.h
> +++ b/arch/powerpc/include/asm/mpc85xx.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * MPC85xx cpu type detection
>   *
>   * Copyright 2011-2012 Freescale Semiconductor, Inc.
> - *
> - * This is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
>   */
>
>  #ifndef __ASM_PPC_MPC85XX_H
> --- a/arch/powerpc/include/asm/ppc4xx.h
> +++ b/arch/powerpc/include/asm/ppc4xx.h
> @@ -1,13 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * PPC4xx Prototypes and definitions
>   *
>   * Copyright 2008 DENX Software Engineering, Stefan Roese <sr@xxxxxxx>
> - *
> - * This is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
>   */
>
>  #ifndef __ASM_POWERPC_PPC4xx_H__
> --- a/arch/powerpc/platforms/512x/clock-commonclk.c
> +++ b/arch/powerpc/platforms/512x/clock-commonclk.c
> @@ -1,14 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2013 DENX Software Engineering
>   *
>   * Gerhard Sittig, <gsi@xxxxxxx>
>   *
>   * common clock driver support for the MPC512x platform
> - *
> - * This is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
>   */
>
>  #include <linux/bitops.h>
> --- a/arch/powerpc/platforms/512x/mpc5121_ads.c
> +++ b/arch/powerpc/platforms/512x/mpc5121_ads.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2007, 2008 Freescale Semiconductor, Inc. All rights reserved.
>   *
> @@ -5,12 +6,6 @@
>   *
>   * Description:
>   * MPC5121 ADS board setup
> - *
> - * This is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
>   */
>
>  #include <linux/kernel.h>
> --- a/arch/powerpc/platforms/512x/mpc5121_ads_cpld.c
> +++ b/arch/powerpc/platforms/512x/mpc5121_ads_cpld.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2008 Freescale Semiconductor, Inc. All rights reserved.
>   *
> @@ -5,11 +6,6 @@
>   *
>   * Description:
>   * MPC5121ADS CPLD irq handling
> - *
> - * This is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
>   */
>
>  #undef DEBUG
> --- a/arch/powerpc/platforms/512x/mpc512x_generic.c
> +++ b/arch/powerpc/platforms/512x/mpc512x_generic.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2007,2008 Freescale Semiconductor, Inc. All rights reserved.
>   *
> @@ -5,12 +6,6 @@
>   *
>   * Description:
>   * MPC512x SoC setup
> - *
> - * This is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
>   */
>
>  #include <linux/kernel.h>
> --- a/arch/powerpc/platforms/512x/mpc512x_shared.c
> +++ b/arch/powerpc/platforms/512x/mpc512x_shared.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2007,2008 Freescale Semiconductor, Inc. All rights reserved.
>   *
> @@ -5,11 +6,6 @@
>   *
>   * Description:
>   * MPC512x Shared code
> - *
> - * This is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
>   */
>
>  #include <linux/clk.h>
> --- a/arch/powerpc/platforms/512x/pdm360ng.c
> +++ b/arch/powerpc/platforms/512x/pdm360ng.c
> @@ -1,15 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2010 DENX Software Engineering
>   *
>   * Anatolij Gustschin, <agust@xxxxxxx>
>   *
>   * PDM360NG board setup
> - *
> - * This is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
>   */
>
>  #include <linux/kernel.h>
> --- a/drivers/dma/fsldma.c
> +++ b/drivers/dma/fsldma.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Freescale MPC85xx, MPC83xx DMA Engine support
>   *
> @@ -16,12 +17,6 @@
>   * command for PCI read operations, instead of using the default PCI Read Line
>   * command. Please be aware that this setting may result in read pre-fetching
>   * on some platforms.
> - *
> - * This is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
>   */
>
>  #include <linux/init.h>
> --- a/drivers/dma/fsldma.h
> +++ b/drivers/dma/fsldma.h
> @@ -1,15 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Copyright (C) 2007-2010 Freescale Semiconductor, Inc. All rights reserved.
>   *
>   * Author:
>   *   Zhang Wei <wei.zhang@xxxxxxxxxxxxx>, Jul 2007
>   *   Ebony Zhu <ebony.zhu@xxxxxxxxxxxxx>, May 2007
> - *
> - * This is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
>   */
>  #ifndef __DMA_FSLDMA_H
>  #define __DMA_FSLDMA_H
> --- a/include/linux/dma/xilinx_dma.h
> +++ b/include/linux/dma/xilinx_dma.h
> @@ -1,12 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
>   * Xilinx DMA Engine drivers support header file
>   *
>   * Copyright (C) 2010-2014 Xilinx, Inc. All rights reserved.
> - *
> - * This is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
>   */
>
>  #ifndef __DMA_XILINX_DMA_H
> --- a/include/linux/fsldma.h
> +++ b/include/linux/fsldma.h
> @@ -1,8 +1,5 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>  /*
> - * This is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
>   */
>
>  #ifndef FSL_DMA_H
>
>
>
>



[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