mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-23 01:14:56 +00:00
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:
|
||
|---|---|---|
| .. | ||
| emac-mac.c | ||
| emac-mac.h | ||
| emac-phy.c | ||
| emac-phy.h | ||
| emac-sgmii.c | ||
| emac-sgmii.h | ||
| emac.c | ||
| emac.h | ||
| Makefile | ||