diff options
author | 2017-01-12 14:56:17 +0100 | |
---|---|---|
committer | 2017-01-16 16:38:56 +0100 | |
commit | 0d130367abf582e7cbf60075c2a7ab53817b1d14 (patch) | |
tree | f3a87ef9f5e0e24bb08192ecaba15aee164a4999 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | USB: serial: mct_u232: fix modem-status error handling (diff) | |
download | wireguard-linux-0d130367abf582e7cbf60075c2a7ab53817b1d14.tar.xz wireguard-linux-0d130367abf582e7cbf60075c2a7ab53817b1d14.zip |
USB: serial: mos7720: fix control-message error handling
Make sure to log an error on short transfers when reading a device
register.
Also clear the provided buffer (which if often an uninitialised
automatic variable) on errors as the driver currently does not bother to
check for errors.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions