On Sun, Aug 28, 2011 at 9:29 AM, Michael Schwingen <rincew...@discworld.dascon.de> wrote: > On 27.08.2011 19:40, Øyvind Harboe wrote: >> >> As a maintainer I'm interested in this subject from the point of view >> of how it can be used to *save* time of the maintainers. >> >> E.g. if we had a script committed that checked that a patch sequence >> was acceptable, then that report could be amended to the patch >> sequence. > > Linux has checkpatch.pl (which is also used by uboot), which performs such > checks. > > However, that would probably require us to switch to Linux coding style - > maintaining a modified version of checkpatch is probably not worth the > effort for a small project like OpenOCD.
Also, I'd be happy to let someone else define what the "correct" coding style is. I don't particularly care as long as the check can be automated and the style is consistent. Are there scripts to fix coding style too? -- Øyvind Harboe - Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/ _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development