2009-12-28 17:11:35

by Robert P. J. Day

[permalink] [raw]
Subject: largest part of "badref" config variables now updated


the lion's share of finding badref CONFIG variables is now done,
these two subpages:

http://www.crashcourse.ca/wiki/index.php/Badref_CONFIG_variables#arch.2F
http://www.crashcourse.ca/wiki/index.php/Badref_CONFIG_variables#drivers.2F

the rest of this page:

http://www.crashcourse.ca/wiki/index.php/Badref_CONFIG_variables

will be updated later today. just to refresh memories, those wiki
pages identify variables that are being tested, but are not being
defined in any Kconfig file anywhere. here's an example:

drivers/input/serio/i8042-ppcio.h:55:#elif defined(CONFIG_SPRUCE)

so that header file is testing CONFIG_SPRUCE when there's no such
variable. another example:

drivers/ssb/main.c:497:#ifdef CONFIG_SSB_SDIO

(perhaps that should be testing CONFIG_SSB_SDIOHOST?)

you get the idea. and, yes, you really should take the time to
examine your favourite subsystem, because if you end up wasting hours
tracking down a bug, won't you feel silly once you realize it was
identified months ago and listed at my wiki page? :-)

rday
--

========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA

Linux Consulting, Training and Kernel Pedantry.

Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================