From: Deepak Mishra <linux.dkm@gmail.com>
To: "Valdis Klētnieks" <valdis.kletnieks@vt.edu>
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: Checkpatch.pl FAIL: "Blob or Tree named 'other' not found"
Date: Sun, 12 May 2019 13:45:37 +0530 [thread overview]
Message-ID: <CAHkoDDYEsvpTVa7nvRJdutcQZS-fmD_gSqHR5Umat0AH-Y9G9g@mail.gmail.com> (raw)
In-Reply-To: <2090.1557646915@turing-police>
[-- Attachment #1.1: Type: text/plain, Size: 1232 bytes --]
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@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']
>
>
>
>
>
[-- Attachment #1.2: Type: text/html, Size: 1872 bytes --]
[-- Attachment #2: Type: text/plain, Size: 170 bytes --]
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
prev parent reply other threads:[~2019-05-12 8:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-12 6:15 Checkpatch.pl FAIL: "Blob or Tree named 'other' not found" Deepak Mishra
2019-05-12 7:41 ` Valdis Klētnieks
2019-05-12 8:15 ` Deepak Mishra [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAHkoDDYEsvpTVa7nvRJdutcQZS-fmD_gSqHR5Umat0AH-Y9G9g@mail.gmail.com \
--to=linux.dkm@gmail.com \
--cc=kernelnewbies@kernelnewbies.org \
--cc=valdis.kletnieks@vt.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).