diff options
author | Wei Yongjun <[email protected]> | 2017-10-11 10:48:44 +0000 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2017-10-11 10:47:47 -0700 |
commit | 68a39a3e9fe1d6f0dfe59e3f4d6bc6765e01c903 (patch) | |
tree | 7fb7aa098a2599935805aaed99aca9bfe7a2a5ad /lib/memory-notifier-error-inject.c | |
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 <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions