aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorColin Vidal <[email protected]>2017-01-26 20:22:00 +0100
committerGreg Kroah-Hartman <[email protected]>2017-01-27 09:42:32 +0100
commite7b56b14b87964c8caeb9e9ee7e823f578c0dc1e (patch)
tree7ed6f3c7565346c771947c7cb174118842522fc3 /tools/perf/scripts/python/net_dropmonitor.py
parent3e99c2d2405fd10765c8d154961f5ae6bfebf890 (diff)
staging/rtl8192u: add endianness conversions
Fields frag_size and playload_size of struct ieee80211_txb are encoded as short little-endian. This patch adds conversions to / from cpu byte order when copy / write these values in variables of architecture independent byte order. It also avoid a sparse type warning. Signed-off-by: Colin Vidal <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions