Re: [PATCH v2 1/2] zram: zram_drv: add SPDX license identifiers

From: Joe Perches
Date: Tue Dec 21 2021 - 04:33:08 EST


On Fri, 2021-12-17 at 07:32 +0100, Miko Larsson wrote:
> zram_drv lacks an SPDX license identifier in both its source and in its
> header, so we should add license identifiers based on the copyright info
> provided by the initial comment block.
>
> Signed-off-by: Miko Larsson <mikoxyzzz@xxxxxxxxx>
> ---
> drivers/block/zram/zram_drv.c | 9 ++-------
> drivers/block/zram/zram_drv.h | 9 ++-------
> 2 files changed, 4 insertions(+), 14 deletions(-)
>
> diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c
[]
> @@ -1,15 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause

GPL v2 is a permissive license and this SPDX tag should probably be

// SPDX-License-Identifier: GPL-2.0-or-later or BSD-3-Clause

> +
> /*
> * Compressed RAM block device
> *
> * Copyright (C) 2008, 2009, 2010 Nitin Gupta
> * 2012, 2013 Minchan Kim
> - *
> - * This code is released using a dual license strategy: BSD/GPL
> - * You can choose the licence that better fits your requirements.
> - *
> - * Released under the terms of 3-clause BSD License
> - * Released under the terms of GNU General Public License Version 2.0