misc: mic: Fix endianness issues.
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Wed, 27 Nov 2013 16:58:42 +0000 (08:58 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Nov 2013 19:03:38 +0000 (11:03 -0800)
commit173c07278763850bfee57eec442dce38855d6f13
tree99b27efc221e586ae8fc6f9fcd194932c9d4de0e
parent1e31aa9270daab40c7aef9d5488982e3475b87ef
misc: mic: Fix endianness issues.

Endianness issues are now consistent as per the documentation in
host/mic_virtio.h. Sparse warnings related to endianness are also fixed.
Note that the MIC driver implementation assumes that the host can be
both BE or LE whereas the card is always LE.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Sudeep Dutt <sudeep.dutt@intel.com>
Reviewed-by: Nikhil Rao <nikhil.rao@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/mic/mpssd/mpssd.c
drivers/misc/mic/card/mic_virtio.c
drivers/misc/mic/host/mic_boot.c
drivers/misc/mic/host/mic_virtio.c
drivers/misc/mic/host/mic_x100.c
include/uapi/linux/mic_common.h