Checkpatch.pl FAIL: "Blob or Tree named 'other' not found"

Deepak Mishra linux.dkm at gmail.com
Sun May 12 04:15:37 EDT 2019


Thanks Valdis,
After applying the patch, I verified in my environment and the patch has
fixed the issue.

Best Regards
MishraDk

On Sun, May 12, 2019 at 1:12 PM Valdis Klētnieks <valdis.kletnieks at vt.edu>
wrote:

> On Sun, 12 May 2019 11:45:24 +0530, Deepak Mishra said:
>
> > 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
>
> Found the problem, patch submitted.  It's a one-line fix:
>
> diff --git a/scripts/spdxcheck.py b/scripts/spdxcheck.py
> index 4fe392e507fb..7abd5f5cb14d 100755
> --- a/scripts/spdxcheck.py
> +++ b/scripts/spdxcheck.py
> @@ -32,7 +32,7 @@ import os
>  def read_spdxdata(repo):
>
>      # The subdirectories of LICENSES in the kernel source
> -    license_dirs = [ "preferred", "other", "exceptions" ]
> +    license_dirs = [ "preferred", "dual", "deprecated", "exceptions" ]
>      lictree = repo.head.commit.tree['LICENSES']
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20190512/af8931f6/attachment.html>


More information about the Kernelnewbies mailing list