Skip to content
Commit dce68a49 authored by Aleksandr Mishin's avatar Aleksandr Mishin Committed by Mathieu Poirier
Browse files

remoteproc: imx_rproc: Fix refcount mistake in imx_rproc_addr_init



In imx_rproc_addr_init() strcmp() is performed over the node after the
of_node_put() is performed over it.
Fix this error by moving of_node_put() calls.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: 5e4c1243 ("remoteproc: imx_rproc: support remote cores booted before Linux Kernel")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarAleksandr Mishin <amishin@t-argos.ru>
Link: https://lore.kernel.org/r/20240612131714.12907-1-amishin@t-argos.ru


Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
parent 8d3739db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment