diff options
author | Johan Hovold <johan@kernel.org> | 2018-07-04 17:02:18 +0200 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2018-07-06 10:42:24 +0200 |
commit | a420b5d939ee58f1d950f0ea782834056520aeaa (patch) | |
tree | 2e61cc06b0d56fe2ab9d19e979bb2527060d7313 /block/bsg.c | |
parent | 1d1de580a3e0b1cfacd63b4093573d8f327b0a1a (diff) | |
download | linux-a420b5d939ee58f1d950f0ea782834056520aeaa.tar.gz linux-a420b5d939ee58f1d950f0ea782834056520aeaa.tar.bz2 linux-a420b5d939ee58f1d950f0ea782834056520aeaa.zip |
USB: serial: kobil_sct: fix modem-status error handling
Make sure to return -EIO in case of a short modem-status read request.
While at it, split the debug message to not include the (zeroed)
transfer-buffer content in case of errors.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'block/bsg.c')
0 files changed, 0 insertions, 0 deletions