Am Sonntag, 10. November 2002 04:47 schrieb Randy.Dunlap:
> | Hi Oliver,
>
> On Thu, 7 Nov 2002, Oliver Neukum wrote:
> | if we wrote some bytes we need to admit it even if we'd otherwise return
> | -EAGAIN. Any news on Linus' printing problem incidentally?
>
> still there :(
>
> | diff -Nru a/drivers/usb/class/usblp.c b/drivers/usb/class/usblp.c
> | --- a/drivers/usb/class/usblp.c Thu Nov 7 23:41:02 2002
> | +++ b/drivers/usb/class/usblp.c Thu Nov 7 23:41:02 2002
> | @@ -599,7 +599,7 @@
> | if (!usblp->wcomplete) {
> | barrier();
> | if (file->f_flags & O_NONBLOCK)
> | - return -EAGAIN;
> | + return count ? count : -EAGAIN;
>
> Shouldn't this be: s/count/writecount/ 2 times ?
Shit. Yes, it should be.
Regards
Oliver
-------------------------------------------------------
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