immortalwrt/target/linux/ramips/files/drivers/net/ethernet/ralink
Christian Marangi 82afdf6056
ralink: rt3833: fix compilation warning from device_reset in fe_probe
Fix compilation warning from device_reset in fe_probe. On fail print a
warning but don't fail probe.
Fix compilation warning:
drivers/net/ethernet/ralink/mtk_eth_soc.c: In function 'fe_probe':
drivers/net/ethernet/ralink/mtk_eth_soc.c:1564:9: error: ignoring return value of 'device_reset' declared with attribute 'warn_unused_result' [-Werror=unused-result]
 1564 |         device_reset(&pdev->dev);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-12 03:15:39 +02:00
..
esw_rt3050.c ralink: mt76x8: fix compilation warning in esw driver 2023-05-12 03:15:39 +02:00
esw_rt3050.h ramips: ethernet: ralink: rewrite esw_rt3050 to support link states 2021-06-25 12:30:20 +02:00
ethtool.c
ethtool.h
gsw_mt7620.c ramips: mt7620: handle request_irq fail in gsw ethernet driver 2023-05-12 03:15:37 +02:00
gsw_mt7620.h ramips: mt7620: ethernet: use more macros and bump version 2021-06-23 14:22:19 +08:00
Kconfig
Makefile
mdio_mt7620.c
mdio_rt2880.c ramips: 5.10: port and refresh patches, ralink drv 2021-03-06 11:24:12 +01:00
mdio_rt2880.h
mdio.c ramips: mt7620: remove useless GMAC nodes 2021-06-23 14:22:18 +08:00
mdio.h
mt7530.c ramips: mt7530 swconfig: fix race condition in register access 2021-04-15 00:00:54 +08:00
mt7530.h
mtk_eth_soc.c ralink: rt3833: fix compilation warning from device_reset in fe_probe 2023-05-12 03:15:39 +02:00
mtk_eth_soc.h ramips: ethernet: ralink: add fe_reset_fe() to reset fe via reset controller 2021-06-25 10:52:50 +02:00
soc_mt7620.c ramips: ethernet: ralink: add struct fe_priv as context to fe_reset() 2021-06-25 10:52:50 +02:00
soc_rt2880.c ramips: ethernet: ralink: add fe_reset_fe() to reset fe via reset controller 2021-06-25 10:52:50 +02:00
soc_rt3050.c ramips: ethernet: ralink: rewrite esw_rt3050 to support link states 2021-06-25 12:30:20 +02:00
soc_rt3883.c ramips: ethernet: ralink: add fe_reset_fe() to reset fe via reset controller 2021-06-25 10:52:50 +02:00