diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-10-11 13:48:44 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-10-11 20:47:47 +0300 |
commit | 68a39a3e9fe1d6f0dfe59e3f4d6bc6765e01c903 (patch) | |
tree | 7fb7aa098a2599935805aaed99aca9bfe7a2a5ad /drivers/ata/sata_vsc.c | |
parent | ab759b9732fd8a4ae0252bb2087e90d776f74b9f (diff) | |
download | linux-68a39a3e9fe1d6f0dfe59e3f4d6bc6765e01c903.tar.xz |
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 'drivers/ata/sata_vsc.c')
0 files changed, 0 insertions, 0 deletions