diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2017-10-29 10:47:19 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-20 10:10:28 +0100 |
commit | aa902be00448f3bc69fd54b1a0a8f5b4b6a47c5b (patch) | |
tree | 07bb5975c818a7561bd200c641817194c3960ee4 /drivers/scsi/mpt3sas | |
parent | 95e8d653ea987adfe108173bd5969201a363bf19 (diff) | |
download | linux-stable-aa902be00448f3bc69fd54b1a0a8f5b4b6a47c5b.tar.gz linux-stable-aa902be00448f3bc69fd54b1a0a8f5b4b6a47c5b.tar.bz2 linux-stable-aa902be00448f3bc69fd54b1a0a8f5b4b6a47c5b.zip |
scsi: scsi_debug: write_same: fix error report
[ Upstream commit e33d7c56450b0a5c7290cbf9e1581fab5174f552 ]
The scsi_debug driver incorrectly suggests there is an error with the
SCSI WRITE SAME command when the number_of_logical_blocks is greater
than 1. It will also suggest there is an error when NDOB
(no data-out buffer) is set and the number_of_logical_blocks is
greater than 0. Both are valid, fix.
Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/mpt3sas')
0 files changed, 0 insertions, 0 deletions