Re: [PATCH 0/2] USB: serial: do not forward USB errors from write

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Donnerstag, 10. November 2011, 17:40:42 schrieb Johan Hovold:
> Hi again,
> 
> Here's the equivalent patch for write(). Again most drivers currently return
> errors from usb_submit_urb directly.
> 
> Note that one driver (navman) returns -EOPNOTSUPP in write and that this would
> now be mapped to -EIO. Perhaps this is not desirable and we should push
> usb_translate_error into the drivers after all (for both open() and write())?

Hi,

as -EOPNOTSUPP is not an error USB uses we better change usb_translate_error()
to pass it through.

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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux