mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 02:46:49 +07: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 |