mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-14 06:02:40 +00:00
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 | ||