[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070428171101.GC20646@redhat.com>
Date: Sat, 28 Apr 2007 13:11:01 -0400
From: Dave Jones <davej@...hat.com>
To: Matt Mackall <mpm@...enic.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Randy Dunlap <randy.dunlap@...cle.com>,
linux-kernel@...r.kernel.org
Subject: Re: checkpatch, a patch checking script.
On Sat, Apr 28, 2007 at 11:11:36AM -0500, Matt Mackall wrote:
> > I'm all ears for additional regexps, bug reports or other suggestions.
>
> Neat.
>
> Does it check for:
>
> functions marked extern?
> pulling in external functions or variables without a header file?
> return used as a function, eg return(foo);?
These sound a little more tricky than just dumb regexps.
I don't want to expand this to a fullblown C parser (given
that we have sparse which can do a better job), but I don't
object to adding some extra code to give the searches more
context.
Dave
--
http://www.codemonkey.org.uk
-
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