From: Robert P. J. Day on

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
========================================================================
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/