Skip to content

Commit

Permalink
mt76: mt7915: fix sparse warnings: incorrect type initializer
Browse files Browse the repository at this point in the history
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:2317:31: sparse: sparse:
incorrect type in initializer (different base types)

Fixes: 5517f78 ("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>
  • Loading branch information
Ryder Lee authored and Felix Fietkau committed May 28, 2020
1 parent f9a5c05 commit 19e29c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/mediatek/mt76/mt7915/mcu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 19e29c6

Please sign in to comment.