c4ae54dfab
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> |
||
---|---|---|
.. | ||
esw_rt3050.c | ||
esw_rt3050.h | ||
ethtool.c | ||
ethtool.h | ||
gsw_mt7620.c | ||
gsw_mt7620.h | ||
gsw_mt7621.c | ||
Kconfig | ||
Makefile | ||
mdio.c | ||
mdio.h | ||
mdio_mt7620.c | ||
mdio_rt2880.c | ||
mdio_rt2880.h | ||
mt7530.c | ||
mt7530.h | ||
mtk_debugfs.c | ||
mtk_eth_soc.c | ||
mtk_eth_soc.h | ||
mtk_offload.c | ||
mtk_offload.h | ||
soc_mt7620.c | ||
soc_mt7621.c | ||
soc_rt2880.c | ||
soc_rt3050.c | ||
soc_rt3883.c |