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.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/scsi/isci/task.c b/drivers/scsi/isci/task.c
index 12f2df9..7d5f793 100644
--- a/drivers/scsi/isci/task.c
+++ b/drivers/scsi/isci/task.c
@@ -298,14 +298,10 @@ static enum sci_status isci_task_request_build(
goto out;
/* let the core do it's construct. */
- status = scic_task_request_construct(
- &isci_host->sci,
- sci_device,
- SCI_CONTROLLER_INVALID_IO_TAG,
- request,
- request->sci_request_mem_ptr,
- &request->sci_request_handle
- );
+ status = scic_task_request_construct(&isci_host->sci, sci_device,
+ SCI_CONTROLLER_INVALID_IO_TAG,
+ request, &request->sci_req,
+ &request->sci_request_handle);
if (status != SCI_SUCCESS) {
dev_warn(&isci_host->pdev->dev,