aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorOliver Neukum <[email protected]>2020-09-16 11:40:25 +0200
committerGreg Kroah-Hartman <[email protected]>2020-09-16 12:35:14 +0200
commit325b008723b2dd31de020e85ab9d2e9aa4637d35 (patch)
tree47041fbc37c33fbd5aac826c575f321e4c0a8385 /tools/perf/scripts/python/export-to-sqlite.py
parent386e15a650447f53de3d2d8819ce9393f31650a4 (diff)
USB: UAS: fix disconnect by unplugging a hub
The SCSI layer can go into an ugly loop if you ignore that a device is gone. You need to report an error in the command rather than in the return value of the queue method. We need to specifically check for ENODEV. The issue goes back to the introduction of the driver. Fixes: 115bb1ffa54c3 ("USB: Add UAS driver") Signed-off-by: Oliver Neukum <[email protected]> Cc: stable <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions