-
Santosh Nayak authored
Casting pointer from native data type to other type is endian-sensitive. "iocmd->offset" is 64 bit but we use only first 32 bit. It works in little-endian system but in big-endian system it will break. Signed-off-by:
Santosh Nayak <santoshprasadnayak@gmail.com> Acked-by:
Jing Huang <huangj@brocade.com> Signed-off-by:
James Bottomley <JBottomley@Parallels.com>
76c8ae4b