linux/drivers/staging/mt7621-eth
Wei Yongjun 3eb3c3e32e 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: f079b64063 ("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-03-22 18:31:04 +01:00
..
Documentation/devicetree/bindings/net
ethtool.c
ethtool.h
gsw_mt7620.h staging: mt7621-eth: add gigabit switch driver (GSW) 2018-03-19 19:56:02 +01:00
gsw_mt7621.c staging: mt7621-eth: fix return value check in mt7621_gsw_probe() 2018-03-22 18:31:04 +01:00
Kconfig staging: mt7621-eth: mediatek: add Kconfig and Makefile 2018-03-19 19:56:02 +01:00
Makefile staging: mt7621-eth: mediatek: add Kconfig and Makefile 2018-03-19 19:56:02 +01:00
mdio_mt7620.c staging: mt7621-eth: add mdio support for mt762X family 2018-03-19 19:56:02 +01:00
mdio.c staging: mt7621-eth: fix return value check in mtk_connect_phy_node() 2018-03-22 18:31:04 +01:00
mdio.h
mtk_eth_soc.c staging: mt7621-eth: fix return value check in mtk_probe() 2018-03-22 18:31:04 +01:00
mtk_eth_soc.h
soc_mt7621.c staging: mt7621-eth: add support for mt7621 2018-03-19 19:56:02 +01:00
TODO staging: mt7621-eth: add support for mt7621 2018-03-19 19:56:02 +01:00