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

Yann Droneaud ydroneaud at opteya.com
Sun Jul 27 06:03:58 EDT 2014


Hi,

Le dimanche 27 juillet 2014 à 14:30 +0530, Rahul Garg a écrit :

> 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 ?
> 

If it's not a patch, you have to use -f flag to check a plain source
file.

Regards.

-- 
Yann Droneaud
OPTEYA





More information about the Kernelnewbies mailing list