openwrtv4/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk
Wei Yongjun c4ae54dfab staging: mt7621-eth: fix return value check in mtk_probe()
In case of error, the function devm_ioremap_resource() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().

Fixes: e3cbf478f846 ("staging: mt7621-eth: add the drivers core files")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-15 06:45:34 +02:00
..
esw_rt3050.c
esw_rt3050.h
ethtool.c ramips: rename ethernet priv->device field to dev to match upstream 2018-03-23 20:56:34 +01:00
ethtool.h
gsw_mt7620.c ramips: mt7620: power up ephy port 4 2018-03-06 19:49:05 +01:00
gsw_mt7620.h
gsw_mt7621.c ramips: remove dead (and potentially crashy) code in mt7621 gsw init 2018-03-23 20:56:34 +01:00
Kconfig ramips: implement hardware NAT offload for MT7621 2018-04-06 19:37:53 +02:00
Makefile ramips: implement hardware NAT offload for MT7621 2018-04-06 19:37:53 +02:00
mdio.c ramips: add missing unlock in fe_phy_link_adjust 2018-04-14 20:12:32 +02:00
mdio.h
mdio_mt7620.c
mdio_rt2880.c ramips: rename ethernet priv->device field to dev to match upstream 2018-03-23 20:56:34 +01:00
mdio_rt2880.h
mt7530.c
mt7530.h
mtk_debugfs.c ramips: implement hardware NAT offload for MT7621 2018-04-06 19:37:53 +02:00
mtk_eth_soc.c staging: mt7621-eth: fix return value check in mtk_probe() 2018-05-15 06:45:34 +02:00
mtk_eth_soc.h ramips: implement hardware NAT offload for MT7621 2018-04-06 19:37:53 +02:00
mtk_offload.c ramips: implement hardware NAT offload for MT7621 2018-04-06 19:37:53 +02:00
mtk_offload.h ramips: implement hardware NAT offload for MT7621 2018-04-06 19:37:53 +02:00
soc_mt7620.c ramips: rename ethernet priv->device field to dev to match upstream 2018-03-23 20:56:34 +01:00
soc_mt7621.c ramips: rename ethernet priv->device field to dev to match upstream 2018-03-23 20:56:34 +01:00
soc_rt2880.c
soc_rt3050.c
soc_rt3883.c