[PATCH 0/5] remoteproc: Call of_node_put() on iteration error

From: Mathieu Poirier
Date: Mon Mar 20 2023 - 18:20:34 EST


This patchset adds missing calls to of_put_node() when prematurely
exiting from a loop driven by of_phandle_iterator_next().

Some help reviewing this set would be appreciated.

Thanks,
Mathieu

Mathieu Poirier (5):
remoteproc: stm32: Call of_node_put() on iteration error
remoteproc: st: Call of_node_put() on iteration error
remoteproc: rcar_rproc: Call of_node_put() on iteration error
remoteproc: imx_rproc: Call of_node_put() on iteration error
retmoteproc: imx_dsp_rproc: Call of_node_put() on iteration error

drivers/remoteproc/imx_dsp_rproc.c | 12 +++++++++---
drivers/remoteproc/imx_rproc.c | 7 +++++--
drivers/remoteproc/rcar_rproc.c | 9 +++++++--
drivers/remoteproc/st_remoteproc.c | 5 ++++-
drivers/remoteproc/stm32_rproc.c | 6 +++++-
5 files changed, 30 insertions(+), 9 deletions(-)

--
2.25.1