diff options
author | Ricardo Silva | 2017-08-16 12:58:02 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2017-08-19 00:57:17 +0200 |
commit | e0384407657d7c6f8e1a2a16230b138782e658cf (patch) | |
tree | ef986b665fbbd6e444419a02c6e6a7049640549d /drivers/staging/most | |
parent | staging: wlan-ng: Fix sparse warning: cast to restricted __le16. (diff) | |
download | kernel-qcow2-linux-e0384407657d7c6f8e1a2a16230b138782e658cf.tar.gz kernel-qcow2-linux-e0384407657d7c6f8e1a2a16230b138782e658cf.tar.xz kernel-qcow2-linux-e0384407657d7c6f8e1a2a16230b138782e658cf.zip |
staging: wlan-ng: hfa384x.h: Use endian type in 'hfa384x_link_status' struct
The 'linkstatus' field from struct 'hfa384x_link_status' represents a
16-bit little-endian integer, so declare it as such to avoid the
following sparse warning when accessing it through the 'le16_to_cpu()'
function:
prism2sta.c:1450:31: warning: cast to restricted __le16
Signed-off-by: Ricardo Silva <rjpdasilva@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most')
0 files changed, 0 insertions, 0 deletions