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

From: Christoph Hellwig
Date: Thu Dec 16 2021 - 05:12:53 EST


On Wed, Dec 15, 2021 at 08:21:27PM +0100, Miko Larsson wrote:
> zram_drv lacks an SPDX license identifier in both its source and in its
> header, so we should add a 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 | 2 ++
> drivers/block/zram/zram_drv.h | 2 ++
> 2 files changed, 4 insertions(+)
>
> diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c
> index 25071126995b..464ef53adcbc 100644
> --- a/drivers/block/zram/zram_drv.c
> +++ b/drivers/block/zram/zram_drv.c
> @@ -1,3 +1,5 @@
> +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause

Please drop the free form license boilerplate when adding SPDX tags.