Re: [PATCH 1/7] checkpatch: check Makefiles and Kconfigs for SPDX tag
From: Joe Perches
Date: Thu Jun 10 2021 - 18:15:22 EST
On Thu, 2021-06-10 at 14:44 -0700, trix@xxxxxxxxxx wrote:
> From: Tom Rix <trix@xxxxxxxxxx>
>
> Both Makefiles and Kconfigs should carry an SPDX tag.
> Something like
> # SPDX-License-Identifier: GPL-2.0-only
>
> Add a matcher to existing check
>
> Signed-off-by: Tom Rix <trix@xxxxxxxxxx>
Seems fine, thanks.
There's a Makefile with two tags that could be updated too.
---
drivers/staging/media/atomisp/Makefile | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/media/atomisp/Makefile b/drivers/staging/media/atomisp/Makefile
index 51498b2e85b8f..cee03e31f420d 100644
--- a/drivers/staging/media/atomisp/Makefile
+++ b/drivers/staging/media/atomisp/Makefile
@@ -11,7 +11,6 @@ DEFINES += -DDEBUG
atomisp = $(srctree)/drivers/staging/media/atomisp/
-# SPDX-License-Identifier: GPL-2.0
atomisp-objs += \
pci/atomisp_acc.o \
pci/atomisp_cmd.o \