summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-01-12 16:56:14 +0300
committerJohan Hovold <johan@kernel.org>2017-01-16 18:38:56 +0300
commit3c0e25d883d06a1fbd1ad35257e8abaa57befb37 (patch)
treeb501418076edfddb14c8637e044e1abda9c7bea5 /tools/perf/scripts/python/export-to-postgresql.py
parente4457d9798adb96272468e93da663de9bd0a4198 (diff)
downloadlinux-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