1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux/ramips/files/drivers/net/ethernet/ralink
Hauke Mehrtens 27e5d7ddd9 ramips: Fix cmpilation
Fixes this compile problem:
```
drivers/net/ethernet/ralink/esw_rt3050.c: In function 'rt3050_esw_init':
drivers/net/ethernet/ralink/esw_rt3050.c:1467:12: error: 'pdev' is used uninitialized [-Werror=uninitialized]
 1467 |         if (!pdev)
      |            ^
drivers/net/ethernet/ralink/esw_rt3050.c:1461:33: note: 'pdev' was declared here
 1461 |         struct platform_device *pdev;
      |                                 ^~~~
cc1: all warnings being treated as errors
```

Fixes: 4ffd5aa239 ("treewide: fix coccinelle checks")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-12-04 21:12:24 +01:00
..
esw_rt3050.c ramips: Fix cmpilation 2025-12-04 21:12:24 +01:00
esw_rt3050.h
ethtool.c ramips: update drivers to be compatible with kernel 6.12 2025-05-07 00:40:05 +02:00
ethtool.h
gsw_mt7620.c treewide: fix coccinelle checks 2025-12-02 23:32:42 +01:00
gsw_mt7620.h ramips: reset mt7620 ethernet phy via reset controller 2024-01-06 14:24:13 +01:00
Kconfig
Makefile
mdio.c treewide: fix coccinelle checks 2025-12-02 23:32:42 +01:00
mdio.h
mdio_mt7620.c
mdio_rt2880.c kernel: remove obsolete kernel version switches 2023-05-20 15:19:14 +02:00
mdio_rt2880.h
mt7530.c ramips: update drivers to be compatible with kernel 6.12 2025-05-07 00:40:05 +02:00
mt7530.h
mtk_eth_soc.c treewide: fix coccinelle checks 2025-12-02 23:32:42 +01:00
mtk_eth_soc.h ramips: remove unnecessary macros for previous kernel versions 2024-05-03 23:02:00 +01:00
soc_mt7620.c ramips: 6.1: ralink: fix const warning in the ethernet driver 2024-02-10 13:06:05 +01:00
soc_rt2880.c
soc_rt3050.c ramips: 6.1: ralink: fix const warning in the ethernet driver 2024-02-10 13:06:05 +01:00
soc_rt3883.c