summaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpt2sas_transport.c
diff options
context:
space:
mode:
authorKashyap, Desai <kashyap.desai@lsi.com>2009-09-23 12:04:13 (GMT)
committerJames Bottomley <James.Bottomley@suse.de>2009-10-29 17:03:14 (GMT)
commitec9472c74c3074541ea8389517f406b5c7ad0632 (patch)
treeb9136ed487244020d1df2b04d14030bd318be301 /drivers/scsi/mpt2sas/mpt2sas_transport.c
parente4e7c7ed3485bc530499158e28539e00d47f9ef2 (diff)
downloadlinux-fsl-qoriq-ec9472c74c3074541ea8389517f406b5c7ad0632.tar.xz
[SCSI] mpt2sas: mpt2sas_base_get_sense_buffer_dma should be returning little endian
cpu_to_le64 when calculating the physical dma address. This will properly handle endianess on big endian systems. The return value of this function was changed from dma_addr_t to __le64. Remove the typecasting of u32 when setting the SenseBufferLowAddress, since its already in __le32 format. Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com> Signed-off-by: Eric Moore <Eric.moore@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpt2sas_transport.c')
0 files changed, 0 insertions, 0 deletions