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

From: Greg Kroah-Hartman
Date: Thu Nov 09 2017 - 04:13:12 EST


On Wed, Nov 08, 2017 at 06:10:19PM -0800, Joe Perches wrote:
> On Wed, 2017-11-08 at 19:10 -0600, Rob Herring wrote:
> > Add a check warning if SPDX-License-Identifier tags are not used in
> > newly added files.
>
> If this is to be done, and I think it's not a great idea,
> there are better ways of doing this that emit this warning
> on a per-file basis instead of a per-patch.

Any hints as to how to do that? :)

thanks,

greg k-h