[SCSI] mpt2sas: Copy sense buffer instead of working on direct memory location
authorKashyap, Desai <kashyap.desai@lsi.com>
Thu, 17 Jun 2010 08:19:28 +0000 (13:49 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 27 Jul 2010 17:02:24 +0000 (12:02 -0500)
(1) driver was not setting the sense data size prior to sending SCSI_IO,
resulting in the 0x31190000 loginfo
(2) The driver needs to copy the sense data to local buffer prior
to releasing the request message frame.  If not, the sense buffer gets
overwritten by the next SCSI_IO request.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

No differences found