[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFGhKbzXiAx3iaveOQhXCseH2kg1U=j-sp0B9jNSF2wPUjDtFg@mail.gmail.com>
Date: Mon, 30 Jul 2018 10:53:28 +0200
From: Charlemagne Lasse <charlemagnelasse@...il.com>
To: Joe Perches <joe@...ches.com>
Cc: Rob Herring <robh@...nel.org>, Gleixner <tglx@...utronix.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Stephen Rothwell <sfr@...b.auug.org.au>,
LKML <linux-kernel@...r.kernel.org>
Subject: checkpatch: SPDX integration breaks --root
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/spdxcheck.py", line 230, in <module>
repo = git.Repo(os.getcwd())
File "/usr/lib/python2.7/dist-packages/git/repo/base.py", line 156, in __init__
raise InvalidGitRepositoryError(epath)
InvalidGitRepositoryError: /usr/src
total: 0 errors, 0 warnings, 0 checks, 1726 lines checked
linux-next/Makefile has no obvious style problems and is ready for submission.
Powered by blists - more mailing lists