isci: fix ssp response iu buffer size in isci_tmf
authorDan Williams <dan.j.williams@intel.com>
Wed, 15 Jun 2011 18:11:03 +0000 (11:11 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 11:04:51 +0000 (04:04 -0700)
commit360b03ed178a4fe3971b0a098d8feeb53333481b
tree4641e9eb68e1e027aa089e4a21c862c1170ca056
parent0d0cf14c9bd2943ed5afd15df459f564d85eacde
isci: fix ssp response iu buffer size in isci_tmf

In isci_task_request_complete() we save the response/sense data from the
command.  Make sure isci_tmf has enough space to hold the full response.

[ it does not look like we actually use this data, and
  response_data_len/sense_data_len should be specifying the byte count,
  in any event do the simple fix first so we don't corrupt memory ]

Reported-by: Adam Gruchala <adam.gruchala@intel.com>
Tested-by: Edmund Nadolski <edmund.nadolski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/task.h