Re: almost time to run my kernel source cleaning scripts again?

From: Jesper Juhl
Date: Wed Apr 11 2012 - 17:52:20 EST


On Wed, 11 Apr 2012, Robert P. J. Day wrote:

>
> it's been a while so i was thinking of firing up my scripts to
> peruse the source tree looking for oddities/inconsistencies/whatever
> (unless someone else is already doing that).
>
> one example is looking for preprocessor tests of symbols that aren't
> defined in any Kconfig file, and i can focus on any part of the source
> tree. for example, if i run that script against drivers/mmc, i get:
>
> >>>>> MMC_MSM7X00A_RESUME_IN_WQ
> drivers/mmc/host/msm_sdcc.c:1408:#ifdef CONFIG_MMC_MSM7X00A_RESUME_IN_WQ
>
> telling me that a source file is testing a CONFIG variable that
> doesn't exist.
>
> the scripts are available online

I'd be interrested in taking a look at those. Got a URL where I can grab
them?


[...]

--
Jesper Juhl <jj@xxxxxxxxxxxxx> http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/