Re: [PATCH] checkpatch: Validate SPDX license with spdxcheck.py

From: Rob Herring
Date: Tue Jul 24 2018 - 13:29:38 EST


On Tue, Jul 24, 2018 at 11:04 AM Joe Perches <joe@xxxxxxxxxxx> wrote:
>
> Use the existing scripts/spdxcheck.py to validate any
> SPDX-License-Identifier found in line 1 or 2 of patches or files.
>
> Miscellanea:
>
> o Properly indent the existing SPDX-License-Identifier block.
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> ---
> scripts/checkpatch.pl | 20 ++++++++++++++++++--
> 1 file changed, 18 insertions(+), 2 deletions(-)

Acked-by: Rob Herring <robh@xxxxxxxxxx>