diff options
author | Johan Hovold <johan@kernel.org> | 2017-06-20 13:52:03 +0300 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-06-21 10:40:07 +0300 |
commit | c22ac6d29f18d3210c545f77e4f95b856ab5f983 (patch) | |
tree | ff1af4ebd80766423bd762abc0a5e9736096d4f5 /drivers/usb/serial/f81232.c | |
parent | 45e5d4d418f37cb9b2746c1fc63ab89b7b521d78 (diff) | |
download | linux-c22ac6d29f18d3210c545f77e4f95b856ab5f983.tar.xz |
USB: serial: propagate late probe errors
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.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/f81232.c')
0 files changed, 0 insertions, 0 deletions