From mboxrd@z Thu Jan 1 00:00:00 1970 From: jkhasdev@gmail.com (Jitendra kumar Khasdev) Date: Thu, 25 Dec 2014 10:11:06 +0000 (UTC) Subject: Problem facing while running checkpatch.pl on linux-next tree References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Rahul Garg 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/