Re: [PATCH] scripts/cvt_kernel_style.pl: kernel style source code reformatter

From: Frans Pop
Date: Wed Mar 24 2010 - 18:32:13 EST


On Wednesday 24 March 2010, Joe Perches wrote:
> A script to convert kernel source files to a more conformant style.
> A supplement to or replacement of Lindent.
> A wretched little perl script using regexes.

I've found the script useful, but it does require some experience and
judgement to use correctly.

For example, with my 'trailing spaces in messages' patches I've found it
is essential to review all changes to avoid e.g. changing output to files
in /proc. Doing that can be valid, but it probably should not be included
in the same patch as removing trailing space from kernel messages.

Given that experience and judgement is needed to use many tools correctly,

Supported-by: Frans Pop <elendil@xxxxxxxxx>

Cheers,
FJP
--
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/