mediatek: mt7622: rtl8367c: add casts to fix compiler warnings
authorDaniel Golle <daniel@makrotopia.org>
Fri, 1 Mar 2024 00:06:47 +0000 (00:06 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 1 Mar 2024 01:42:36 +0000 (01:42 +0000)
commita86ff06d2e26cac388581b75b574bc5a9237c417
treed89469ed0c1a20f8f212f9fc275f832857731af7
parent7c468e5e64ac019554fe45b383fbea90c367e4e0
mediatek: mt7622: rtl8367c: add casts to fix compiler warnings

Use type casts to prevent compiler warnings which are going to turn
into errors when we switch to Linux 6.6.
In the long run we should try to get rid of this downstream driver
now that RTL8367S is support by the rtl8365mb DSA driver.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/mediatek/files/drivers/net/phy/rtk/rtl8367c/stat.c
target/linux/mediatek/files/drivers/net/phy/rtk/rtl8367c/vlan.c