diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-10-11 10:48:44 +0000 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-10-11 10:47:47 -0700 |
commit | 68a39a3e9fe1d6f0dfe59e3f4d6bc6765e01c903 (patch) | |
tree | 7fb7aa098a2599935805aaed99aca9bfe7a2a5ad /fs | |
parent | ab759b9732fd8a4ae0252bb2087e90d776f74b9f (diff) | |
download | linux-stable-68a39a3e9fe1d6f0dfe59e3f4d6bc6765e01c903.tar.gz |
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions