]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] megaraid_sas: fixes for few endianess issues
authorSumit.Saxena@lsi.com <Sumit.Saxena@lsi.com>
Mon, 16 Sep 2013 09:48:06 +0000 (15:18 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 25 Oct 2013 08:57:58 +0000 (09:57 +0100)
commitcf7dbff7113f732dc72361c46f1db8afd01fc2f1
treeaa345de379ad3442dc6c0f5a8c131f87b42856e3
parent675ee610bcd0f06b6dc678193ad5d44b415ac3ed
[SCSI] megaraid_sas: fixes for few endianess issues

Fixed two issues in this patch-
1) In function megasas_get_pd_list(), data read(pd_addr->deviceId) from DMAed memory is converted to CPU's endianess.
2) While register AEN, removed some endianness conversion on some fields, since their endianess is already converted.

Signed-off-by: Sumit Saxena <sumit.saxena@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/megaraid/megaraid_sas_base.c