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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: checkpatch, a patch checking script.
- From: Matt Mackall <[email protected]>
- Re: checkpatch, a patch checking script.
- References:
- [PATCH 0/9] Kconfig: cleanup s390 v2.
- From: Martin Schwidefsky <[email protected]>
- Re: [PATCH 0/9] Kconfig: cleanup s390 v2.
- From: Andrew Morton <[email protected]>
- Re: [PATCH 0/9] Kconfig: cleanup s390 v2.
- From: Randy Dunlap <[email protected]>
- Re: [PATCH 0/9] Kconfig: cleanup s390 v2.
- From: Andrew Morton <[email protected]>
- Re: [PATCH 0/9] Kconfig: cleanup s390 v2.
- From: Andrew Morton <[email protected]>
- Re: [PATCH 0/9] Kconfig: cleanup s390 v2.
- From: Dave Jones <[email protected]>
- Re: [PATCH 0/9] Kconfig: cleanup s390 v2.
- From: Randy Dunlap <[email protected]>
- Re: [PATCH 0/9] Kconfig: cleanup s390 v2.
- From: Andrew Morton <[email protected]>
- checkpatch, a patch checking script.
- From: Dave Jones <[email protected]>
- Re: checkpatch, a patch checking script.
- From: Matt Mackall <[email protected]>
- [PATCH 0/9] Kconfig: cleanup s390 v2.
- Prev by Date: Re: [mmc] alternative TI FM MMC/SD driver for 2.6.21-rc7
- Next by Date: Re: [ext3][kernels >= 2.6.20.7 at least] KDE going comatose when FS is under heavy write load (massive starvation)
- Previous by thread: Re: checkpatch, a patch checking script.
- Next by thread: Re: checkpatch, a patch checking script.
- Index(es):