mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
87c254c87e
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> |
||
---|---|---|
.. | ||
esw_rt3050.c | ||
esw_rt3050.h | ||
ethtool.c | ||
ethtool.h | ||
gsw_mt7620.c | ||
gsw_mt7620.h | ||
gsw_mt7621.c | ||
Kconfig | ||
Makefile | ||
mdio_mt7620.c | ||
mdio_rt2880.c | ||
mdio_rt2880.h | ||
mdio.c | ||
mdio.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 |