Re: [PATCH 0/2] small xhci cleanups

From: Greg KH
Date: Tue Mar 16 2010 - 17:40:01 EST


On Tue, Mar 16, 2010 at 02:24:45PM -0700, Sarah Sharp wrote:
> Ok, I didn't see Greg's email about dynamic debugging. I guess you
> shouldn't refresh the second patch. I'm not sure how I would go about
> converting the xHCI driver to dynamic debugging, as I haven't looked
> into it. Is there any documentation/simple examples?

Yes, just use 'dev_dbg' and you are finished.

Or pr_debug if you want to use different logging levels with your
macros.

> Greg, does the less-verbose patch with log levels still make sense if
> the driver got converted over to dynamic debugging?

I don't know what people really want to see. In 6 months you will
probably only care about "debugging on or off" as the majority of the
messages only help you out when developing the driver, right?

So maybe par down some of the messages, or just live with seeing them
all, it will be easier in the end.

thanks,

grg 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/