Re: [PATCH] remoteproc: imx_rproc: Fix refcount mistake in imx_rproc_addr_init

2024-06-17 Thread Mathieu Poirier
On Wed, Jun 12, 2024 at 04:17:14PM +0300, Aleksandr Mishin wrote: > 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. >

[PATCH] remoteproc: imx_rproc: Fix refcount mistake in imx_rproc_addr_init

2024-06-12 Thread Aleksandr Mishin
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: 5e4c1243071d ("remoteproc: imx_rproc: support remote cores booted befor