mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
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 <[email protected]>
Signed-off-by: Ryder Lee <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user