[linux-usb-devel] Re: uhci.c compiler warning in 2.4.13-pre5

2001-10-19 Thread Greg KH
On Fri, Oct 19, 2001 at 01:26:24PM -0400, Johannes Erdfelt wrote: > > Woops. It should looke like this: > > if (!(td->status & TD_CTRL_ACTIVE) && > (uhci_actual_length(td->status) < uhci_expected_length(td->info) || > tmp == head)) { > > Essentially, if (this TD finish

[linux-usb-devel] Re: uhci.c compiler warning in 2.4.13-pre5

2001-10-19 Thread Johannes Erdfelt
On Fri, Oct 19, 2001, Greg KH <[EMAIL PROTECTED]> wrote: > In compiling the latest version of uhci.c, I get a compiler warning: > uhci.c: In function `uhci_unlink_generic': > uhci.c:1688: warning: suggest parentheses around && within || > > In looking at the code in question, I'm not