From: Duncan Sands <baldrick@free.fr>
To: Greg KH <greg@kroah.com>
Cc: linux-usb-devel@lists.sf.net, linux-kernel@vger.kernel.org
Subject: [PATCH 1/3] USB speedtouch: turn on debugging if CONFIG_USB_DEBUG is set
Date: Tue, 13 Apr 2004 11:12:04 +0200 [thread overview]
Message-ID: <200404131112.04621.baldrick@free.fr> (raw)
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
next reply other threads:[~2004-04-13 9:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-13 9:12 Duncan Sands [this message]
2004-04-14 16:57 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200404131112.04621.baldrick@free.fr \
--to=baldrick@free.fr \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sf.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®