diff options
author | Johan Hovold <johan@kernel.org> | 2017-01-12 16:56:14 +0300 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-01-16 18:38:56 +0300 |
commit | 3c0e25d883d06a1fbd1ad35257e8abaa57befb37 (patch) | |
tree | b501418076edfddb14c8637e044e1abda9c7bea5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e4457d9798adb96272468e93da663de9bd0a4198 (diff) | |
download | linux-3c0e25d883d06a1fbd1ad35257e8abaa57befb37.tar.xz |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions