From: jkhasdev@gmail.com (Jitendra kumar Khasdev)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Problem facing while running checkpatch.pl on linux-next tree
Date: Thu, 25 Dec 2014 10:11:06 +0000 (UTC) [thread overview]
Message-ID: <loom.20141225T110805-474@post.gmane.org> (raw)
In-Reply-To: CALeaES3WKfQhSUXHNiw3UxwaJbu6e2Xr4w9gV108+4r4b=AonQ@mail.gmail.com
Rahul Garg <rahul.lnmiit <at> gmail.com> writes:
>
> Hi All,
>
> I am trying to run checkpatch.pl on linux-next tree's staging folder.
> But whatever sub directory, I try to run it on. It is giving me the
> same error for all the files :
>
> ERROR: Does not appear to be a unified-diff format patch
>
> I thought that it might be a problem with my git. So I clone the git tree
again.
>
> So can anyone help me, what am I missing ?
>
> Regards
> Rahul
>
Dear Rahul,
It seems that while running ./script/checkpatch.pl you are missing flags.
I think try this command:
./scripts/checkpatch.pl --file --terse ./drivers/staging/comedi/drives/<your
file name>
prev parent reply other threads:[~2014-12-25 10:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-27 9:00 Problem facing while running checkpatch.pl on linux-next tree Rahul Garg
2014-07-27 9:47 ` Sudip Mukherjee
2014-07-27 10:03 ` Yann Droneaud
2014-07-27 18:08 ` anish singh
2014-12-25 10:11 ` Jitendra kumar Khasdev [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=loom.20141225T110805-474@post.gmane.org \
--to=jkhasdev@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/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).