Alan Stern <[email protected]> writes:

>>  Schould we request to fix that in
>> user space, or can we remove this warning like on below patch (call
>> CLEAR_HALT ioctl, does not seems to do any harm except printing a
>> warning) ?
>
> Doing an endpoint reset while URBs are queued is a bug, because the
> results are not defined.  It should be fixed in the userspace program.

Maybe the usbfs driver should catch bugs like this and log a message
pointing to the buggy userspace "driver" instead of blindly forwarding
the clear halt?  That would make it more obvious that this is not a
kernel bug.


Bjørn
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to