diff options
author | 2017-05-16 11:48:01 -0400 | |
---|---|---|
committer | 2017-05-18 16:05:24 +0200 | |
commit | ce553bd103c161df2676ff201746bff8ca512715 (patch) | |
tree | d2310f8928ee73a38fa3f2d81dffc134de76671f /tools/perf/scripts/python | |
parent | USB: ene_usb6250: fix SCSI residue overwriting (diff) | |
download | linux-dev-ce553bd103c161df2676ff201746bff8ca512715.tar.xz linux-dev-ce553bd103c161df2676ff201746bff8ca512715.zip |
USB: ene_usb6250: implement REQUEST SENSE
In the ene_usb6250 sub-driver for usb-storage, there is no support for
the REQUEST SENSE command. This command is issued whenever a failure
occurs, and without it the driver has no way to tell the SCSI core
what the reason for the failure was.
This patch adds a do_scsi_request_sense() routine to the driver. The
new routine reports the error code stored by the previous command.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-and-tested-by: Andreas Hartmann <andihartmann@01019freenet.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions