Checkpatch.pl and code cleanup
Greg KH
greg at kroah.com
Mon Mar 31 01:09:08 EDT 2014
On Mon, Mar 31, 2014 at 10:15:14AM +0530, Abhijeet Kasurde wrote:
> Hi All,
>
> Pardon me, if this question is asked previously,
>
> Recently, I came across script in Linux Kernel called 'checkpatch.pl'
> which is checks coding style of a patch or file.
>
> Out of curiosity, I ran script on multiple modules and saw indentation
> and other errors in coding style. So question is, Can I fix them or
> these errors in coding style are "low hanging fruits" for now ?
For some parts of the kernel, checkpatch fixes are gladly accepted, like
drivers/staging/*. Other parts, it's harder to get them accepted as the
code is old and no one wants to touch it anymore (like scsi drivers.)
good luck,
greg k-h
More information about the Kernelnewbies
mailing list