]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mt76: mt7615: fix endianness warning in mt7615_mac_write_txwi
authorLorenzo Bianconi <lorenzo@kernel.org>
Mon, 21 Jun 2021 21:53:22 +0000 (23:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Nov 2021 10:04:09 +0000 (11:04 +0100)
commit31a67f6c7c932efee5607541714dd4eb344a7626
treef34869a08321738e17948b3ea343e2c8b2f6d160
parentb442c8a72323ece31302ea4a3c2ec8977e1cef94
mt76: mt7615: fix endianness warning in mt7615_mac_write_txwi

[ Upstream commit d81bfb41e30c42531536c5d2baa4d275a8309715 ]

Fix the following sparse warning in mt7615_mac_write_txwi routine:
drivers/net/wireless/mediatek/mt76/mt7615/mac.c:758:17:
warning: incorrect type in assignment
expected restricted __le32 [usertype]
got unsigned long

Fixes: 04b8e65922f63 ("mt76: add mac80211 driver for MT7615 PCIe-based chipsets")
Fixes: d4bf77bd74930 ("mt76: mt7615: introduce mt7663u support to mt7615_write_txwi")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/mediatek/mt76/mt7615/mac.c