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)
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

Simple merge