staging: ks7010: hostif, u16 data types to __le16
authorTobin C. Harding <me@tobin.cc>
Mon, 8 May 2017 04:29:43 +0000 (14:29 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 May 2017 05:43:53 +0000 (07:43 +0200)
commit683356d16b0f5f97058e2377590bf365fdc97d79
treea750ab7a0cc3772921c3b83fa8aa958f70a26de3
parentc27fbc9237cde91e8eb75220119cd4c2bbc7082a
staging: ks7010: hostif, u16 data types to __le16

Target device is little endian. Host interface data structures used
for building frames to pass to target device should use little endian
data types. All u16 structure members in ks_hostif.h need to be
changed to __le16, Sparse can then be used to make sure we update all
code that touches these data.

Change all u16 data types in host interface structures to be
__le16. Update all code that touches modified data types. Check using
Sparse.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c
drivers/staging/ks7010/ks_hostif.h