Hi,

Here's a patch against 2.4.13-pre5 that fixes a compiler warning in
the uhci.c driver.

thanks,

greg k-h
(temporary USB maintainer)



diff --minimal -Nru a/drivers/usb/uhci.c b/drivers/usb/uhci.c
--- a/drivers/usb/uhci.c        Fri Oct 19 16:11:08 2001
+++ b/drivers/usb/uhci.c        Fri Oct 19 16:11:08 2001
@@ -1684,8 +1684,8 @@
                /* Control and Isochronous ignore the toggle, so this */
                /* is safe for all types */
                if (!(td->status & TD_CTRL_ACTIVE) &&
-                   uhci_actual_length(td->status) < uhci_expected_length(td->info) ||
-                   tmp == head) {
+                   (uhci_actual_length(td->status) < uhci_expected_length(td->info) ||
+                   tmp == head)) {
                        usb_settoggle(urb->dev, uhci_endpoint(td->info),
                                uhci_packetout(td->info),
                                uhci_toggle(td->info) ^ 1);


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to