Re: [PATCH 0/6] Address issues with SPDX requirements and PEP-263

From: Joe Perches
Date: Fri Sep 06 2019 - 08:22:48 EST


On Fri, 2019-09-06 at 09:02 -0300, Mauro Carvalho Chehab wrote:
> Em Thu, 05 Sep 2019 13:05:08 -0700
> Joe Perches <joe@xxxxxxxxxxx> escreveu:
>
> > On Thu, 2019-09-05 at 16:57 -0300, Mauro Carvalho Chehab wrote:
> > > The description at Documentation/process/license-rules.rst is very strict
> > > with regards to the position where the SPDX tags should be.
> > []
> > > PS.: I sent already a RFC version for those patches along with this
> > > thread:
> > >
> > > https://lore.kernel.org/lkml/b32c2e46b91e7bcda2a9bd140673f06d71b2487a.camel@xxxxxxxxxxx/
> >
> > Nice, thanks.
> >
> > Now I guess I have to update checkpatch too.
> > (unless you want to... ;)
>
> Yeah, it makes sense to update checkpatch too. Perhaps it could be
> changed to use the "-s" flag on the check, instead of implementing
> its own logic to handle the position.

I think checkpatch needs its own logic as its
source input is a patch file.