Re: checkpatch: SPDX integration breaks --root

2018-07-30 Thread Charlemagne Lasse
> OK. How about: > > though this might not work on a path with spaces > or some such... > > --- > scripts/checkpatch.pl | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > index f25f708cd2a7..afb9fb27908c 100755 > --- a/scri

Re: checkpatch: SPDX integration breaks --root

2018-07-30 Thread Joe Perches
On Mon, 2018-07-30 at 17:52 +0200, Charlemagne Lasse wrote: > > Does this work for you: > > --- > > scripts/checkpatch.pl | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > > index f25f708cd2a7..f0e6913c5cc1 100755 > > --

Re: checkpatch: SPDX integration breaks --root

2018-07-30 Thread Charlemagne Lasse
> Does this work for you: > --- > scripts/checkpatch.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > index f25f708cd2a7..f0e6913c5cc1 100755 > --- a/scripts/checkpatch.pl > +++ b/scripts/checkpatch.pl > @@ -852,7 +852,7 @@

Re: checkpatch: SPDX integration breaks --root

2018-07-30 Thread Joe Perches
On Mon, 2018-07-30 at 10:53 +0200, Charlemagne Lasse wrote: > Hi, > > I am now getting python errors when using --root with checkpatch.pl > and not being inside the linux repository. > > $ ./linux-next/scripts/checkpatch.pl --root=/usr/src/linux-next > --strict -f linux-next/Makefile > FAIL: /usr

checkpatch: SPDX integration breaks --root

2018-07-30 Thread Charlemagne Lasse
Hi, I am now getting python errors when using --root with checkpatch.pl and not being inside the linux repository. $ ./linux-next/scripts/checkpatch.pl --root=/usr/src/linux-next --strict -f linux-next/Makefile FAIL: /usr/src Traceback (most recent call last): File /usr/src/linux-next/scripts/sp