mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-15 02:05:16 +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 | ||
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 |