diff options
author | Johan Hovold <johan@kernel.org> | 2021-05-19 14:47:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-05-19 13:11:39 -0700 |
commit | 4d52ebc7ace491d58f96d1f4a1cb9070c506b2e7 (patch) | |
tree | 08b8368180e743fc5f9ff6050517aba8ef393613 /fs/autofs | |
parent | d5b3bd6ab5418e34d85f64fba7c6ca02c3cbfb63 (diff) |
net: hso: bail out on interrupt URB allocation failure
Commit 31db0dbd7244 ("net: hso: check for allocation failure in
hso_create_bulk_serial_device()") recently started returning an error
when the driver fails to allocate resources for the interrupt endpoint
and tiocmget functionality.
For consistency let's bail out from probe also if the URB allocation
fails.
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/autofs')
0 files changed, 0 insertions, 0 deletions