lkml.org 
[lkml]   [2004]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Driver Core update for 2.6.4-rc1
On Tue, Mar 02, 2004 at 08:16:39PM -0800, Greg KH wrote:
> ChangeSet 1.1612.24.4, 2004/03/02 16:39:36-08:00, greg@kroah.com
>
> Driver core: add CONFIG_DEBUG_DRIVER to help track down driver core bugs easier.

Wouldn't a cleaner way to do this be to add -DDEBUG to EXTRA_CFLAGS
in the makefile if CONFIG_DEBUG_DRIVER is set, and remove the #undef
DEBUG statements in each .c file?

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.748 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site