Checkpatch.pl FAIL: "Blob or Tree named 'other' not found"
Deepak Mishra
linux.dkm at gmail.com
Sun May 12 02:15:24 EDT 2019
Hi all,
I am trying to run checkpatch.pl on latest kernel version 5.1.0 source tree
from orig head 80f232121b69cc69a31ccb2b38c1665d770b0710
When I run checkpatch.pl, for every file I get the follwong or similar
error. Could you please help if this is my environment issue or actually
error in code which I need to fix ?
I executed the following in command prompt.
perl scripts/checkpatch.pl -f drivers/staging/rtl8712/* |less
The error I observe
drivers/staging/rtl8712/rtl871x_rf.h
------------------------------------
FAIL: "Blob or Tree named 'other' not found"
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 240, in <module>
spdx = read_spdxdata(repo)
File "scripts/spdxcheck.py", line 41, in read_spdxdata
for el in lictree[d].traverse():
File "/usr/lib/python2.7/dist-packages/git/objects/tree.py", line 298, in
__getitem__
return self.join(item)
File "/usr/lib/python2.7/dist-packages/git/objects/tree.py", line 244, in
join
raise KeyError(msg % file)
KeyError: "Blob or Tree named 'other' not found"
total: 0 errors, 0 warnings, 0 checks, 56 lines checked
Please suggest me.
Best Regards
Mishradk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20190512/7995ac96/attachment.html>
More information about the Kernelnewbies
mailing list