Re: [PATCH v2 1/2] scsi: ufs: Add SPDX GPL-2.0 to replace GPL v2 boilerplate

From: Eric Biggers
Date: Fri Jun 05 2020 - 15:18:11 EST


On Fri, Jun 05, 2020 at 09:14:38PM +0200, Bean Huo wrote:
> From: Bean Huo <beanhuo@xxxxxxxxxx>
>
> Add SPDX GPL-2.0 to UFS driver files that specified the GPL
> version 2 license, remove the full boilerplate text.
>
> Signed-off-by: Bean Huo <beanhuo@xxxxxxxxxx>
> ---
> drivers/scsi/ufs/ufs.h | 27 +--------------------------
> drivers/scsi/ufs/ufshcd-pci.c | 25 +------------------------
> drivers/scsi/ufs/ufshcd-pltfrm.c | 27 +--------------------------
> drivers/scsi/ufs/ufshcd.c | 30 +-----------------------------
> drivers/scsi/ufs/ufshcd.h | 27 +--------------------------
> drivers/scsi/ufs/ufshci.h | 27 +--------------------------
> 6 files changed, 6 insertions(+), 157 deletions(-)
>
> diff --git a/drivers/scsi/ufs/ufs.h b/drivers/scsi/ufs/ufs.h
> index c70845d41449..4df9150769b7 100644
> --- a/drivers/scsi/ufs/ufs.h
> +++ b/drivers/scsi/ufs/ufs.h
> @@ -1,36 +1,11 @@
> +/* SPDX-License-Identifier: GPL-2.0 */
> /*
> * Universal Flash Storage Host controller driver
> - *
> - * This code is based on drivers/scsi/ufs/ufs.h
> * Copyright (C) 2011-2013 Samsung India Software Operations
> *
> * Authors:
> * Santosh Yaraganavi <santosh.sy@xxxxxxxxxxx>
> * Vinayak Holikatti <h.vinayak@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.
> - * See the COPYING file in the top-level directory or visit
> - * <http://www.gnu.org/licenses/gpl-2.0.html>

This actually says GPL v2 or later. Not GPL v2 only.

- Eric