From: David Brownell 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 Cc: Greg KH Cc: Alan Stern Signed-off-by: Andrew Morton --- drivers/usb/host/ohci-dbg.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/usb/host/ohci-dbg.c~ohci-fix-oddball-gcc-warning drivers/usb/host/ohci-dbg.c --- a/drivers/usb/host/ohci-dbg.c~ohci-fix-oddball-gcc-warning +++ a/drivers/usb/host/ohci-dbg.c @@ -74,7 +74,7 @@ urb_print (struct urb * urb, char * str, #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; \ _