aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/isci/sas.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/sas.h
parent6fbc769219a7a8060ea33f397304f05b1cdf8a00 (diff)
[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/sas.h')
-rw-r--r--drivers/scsi/isci/sas.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/isci/sas.h b/drivers/scsi/isci/sas.h
index 462b15174d3..dc26b4aea99 100644
--- a/drivers/scsi/isci/sas.h
+++ b/drivers/scsi/isci/sas.h
@@ -204,8 +204,6 @@ struct smp_req {
u8 req_data[0];
} __packed;
-#define SMP_RESP_HDR_SZ 4
-
/*
* struct sci_sas_address - This structure depicts how a SAS address is
* represented by SCI.