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:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
ioc3-eth.c | ||
meth.c | ||
meth.h |