Re: [PATCH v2 7/7] dmaengine: dw: convert to SPDX identifiers

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

 



On 05-12-18, 18:28, Andy Shevchenko wrote:
> This patch updates license to use SPDX-License-Identifier
> instead of verbose license text.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
>  drivers/dma/dw/Kconfig               | 2 ++
>  drivers/dma/dw/core.c                | 5 +----
>  drivers/dma/dw/internal.h            | 5 +----
>  drivers/dma/dw/pci.c                 | 5 +----
>  drivers/dma/dw/platform.c            | 5 +----
>  drivers/dma/dw/regs.h                | 5 +----
>  include/linux/dma/dw.h               | 5 +----
>  include/linux/platform_data/dma-dw.h | 5 +----
>  8 files changed, 9 insertions(+), 28 deletions(-)
> 
> diff --git a/drivers/dma/dw/Kconfig b/drivers/dma/dw/Kconfig
> index 04b9728c1d26..e5162690de8f 100644
> --- a/drivers/dma/dw/Kconfig
> +++ b/drivers/dma/dw/Kconfig
> @@ -1,3 +1,5 @@
> +# SPDX-License-Identifier: GPL-2.0
> +
>  #
>  # DMA engine configuration for dw
>  #
> diff --git a/drivers/dma/dw/core.c b/drivers/dma/dw/core.c
> index b7e4dab28f8a..3a1ab52ffae0 100644
> --- a/drivers/dma/dw/core.c
> +++ b/drivers/dma/dw/core.c
> @@ -1,13 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0
>  /*
>   * Core driver for the Synopsys DesignWare DMA Controller
>   *
>   * Copyright (C) 2007-2008 Atmel Corporation
>   * Copyright (C) 2010-2011 ST Microelectronics
>   * Copyright (C) 2013 Intel Corporation
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation.
>   */
>  
>  #include <linux/bitops.h>
> diff --git a/drivers/dma/dw/internal.h b/drivers/dma/dw/internal.h
> index fdcac21ea665..4be4c9596260 100644
> --- a/drivers/dma/dw/internal.h
> +++ b/drivers/dma/dw/internal.h
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0

That is not correct, See Documentation/process/license-rules.rst

For headers it is:

C header: /* SPDX-License-Identifier: <SPDX License Expression> */

-- 
~Vinod



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux