summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2007-08-18 09:19:59 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-08-23 01:27:52 +0400
commitbdd203a002681d7b2e133e485573f43d41e4cf69 (patch)
tree5000933bd45b30b246a0034ccdcfdbfe3cd242eb /drivers/usb
parent2f67cd5b1d5066d11761aebb0bf4b76bc253cc99 (diff)
downloadlinux-bdd203a002681d7b2e133e485573f43d41e4cf69.tar.xz
USB: ohci, fix oddball gcc warning
Some versions of GCC recently grew annoying warnings about constants. This gets rid of that warning from the OHCI driver. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/ohci-dbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-dbg.c b/drivers/usb/host/ohci-dbg.c
index 6f9e43e9a6ca..f61c6cdd06f2 100644
--- a/drivers/usb/host/ohci-dbg.c
+++ b/drivers/usb/host/ohci-dbg.c
@@ -74,7 +74,7 @@ urb_print (struct urb * urb, char * str, int small)
#define ohci_dbg_sw(ohci, next, size, format, arg...) \
do { \
- if (next) { \
+ if (next != NULL) { \
unsigned s_len; \
s_len = scnprintf (*next, *size, format, ## arg ); \
*size -= s_len; *next += s_len; \