* latest scan for "bad" config variable references in kernel tree
@ 2010-07-23 14:45 Robert P. J. Day
0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2010-07-23 14:45 UTC (permalink / raw)
To: Linux Kernel Mailing List
as of 2.6.35-rc6, i ran another scan of the tree, looking for "bad"
config variable references, as in, preprocessor tests of CONFIG_
variables that aren't defined in any Kconfig file that i can see.
it's all broken down by directory and subdirectory:
http://www.crashcourse.ca/wiki/index.php/Badref_CONFIG_variables
as an example, here's what showed up under drivers/mmc:
>>>>> MMC_EMBEDDED_SDIO
drivers/mmc/host/msm_sdcc.c:1148:#ifdef CONFIG_MMC_EMBEDDED_SDIO
>>>>> MMC_MSM7X00A_RESUME_IN_WQ
drivers/mmc/host/msm_sdcc.h:238:#ifdef CONFIG_MMC_MSM7X00A_RESUME_IN_WQ
drivers/mmc/host/msm_sdcc.c:1060:#ifdef CONFIG_MMC_MSM7X00A_RESUME_IN_WQ
as in, there's a test for "CONFIG_MMC_EMBEDDED_SDIO" when there is
no definition of such a variable in a Kconfig file.
more scanning coming later, but that page covers the whole tree
looking for just that property.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Top-notch, inexpensive online Linux/OSS/kernel courses
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-07-23 14:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-23 14:45 latest scan for "bad" config variable references in kernel tree Robert P. J. Day
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox