> Just a quick remark,
> 
> In your patch (and in the original code too) "usblp_write" there is:
> 
>  >  if (file->f_flags & O_NONBLOCK)
>  >    return -EAGAIN;
> 
> Shouldn't this be:
> 
>  >  if (file->f_flags & O_NONBLOCK)
>  >    return writecount ? writecount : -EAGAIN;
> 
> or am I missing something?

You are correct.

        Regards
                Oliver



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to