forked from Minki/linux
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 |