aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAviya Erenfeld <[email protected]>2017-09-12 01:51:10 +0300
committerGreg Kroah-Hartman <[email protected]>2017-09-17 16:35:28 +0200
commit802d7d0bf22b663b96d2a37a3168c0d8c22a0056 (patch)
tree01a65fe19946246ce823a1d4d1129603c4186d9a /tools/perf/scripts/python
parent5a5251b8ad8c3383c5a3443744fdc4d303d32539 (diff)
staging: wlan-ng: Avoid bogus endianness
The linkstatus variable in the info struct received as __le16 but handled in every other place in the driver as u16 Fix that and remove the sparse warning that occurred due to it: prism2sta.c:1450:29: warning: incorrect type in assignment (different base types) prism2sta.c:1450:29: expected unsigned short [unsigned] [usertype] link_status_new prism2sta.c:1450:29: got restricted __le16 [usertype] linkstatus Signed-off-by: Aviya Erenfeld <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions