All of lore.kernel.org
 help / color / mirror / Atom feed
* the usage of DEBUG_DRIVER seems ambiguous
@ 2007-03-08  0:44 Robert P. J. Day
  2007-03-08 19:18 ` Randy Dunlap
  0 siblings, 1 reply; 6+ messages in thread
From: Robert P. J. Day @ 2007-03-08  0:44 UTC (permalink / raw)
  To: Linux Kernel Mailing List


  the usage of the DEBUG_DRIVER preprocessor variable is a big
confusing:

$ $ grep -rw DEBUG_DRIVER *
drivers/net/sunlance.c:#undef DEBUG_DRIVER
drivers/net/a2065.c:#ifdef DEBUG_DRIVER
drivers/net/a2065.c:#ifdef DEBUG_DRIVER
drivers/net/7990.c:#ifdef DEBUG_DRIVER
drivers/net/7990.c:#ifdef DEBUG_DRIVER
drivers/base/Kconfig:config DEBUG_DRIVER
...

  it's clearly a configuration variable, but it's also being used by
itself in a few drivers/net/ source files.  is that deliberate?

rday

-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================

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

end of thread, other threads:[~2007-03-09 16:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-08  0:44 the usage of DEBUG_DRIVER seems ambiguous Robert P. J. Day
2007-03-08 19:18 ` Randy Dunlap
2007-03-08 19:59   ` Robert P. J. Day
2007-03-09 14:06   ` Artem Bityutskiy
2007-03-09 14:19     ` Robert P. J. Day
2007-03-09 16:25       ` Stefan Richter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.