Re: [PATCH] checkpatch.pl: Add SPDX license tag check for dts files and headers

From: Masahiro Yamada
Date: Wed Jun 07 2017 - 04:45:28 EST


Hi Rob,

2017-02-24 0:56 GMT+09:00 Rob Herring <robh@xxxxxxxxxx>:
> Add a check for using SPDX-License-Identifier tags to define the license of
> .dts{i} and DT header files rather than using free form license text. This
> check looks for GPL, BSD, or X11(really incorrectly labeled MIT license)
> license text which are the commonly used DT licenses.
>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
> Cc: Andy Whitcroft <apw@xxxxxxxxxxxxx>
> Cc: Joe Perches <joe@xxxxxxxxxxx>

I have a question.

Is SPDX encouraged only for DT?

What should we do with C source files?


--
Best Regards
Masahiro Yamada