public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] USB speedtouch: turn on debugging if CONFIG_USB_DEBUG is set
@ 2004-04-13  9:12 Duncan Sands
  2004-04-14 16:57 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Duncan Sands @ 2004-04-13  9:12 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-usb-devel, linux-kernel

Hi Greg, this causes the speedtouch driver to output non-verbose
debugging messages if the kernel was configured with CONFIG_USB_DEBUG.
The patch is against your 2.6 kernel tree.

 speedtch.c |    4 ++++
 1 files changed, 4 insertions(+)


diff -Nru a/drivers/usb/misc/speedtch.c b/drivers/usb/misc/speedtch.c
--- a/drivers/usb/misc/speedtch.c	Tue Apr 13 10:57:33 2004
+++ b/drivers/usb/misc/speedtch.c	Tue Apr 13 10:57:33 2004
@@ -84,6 +84,10 @@
 #define VERBOSE_DEBUG
 */
 
+#if !defined (DEBUG) && defined (CONFIG_USB_DEBUG)
+#	define DEBUG
+#endif
+
 #include <linux/usb.h>
 
 #ifdef DEBUG

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

* Re: [PATCH 1/3] USB speedtouch: turn on debugging if CONFIG_USB_DEBUG is set
  2004-04-13  9:12 [PATCH 1/3] USB speedtouch: turn on debugging if CONFIG_USB_DEBUG is set Duncan Sands
@ 2004-04-14 16:57 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2004-04-14 16:57 UTC (permalink / raw)
  To: Duncan Sands; +Cc: linux-usb-devel, linux-kernel

On Tue, Apr 13, 2004 at 11:12:04AM +0200, Duncan Sands wrote:
> Hi Greg, this causes the speedtouch driver to output non-verbose
> debugging messages if the kernel was configured with CONFIG_USB_DEBUG.
> The patch is against your 2.6 kernel tree.

Applied, thanks.

greg k-h

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

end of thread, other threads:[~2004-04-14 17:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-13  9:12 [PATCH 1/3] USB speedtouch: turn on debugging if CONFIG_USB_DEBUG is set Duncan Sands
2004-04-14 16:57 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox