How to create patch for checkpatch.pl cleanups
Daniel Baluta
daniel.baluta at gmail.com
Sun Feb 5 16:10:29 EST 2012
On Sun, Feb 5, 2012 at 11:00 PM, kashyap gada <kashyapgada at yahoo.com> wrote:
> Hello Linux Newbies, I'm one too. I was looking out for some clean up work
> and I ran the checkpatch.pl script. I came across a file with some 400
> errors and 200 warnings. Now there were bunch of 80 char per line warning ,
> braces and related things. I don't want to be sending patches for each and
> every error or warning I fix as it becomes tedious and If i send lots of
> correction patches in one go the kernel maintainers wont accept it. I want
> to know Can we correct all similar errors or warnings in one patch? or
> series of patches?
Regarding 80 chars per line issues, people are discussing right now
on increasing the limit to 100. See [1].
For the other issues, just send a patch with all the changes. It should
be fine since you are modifying one single file.
thanks,
Daniel.
[1] https://lkml.org/lkml/2012/2/5/141
More information about the Kernelnewbies
mailing list