diff options
| author | Colin Vidal <colin@cvidal.org> | 2017-01-26 22:22:00 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-27 11:42:32 +0300 |
| commit | e7b56b14b87964c8caeb9e9ee7e823f578c0dc1e (patch) | |
| tree | 7ed6f3c7565346c771947c7cb174118842522fc3 /scripts/const_structs.checkpatch | |
| parent | 3e99c2d2405fd10765c8d154961f5ae6bfebf890 (diff) | |
| download | linux-e7b56b14b87964c8caeb9e9ee7e823f578c0dc1e.tar.xz | |
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 <colin@cvidal.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
