Re: [PATCH] Driver Core update for 2.6.4-rc1

From: Greg KH
Date: Wed Mar 03 2004 - 18:29:40 EST


On Wed, Mar 03, 2004 at 10:24:54PM +0000, Russell King wrote:
> 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@xxxxxxxxx
> >
> > 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?

Yes it would, I didn't realize we could do that :)
Do any other subsystems do that?

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/