linux/drivers/net/ethernet/qualcomm
Wei Yongjun 0fd7d43fbc net: qcom/emac: fix return value check in emac_sgmii_config()
In case of error, the function ioremap() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.

Also add check for return value of platform_get_resource().

Fixes: 54e19bc74f ("net: qcom/emac: do not use devm on internal
phy pdev")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-10-03 21:53:03 -04:00
..
emac net: qcom/emac: fix return value check in emac_sgmii_config() 2016-10-03 21:53:03 -04:00
Kconfig net: emac: emac gigabit ethernet controller driver 2016-09-01 23:32:05 -07:00
Makefile net: emac: emac gigabit ethernet controller driver 2016-09-01 23:32:05 -07:00
qca_7k.c
qca_7k.h
qca_debug.c
qca_debug.h
qca_framing.c
qca_framing.h
qca_spi.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
qca_spi.h