summaryrefslogtreecommitdiff
path: root/drivers/scsi/isci/request.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2011-09-28 18:35:27 -0700
committerJames Bottomley <JBottomley@Parallels.com>2011-10-02 13:07:17 -0500
commit54b5e3a4bfa3452bc10cd4da672099ccc46b8c09 (patch)
treef07de6264a0ffb59845f8dfb62d2f158ba50e012 /drivers/scsi/isci/request.h
parent6fbc769219a7a8060ea33f397304f05b1cdf8a00 (diff)
downloadlwn-54b5e3a4bfa3452bc10cd4da672099ccc46b8c09.tar.gz
lwn-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.h3
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;