commit | e0e9052034e34f2f7016197e27764f3587de87fe | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Fri Mar 17 11:35:33 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 23 13:53:16 2017 +0100 |
tree | a92dccfe442568abe0857cf32047c865f639511e | |
parent | 15a818f459d2081b17861472b4b953b8a19ea587 [diff] |
USB: adutux: fix up error paths Make sure to return -ENOMEM on all allocation failures and -EIO on a string-retrieval error (instead of returning -ENODEV for some such errors). Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>