diff options
author | 2017-01-12 14:56:14 +0100 | |
---|---|---|
committer | 2017-01-16 16:38:56 +0100 | |
commit | 3c0e25d883d06a1fbd1ad35257e8abaa57befb37 (patch) | |
tree | b501418076edfddb14c8637e044e1abda9c7bea5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | USB: serial: io_edgeport: fix epic-descriptor handling (diff) | |
download | wireguard-linux-3c0e25d883d06a1fbd1ad35257e8abaa57befb37.tar.xz wireguard-linux-3c0e25d883d06a1fbd1ad35257e8abaa57befb37.zip |
USB: serial: io_edgeport: fix descriptor error handling
Make sure to detect short control-message transfers and log an error
when reading incomplete manufacturer and boot descriptors.
Note that the default all-zero descriptors will now be used after a
short transfer is detected instead of partially initialised ones.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
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