]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1cd03e513cc32173dd70b8c787be0c47ea50fce
tree06f1054d0efe854f1a9b70a681412c0662526872
parentfd54f01ec851f1dea5d7672b4448df3f007d2657
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