Please do not generate patches purely based on checkpatch.

Greg KH greg at
Sat Jul 25 18:12:20 EDT 2015

On Sat, Jul 25, 2015 at 04:49:32PM -0400, greg.freemyer at wrote:
> On the other hand if you submit a patch that addresses a real bug,
> then simultaneously doing a checkpatch related patch to the same area
> is a very good idea.

No, that would be two different things.  Do the bug fix first, and then
the cleanup on a different patch.  And even then, most maintainers will
not take a cleanup patch.  Stick with subsystems that do take these
types of fixes if you want/like to do them (i.e. drivers/staging/*)


greg k-h

More information about the Kernelnewbies mailing list