diff options
| author | Lorenzo Bianconi <[email protected]> | 2021-06-22 09:48:30 +0200 |
|---|---|---|
| committer | Felix Fietkau <[email protected]> | 2021-10-20 10:36:25 +0200 |
| commit | c33edef520213feccebc22c9474c685b9fb60611 (patch) | |
| tree | 9abf1588aa635c6dd65d342a97804660bf1f1242 /tools/perf/scripts/python/libxed.py | |
| parent | 64ed76d118c656907ec1155f2cdd24de778470a2 (diff) | |
mt76: mt76x02: fix endianness warnings in mt76x02_mac.c
Fix the following sparse warning in mt76x02_mac_write_txwi and
mt76x02_mac_tx_rate_val routines:
drivers/net/wireless/mediatek/mt76/mt76x02_mac.c:237:19:
warning: restricted __le16 degrades to intege
warning: cast from restricted __le16
drivers/net/wireless/mediatek/mt76/mt76x02_mac.c:383:28:
warning: incorrect type in assignment (different base types)
expected restricted __le16 [usertype] rate
got unsigned long
Fixes: db9f11d3433f7 ("mt76: store wcid tx rate info in one u32 reduce locking")
Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions