commit | 68a39a3e9fe1d6f0dfe59e3f4d6bc6765e01c903 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Wed Oct 11 10:48:44 2017 +0000 |
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | Wed Oct 11 10:47:47 2017 -0700 |
tree | 7fb7aa098a2599935805aaed99aca9bfe7a2a5ad | |
parent | ab759b9732fd8a4ae0252bb2087e90d776f74b9f [diff] |
remoteproc: imx_rproc: fix return value check in imx_rproc_addr_init() In case of error, the function devm_ioremap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>