[ofa-general] Re: Usage of checkpatch

Roland Dreier rdreier at cisco.com
Thu Jan 8 14:13:16 PST 2009


 > I've noticed that you've mentioned checkpatch.pl a few times; I'd like to think of myself as a good programmer, so I'd like to use it myself - but I'm running into a problem: checkpatch.pl doesn't seem to be included in any of the distros I have installed (RedHat, CentOS, SuSE).
 > 
 > Do I need to be running a kernel.org kernel in order to get this script?

checkpatch.pl is in the kernel source in the scripts directory.  You
don't have to run any particular kernel to run it (it's just a perl
script) but the easiest way to get it is to use an up-to-date kernel
tree (which you need anyway if you're doing kernel development).

 - R.



More information about the general mailing list