diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-09-29 03:35:27 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-10-02 20:07:17 +0200 |
commit | 54b5e3a4bfa3452bc10cd4da672099ccc46b8c09 (patch) | |
tree | f07de6264a0ffb59845f8dfb62d2f158ba50e012 /drivers/scsi/isci/request.h | |
parent | [SCSI] pm8001: missing break statements (diff) | |
download | linux-54b5e3a4bfa3452bc10cd4da672099ccc46b8c09.tar.xz linux-54b5e3a4bfa3452bc10cd4da672099ccc46b8c09.zip |
[SCSI] isci: fix support for large smp requests
Kill the local smp response buffer.
Besides being unnecessary, it is too small (currently truncates
responses to 60 bytes). The mid-layer will have already allocated a
sufficiently sized buffer, just kmap and copy into it directly.
Cc: <stable@kernel.org>
Reported-by: Derick Marks <derick.w.marks@intel.com>
Tested-by: Derick Marks <derick.w.marks@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/isci/request.h')
-rw-r--r-- | drivers/scsi/isci/request.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/isci/request.h b/drivers/scsi/isci/request.h index 7a1d5a9778eb..58d70b6606ef 100644 --- a/drivers/scsi/isci/request.h +++ b/drivers/scsi/isci/request.h @@ -174,9 +174,6 @@ struct isci_request { }; } ssp; struct { - struct smp_resp rsp; - } smp; - struct { struct isci_stp_request req; struct host_to_dev_fis cmd; struct dev_to_host_fis rsp; |