Re: [PATCH 2/2] USB: serial: propagate late probe errors

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

 



On Tue, Jun 20, 2017 at 12:52:03PM +0200, Johan Hovold wrote:
> Propagate errnos for late probe errors (e.g. -ENOMEM on allocation
> failures) instead of always returning -EIO.
> 
> Note that some drivers are currently returning -ENODEV from their attach
> callbacks when a device is not supported, but this has also been mapped
> to -EIO.
> 
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>

Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
--
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