summaryrefslogtreecommitdiff
path: root/drivers/xen/gntdev-common.h
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2020-09-16 11:40:25 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-16 12:43:24 +0200
commiteb2a86ae8c544be0ab04aa8169390c0669bc7148 (patch)
tree25b5c6c956f09fe758ca8013c2e6ef8bd984e8eb /drivers/xen/gntdev-common.h
parent8dba20101aaf67462934e40cb5e6c3641f87d460 (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 <oneukum@suse.com> Link: https://lore.kernel.org/r/20200916094026.30085-2-oneukum@suse.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/xen/gntdev-common.h')
0 files changed, 0 insertions, 0 deletions