Hello,
I found a bug in usb.c (version 1.65).
Line 2122: if (err < sizeof(dev->descriptor))
This comparison is wrong! It should be:
if (err < (signed integer) sizeof(dev->descriptor))
Otherwise if err is negative (e.g. -EPIPE),
the comparison results in FALSE, although it should be TRUE.
Err is a signed int, while the result of sizeof has type size_t,
which is unsigned.
Regards,
Jochen
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel