Re: [PATCH] spi: s3c64xx: add SPDX identifier
From: Krzysztof Kozlowski
Date: Tue Dec 12 2017 - 04:17:23 EST
On Tue, Dec 12, 2017 at 8:58 AM, Andi Shyti <andi.shyti@xxxxxxxxxxx> wrote:
> Replace the original license statement with the SPDX identifier.
>
> Signed-off-by: Andi Shyti <andi.shyti@xxxxxxxxxxx>
> ---
> drivers/spi/spi-s3c64xx.c | 18 ++++--------------
> include/linux/platform_data/spi-s3c64xx.h | 4 +---
> 2 files changed, 5 insertions(+), 17 deletions(-)
>
> diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c
> index de7df20f8712..7ef68d45edfb 100644
> --- a/drivers/spi/spi-s3c64xx.c
> +++ b/drivers/spi/spi-s3c64xx.c
> @@ -1,17 +1,7 @@
> -/*
> - * Copyright (C) 2009 Samsung Electronics Ltd.
> - * Jaswinder Singh <jassi.brar@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 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - */
> +// SPDX-License-Identifier: GPL-2.0
Hi,
Existing license corresponds to GPL-2.0+, not GPL-2.0.
Why changing the comment style?
Best regards,
Krzysztof
> +//
> +// Copyright (c) 2009 Samsung Electronics Co., Ltd.
> +// Jaswinder Singh <jassi.brar@xxxxxxxxxxx>
>
> #include <linux/init.h>
> #include <linux/module.h>
> diff --git a/include/linux/platform_data/spi-s3c64xx.h b/include/linux/platform_data/spi-s3c64xx.h
> index da79774078a7..8917f38c97c5 100644
> --- a/include/linux/platform_data/spi-s3c64xx.h
> +++ b/include/linux/platform_data/spi-s3c64xx.h
> @@ -2,9 +2,7 @@
> * Copyright (C) 2009 Samsung Electronics Ltd.
> * Jaswinder Singh <jassi.brar@xxxxxxxxxxx>
> *
> - * 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.
> + * SPDX-License-Identifier: GPL-2.0
> */
>
> #ifndef __SPI_S3C64XX_H
> --
> 2.15.1
>