openwrt/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk
Wei Yongjun edec251870 staging: mt7621-eth: fix return value check in mtk_connect_phy_node()
In case of error, the function of_phy_connect() returns NULL pointer not
ERR_PTR(). The IS_ERR() test in the return value check should be
replaced with NULL test.

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:53 +02:00
..
esw_rt3050.c ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00
esw_rt3050.h ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00
ethtool.c ramips: rename ethernet priv->device field to dev to match upstream 2018-03-23 20:56:34 +01:00
ethtool.h ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00
gsw_mt7620.c ramips: mt7620: power up ephy port 4 2018-03-06 19:49:05 +01:00
gsw_mt7620.h ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00
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_mt7620.c ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00
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 ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00
mdio.c staging: mt7621-eth: fix return value check in mtk_connect_phy_node() 2018-05-15 06:45:53 +02:00
mdio.h ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00
mt7530.c ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00
mt7530.h ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00
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 ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00
soc_rt3050.c ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00
soc_rt3883.c ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00