mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-01 19:34:35 +08:00
a7654211d0
In the function devm_platform_ioremap_resource(), if get resource
failed, the return value is ERR_PTR() not NULL. Thus it must be
replaced by IS_ERR(), or else it may result in crashes if a critical
error path is encountered.
Fixes:
|
||
---|---|---|
.. | ||
ioc3-eth.c | ||
Kconfig | ||
Makefile | ||
meth.c | ||
meth.h |