mirror of https://github.com/hak5/openwrt.git
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
esw_rt3050.c | ||
esw_rt3050.h | ||
ethtool.c | ||
ethtool.h | ||
gsw_mt7620.c | ||
gsw_mt7620.h | ||
gsw_mt7621.c | ||
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 |