]> git.baikalelectronics.ru Git - kernel.git/commit
lpfc: Fix breakage on big endian kernels
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Tue, 28 Apr 2015 08:26:22 +0000 (18:26 +1000)
committerJames Bottomley <JBottomley@Odin.com>
Mon, 11 May 2015 16:53:03 +0000 (09:53 -0700)
commit8d1f30b650e053d9c109ec2890b196f5f465960f
tree97b4f240e4aaeee0649dd49870ebf46ba9ce4abe
parent41b7f7f6964feb3f8ed48a4ccaae54dad7c470d4
lpfc: Fix breakage on big endian kernels

This reverts 2c4d68a5 it breaks LPFC on POWER7 machine, big endian kernel.
Without this, the kernel enters an infinite oops loop.

This is the hardware used for verification:
0005:01:00.0 Fibre Channel [0c04]: Emulex Corporation Saturn-X: LightPulse Fibre Channel Host Adapter [10df:f100] (rev 03)
0005:01:00.1 Fibre Channel [0c04]: Emulex Corporation Saturn-X: LightPulse Fibre Channel Host Adapter [10df:f100] (rev 03)

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/lpfc/lpfc_scsi.c