aboutsummaryrefslogtreecommitdiff
path: root/mm/rmap.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-09-05 20:25:03 +0800
committerBjorn Andersson <bjorn.andersson@linaro.org>2020-12-10 13:23:15 -0600
commit6dfdf6e4e7096fead7755d47d91d72e896bb4804 (patch)
treec03daf9d85a5b29bb3f6bc550d8820e1544184c1 /mm/rmap.c
parentc0a6e5ee1ecfe4c3a5799cfd30820748eff5dfab (diff)
remoteproc: k3-dsp: Fix return value check in k3_dsp_rproc_of_get_memories()
In case of error, the function devm_ioremap_wc() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org> Fixes: 6edbe024ba17 ("remoteproc: k3-dsp: Add a remoteproc driver of K3 C66x DSPs") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Acked-by: Suman Anna <s-anna@ti.com> Link: https://lore.kernel.org/r/20200905122503.17352-1-yuehaibing@huawei.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions