[PATCH 1/7] checkpatch: check Makefiles and Kconfigs for SPDX tag
Joe Perches
joe at perches.com
Thu Jun 10 15:15:02 PDT 2021
On Thu, 2021-06-10 at 14:44 -0700, trix at redhat.com wrote:
> From: Tom Rix <trix at redhat.com>
>
> 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 at redhat.com>
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 \
More information about the Linux-mediatek
mailing list