Re: [PATCH v6] checkpatch.pl: Add SPDX license tag check

From: Greg Kroah-Hartman
Date: Fri Feb 02 2018 - 11:13:00 EST


On Fri, Feb 02, 2018 at 05:49:20PM +0200, Igor Stoppa wrote:
> On 02/02/18 17:40, Rob Herring wrote:
> > Add SPDX license tag check based on the rules defined in
>
> Shouldn't it also check that the license is compatible?

Baby steps please :)

> [...]
>
> > + } elsif ($realfile =~ /\.rst$/) {
> > + $comment = '..';
>
> What is the correct/acceptable license for documentation?
> Creative Commons? AFAIK GPL is for source code.
>
> Googling didn't bring the wished-for enlightenment.

It depends on what you want to allow the documentation to be used for.
It's not a simple answer :(

thanks,

greg k-h