Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bdd203a0 authored by David Brownell's avatar David Brownell Committed by Greg Kroah-Hartman
Browse files

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: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 2f67cd5b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -74,7 +74,7 @@ urb_print (struct urb * urb, char * str, int small)


#define ohci_dbg_sw(ohci, next, size, format, arg...) \
#define ohci_dbg_sw(ohci, next, size, format, arg...) \
	do { \
	do { \
	if (next) { \
	if (next != NULL) { \
		unsigned s_len; \
		unsigned s_len; \
		s_len = scnprintf (*next, *size, format, ## arg ); \
		s_len = scnprintf (*next, *size, format, ## arg ); \
		*size -= s_len; *next += s_len; \
		*size -= s_len; *next += s_len; \