Re: [PATCH 0/9] Kconfig: cleanup s390 v2.

Andrew Morton
2007-04-26T01:07:38Z

On Thu, 26 Apr 2007 02:32:06 +0200 Arnd Bergmann <arnd@arndb.de> wrote:

> On Thursday 26 April 2007, Andrew Morton wrote:
> > It would be neat if someone could create and maintain a new
> > scripts/spot-common-mistakes.  Feed it a unified diff and it would complain
> > about newly-added code (and only newly-added code) which has busted
> > whitespace, adds new semaphores, adds new kernel_thread calls, etc, etc.
>
> http://patchstylecheck.googlecode.com/svn/trunk/patchstylecheckemail.pl
> Might serve as a starting point for this. It doesn't have any semantic
> checks right now, but I guess they can be added.
>

print "Your patch is now worthy to be reviewed by a real person\n";

heh. Yes, that looks like an ideal starting point.

Methinks it should do `exit 1' if anything was detected.