openwrt/target/linux/ramips/files-4.14/drivers/net/ethernet/mtk
Wei Yongjun 87c254c87e staging: mt7621-eth: fix return value check in mt7621_gsw_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: f079b6406348 ("staging: mt7621-eth: add gigabit switch driver (GSW)")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-15 06:46:08 +02:00
..
esw_rt3050.c staging: mt7621-eth: fix return value check in mt7621_gsw_probe() 2018-05-15 06:46:08 +02: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 staging: mt7621-eth: fix return value check in mt7621_gsw_probe() 2018-05-15 06:46:08 +02:00
gsw_mt7620.h ramips: preliminary support for 4.14 2018-02-15 10:46:39 +01:00
gsw_mt7621.c staging: mt7621-eth: fix return value check in mt7621_gsw_probe() 2018-05-15 06:46:08 +02: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