[EMAIL PROTECTED] said: > bytes_got = max(bytes_requested - cmd->resid, 0); [...] > /* let's rely on the transport to have correctly set */ > /* cmd->resid and report a broken device server */ > </insert code here/>
I'm afraid that for a large number of HBAs in the tree SCpnt->resid just isn't reliable (nothing ever needed it, and it's overhead to compute, so they didn't bother). James ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel