mirror of https://gitee.com/openkylin/linux.git
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 | ||
Kconfig | ||
Makefile | ||
qca_7k.c | ||
qca_7k.h | ||
qca_debug.c | ||
qca_debug.h | ||
qca_framing.c | ||
qca_framing.h | ||
qca_spi.c | ||
qca_spi.h |