On Wed, Nov 09, 2011 at 12:55:14PM +0100, Oliver Neukum wrote: > Am Sonntag, 6. November 2011, 19:06:34 schrieb Johan Hovold: > > Return errors from usb_submit_urb rather than EPROTO on errors in open. > > It strikes me as somewhat unwise to leak USB specific error codes potentially > up to user space. That is what almost all usb-serial drivers currently do (and have been doing for a very long time). If this is to be changed it should probably be handled in usb-serial core for consistency reasons. And the appropriate error code would be EIO rather than EPROTO, right? Thanks, Johan -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html