[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b6c5339f0612190942l5a3ea48ft3315ab991ffd4f32@mail.gmail.com>
Date: Tue, 19 Dec 2006 12:42:41 -0500
From: "Bob Copeland" <me@...copeland.com>
To: "Dave Jones" <davej@...hat.com>,
"Robert P. J. Day" <rpjday@...dspring.com>,
"Linux kernel mailing list" <linux-kernel@...r.kernel.org>
Subject: Re: my handy-dandy, "coding style" script
On 12/19/06, Dave Jones <davej@...hat.com> wrote:
> On Tue, Dec 19, 2006 at 10:46:24AM -0500, Robert P. J. Day wrote:
> >
> > just for fun, i threw the following together to peruse the tree (or
> > any subdirectory) and look for stuff that violates the CodingStyle
> > guide. clearly, it's far from complete and very ad hoc, but it's
> > amusing. extra searches happily accepted.
>
> I had a bunch of similar greps that I've recently been half-assedly
> putting together into a single script too.
> See http://www.codemonkey.org.uk/projects/findbugs/
I don't know if anyone cares about them anymore, since I think gcc
grew some smarts in the area recently, but there are a lot of lines of
code matching "static int.*= *0;" and equivalents in the driver tree.
Bob
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists