Re: checkpatch whitespace

From: Andy Whitcroft
Date: Tue Jul 21 2009 - 09:06:40 EST


On Wed, Jul 22, 2009 at 01:05:27PM +0200, Bartlomiej Zolnierkiewicz wrote:
> On Tuesday 21 July 2009 12:01:14 Pavel Machek wrote:
>
> > Would it be possible to add autofixing to checkpatch? Fixing
> > whitespace issues by hand is useless & boring task...
>
> That's why most people use scripts for it.. ;)
>
> scripts/cleanfile
> scripts/cleanpatch
>
> Maybe we should make checkpatch inform people about them
> (if any whitespace errors were detected)..

That sounds like a good idea. Will have a look at doing that.

-apw
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/