public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* next cleanup report:  "bad" references to CONFIG variables
@ 2009-06-25 14:34 Robert P. J. Day
  2009-06-25 19:24 ` Bug in arch/x86/include/asm/boot.h [Was: next cleanup report: "bad" references to CONFIG variables] Sam Ravnborg
  0 siblings, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2009-06-25 14:34 UTC (permalink / raw)
  To: Linux Kernel Mailing List


  here's the next cleanup report that's well underway -- "bad"
references to CONFIG variables that don't exist in any Kconfig file:

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

(currently, only the arch/ and drivers/ directories have been updated
-- the rest should be done shortly.)

  in a nutshell, that's a list of references to variables of the form
CONFIG_*, where there is no such variable defined anywhere in a
Kconfig file.  some possible reasons for that:

  1) leftover historical cruft
  2) simple typo
  3) someone's added code without adding the Kconfig infrastructure
     for it (annoyingly, there appears to be quite a lot of that)
  4) someone likes to name their macros with a "CONFIG_" prefix just
     to pollute the Kconfig namespace (argh)

in any event, it's all there (some of it starting to look awfully
familiar as the years go by).  as always, ignore the false positives.

rday
--

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

        Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Linked In:                             http://www.linkedin.com/in/rpjday
Twitter:                                       http://twitter.com/rpjday
========================================================================

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-06-25 21:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-25 14:34 next cleanup report: "bad" references to CONFIG variables Robert P. J. Day
2009-06-25 19:24 ` Bug in arch/x86/include/asm/boot.h [Was: next cleanup report: "bad" references to CONFIG variables] Sam Ravnborg
2009-06-25 19:27   ` Robert P. J. Day
2009-06-25 20:44     ` Sam Ravnborg
2009-06-25 21:43   ` 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