mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 07:24:39 +08:00
bd69058f50
platform_get_resource() may fail and return NULL, so we had better
check its return value to avoid a NULL pointer dereference a bit later
in the code. Fix it to use devm_platform_ioremap_resource_byname()
instead of calling platform_get_resource_byname() and devm_ioremap().
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
ll_temac_main.c | ||
ll_temac_mdio.c | ||
ll_temac.h | ||
Makefile | ||
xilinx_axienet_main.c | ||
xilinx_axienet_mdio.c | ||
xilinx_axienet.h | ||
xilinx_emaclite.c |