[EMAIL PROTECTED] wrote:

On Tue, 23 Mar 2004, Paulo Marques wrote:

This might break the code on line 1802:


if (change_speed(port)) {
        err("%s urb failed to set baurdrate", __FUNCTION__);

Was this an oversight, or is it intended (am I missing something)?


Yes, x < 0 implies that x != 0 The function cannot return a positive value.


That's what I was missing :)


If you return errors you should return full error information.

I agree 100%


Best regards,

--
Paulo Marques - www.grupopie.com
"In a world without walls and fences who needs windows and gates?"



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to