mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 19:57:00 +07: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 |