On Sat, 28 Sep 2002, Yuri Per wrote:

> Alan Stern wrote:
>
> >It doesn't seem right to return a code indicating success when in fact we
> >don't know whether the device reset worked or not.
> >
> Scsi layer will do it itself. There is no need to reimplement its logic.
> If you take a look at scsi various controllers implementation of bus
> reset you will note that most of them always returns success.


Okay, you've convinced me.  But if the scsi layer ignores the return value
from the bus reset function (or more accurately, if the scsi drivers
always return SUCCESS), why isn't that function declared as returning
void?

Alan Stern



-------------------------------------------------------
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

Reply via email to