Re: Problem facing while running checkpatch.pl on linux-next tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>





_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux