summaryrefslogtreecommitdiff
path: root/drivers/scsi/isci/task.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/isci/task.c')
-rw-r--r--drivers/scsi/isci/task.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/scsi/isci/task.c b/drivers/scsi/isci/task.c
index 95f386723212..f9a1c41a5ce8 100644
--- a/drivers/scsi/isci/task.c
+++ b/drivers/scsi/isci/task.c
@@ -1452,10 +1452,8 @@ void isci_task_request_complete(
memcpy(&tmf->resp.d2h_fis,
scic_stp_io_request_get_d2h_reg_address(
- request->sci_request_handle
- ),
- sizeof(struct sata_fis_reg_d2h)
- );
+ request->sci_request_handle),
+ sizeof(struct dev_to_host_fis));
}
/* Manage the timer if it is still running. */