diff options
author | Ryder Lee <ryder.lee@mediatek.com> | 2020-05-16 12:05:19 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-05-28 18:55:30 +0300 |
commit | 19e29c69cc4760c0d340ac1fa7f8c423fcd70a08 (patch) | |
tree | 6b9732b19f7355b98b3ddf22e3e13536f9461aec /drivers/net/wireless/mediatek/mt76/mt7915 | |
parent | f9a5c0561029c856afe5860495a9dfe8e9004b02 (diff) | |
download | linux-19e29c69cc4760c0d340ac1fa7f8c423fcd70a08.tar.xz |
mt76: mt7915: fix sparse warnings: incorrect type initializer
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:2317:31: sparse: sparse:
incorrect type in initializer (different base types)
Fixes: 5517f78b0063 ("mt76: mt7915: enable firmware module debug support")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7915')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt7915/mcu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/mcu.c b/drivers/net/wireless/mediatek/mt76/mt7915/mcu.c index 695364d35eb2..8460cd453213 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7915/mcu.c +++ b/drivers/net/wireless/mediatek/mt76/mt7915/mcu.c @@ -2671,7 +2671,7 @@ int mt7915_mcu_fw_dbg_ctrl(struct mt7915_dev *dev, u32 module, u8 level) u16 len; u8 level; u8 rsv[3]; - u32 module_idx; + __le32 module_idx; } data = { .module_idx = cpu_to_le32(module), .level = level, |