mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-27 21:14:44 +08:00
0fd7d43fbc
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 |