Skip to content

Commit

Permalink
USB: ohci, fix oddball gcc warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Brownell authored and Greg Kroah-Hartman committed Aug 22, 2007
1 parent 2f67cd5 commit bdd203a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/host/ohci-dbg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit bdd203a

Please sign in to comment.