mt76: mt7615: fix sparse warnings: warning: restricted __le16 degrades to integer
authorLorenzo Bianconi <lorenzo@kernel.org>
Thu, 27 Jun 2019 14:49:44 +0000 (16:49 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 5 Sep 2019 15:42:28 +0000 (17:42 +0200)
commit132d8da5bded546c8db48dd760fe5bb63e6d9b82
tree10762f15bb5be7648918b519ccdbc2414dc42a56
parent850e8f6fbd5d0003b0f1119d19a01c6fef1644e2
mt76: mt7615: fix sparse warnings: warning: restricted __le16 degrades to integer

Fix the following sparse warning in __mt7615_mcu_msg_send:
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c:78:15: sparse: warning:
restricted __le16 degrades to integer
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c:78:15: sparse: warning:
cast from restricted __le16

Fixes: 04b8e65922f6 ("mt76: add mac80211 driver for MT7615 PCIe-based chipsets")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c