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)
commit8b2564ec7410928639db5c09a34d7d8330f1d759
tree97b4f240e4aaeee0649dd49870ebf46ba9ce4abe
parentdc45708ca9988656d706940df5fd102672c5de92
lpfc: Fix breakage on big endian kernels

This reverts 4fbdf9cb 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