mt7615,mt7915: fix a compiler warning

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2021-03-27 23:47:09 +01:00
parent 62b13f5352
commit 0ff3a336a8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -425,7 +425,7 @@ mt7615_mcu_rx_log_message(struct mt7615_dev *dev, struct sk_buff *skb)
}
wiphy_info(mt76_hw(dev)->wiphy, "%s: %*s", type,
skb->len - sizeof(*rxd), data);
(int)(skb->len - sizeof(*rxd)), data);
}
static void
+1 -1
View File
@@ -522,7 +522,7 @@ mt7915_mcu_rx_log_message(struct mt7915_dev *dev, struct sk_buff *skb)
}
wiphy_info(mt76_hw(dev)->wiphy, "%s: %*s", type,
skb->len - sizeof(*rxd), data);
(int)(skb->len - sizeof(*rxd)), data);
}
static void