staging: ks7010: eap, change unsigned short to __be16
authorTobin C. Harding <me@tobin.cc>
Mon, 8 May 2017 04:29:42 +0000 (14:29 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 May 2017 05:43:53 +0000 (07:43 +0200)
commitc27fbc9237cde91e8eb75220119cd4c2bbc7082a
tree06f1054d0efe854f1a9b70a681412c0662526872
parenta974fb376de2298a9421932c216f00239170dfd0
staging: ks7010: eap, change unsigned short to __be16

Sparse emits warning: cast to restricted __be16. EAP header uses
network byte order. The structures used to describe it should use
__beXX data types.

Change data type unsigned short -> __be16.

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