]> 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)
commit7263df0f78aee72cb03456f8456ccd2f523d8486
tree97b4f240e4aaeee0649dd49870ebf46ba9ce4abe
parent06067f11f684ec611b5a1e82b6dd55520c3f63d5
lpfc: Fix breakage on big endian kernels

This reverts 1c9a698f 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