mt76: mt7915: fix endianness warnings in mt7915_mac_tx_free()
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 11 Feb 2022 17:14:00 +0000 (18:14 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 24 Feb 2022 13:40:22 +0000 (14:40 +0100)
commit6256cb69f01d7ba8e3da76ee3e488cd72a6fd7ac
tree4cef703331a46cf8676a0d1bc111657dfe33aaa5
parenta07097735da521edd2db462a4e5a140f0c4a577d
mt76: mt7915: fix endianness warnings in mt7915_mac_tx_free()

Fix the following sparse warning in mt7915_mac_tx_free routine:
warning: incorrect type in assignment (different base types)
   expected unsigned int [usertype] *cur_info
   got restricted __le32 *
   warning: cast to restricted __le32

Fixes: c17780e7b21ec ("mt76: mt7915: add txfree event v3")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/mac.c