This changes the return from -ENOMEM to -EINVAL, since the system isn't really
out of memory...


--- 2.4.1-clean/drivers/usb/devio.c     Sun Nov 12 23:45:19 2000
+++ linux/drivers/usb/devio.c   Fri Mar  2 21:51:37 2001
@@ -838,7 +838,7 @@
                }
                if (totlen > 32768) {
                        kfree(isopkt);
-                       return -ENOMEM;
+                       return -EINVAL;
                }
                uurb.buffer_length = totlen;
                break;




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

Reply via email to