aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/storvsc_drv.c
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2016-01-27 01:31:17 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2016-01-26 21:19:08 -0500
commit0f28ede906a8ad44158a6ef9471a5a412343cced (patch)
treed9ef0a0266e7ce01a5b858a6aedbbc32796b484c /drivers/scsi/storvsc_drv.c
parenthisi_sas: add dependency for HAS_IOMEM (diff)
downloadlinux-dev-0f28ede906a8ad44158a6ef9471a5a412343cced.tar.xz
linux-dev-0f28ede906a8ad44158a6ef9471a5a412343cced.zip
hisi_sas: fix v1 hw check for slot error
Completion header bit CMPLT_HDR_RSPNS_XFRD flags whether the response frame is received into host memory, and not whether the response frame has an error. As such, change the decision on whether a slot has an error. Also redundant check on CMPLT_HDR_CMD_CMPLT_MSK is removed. Fixes: 27a3f229 ("hisi_sas: Add cq interrupt handler") Signed-off-by: John Garry <john.garry@huawei.com> Tested-by: Ricardo Salveti <ricardo.salveti@linaro.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/storvsc_drv.c')
0 files changed, 0 insertions, 0 deletions