diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-05-08 04:56:57 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 07:04:47 -0400 |
commit | 0d84366fbef557f92ef82ac9a224c57ffb3318bc (patch) | |
tree | 05f0b1ed0896550ee5182d18ea938338b3a99df2 /drivers/scsi/isci/task.c | |
parent | 827a84d4e036b342b31abc2bcc3893505c2c7daa (diff) |
isci: make sgl explicit/aligned request object member
Towards unifying request objects we need all members to be defined in the
object and not carved out of anonymous buffer space.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/task.c')
-rw-r--r-- | drivers/scsi/isci/task.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/scsi/isci/task.c b/drivers/scsi/isci/task.c index 12f2df947362..7d5f79378452 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( | |||
298 | goto out; | 298 | goto out; |
299 | 299 | ||
300 | /* let the core do it's construct. */ | 300 | /* let the core do it's construct. */ |
301 | status = scic_task_request_construct( | 301 | status = scic_task_request_construct(&isci_host->sci, sci_device, |
302 | &isci_host->sci, | 302 | SCI_CONTROLLER_INVALID_IO_TAG, |
303 | sci_device, | 303 | request, &request->sci_req, |
304 | SCI_CONTROLLER_INVALID_IO_TAG, | 304 | &request->sci_request_handle); |
305 | request, | ||
306 | request->sci_request_mem_ptr, | ||
307 | &request->sci_request_handle | ||
308 | ); | ||
309 | 305 | ||
310 | if (status != SCI_SUCCESS) { | 306 | if (status != SCI_SUCCESS) { |
311 | dev_warn(&isci_host->pdev->dev, | 307 | dev_warn(&isci_host->pdev->dev, |