diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-05-12 06:55:58 +0200 |
---|---|---|
committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2022-06-22 18:44:49 +0200 |
commit | 61afafe8b938bc74841cf4b1a73dd08b9d287c5a (patch) | |
tree | f9ec7914c39e577de47f289c23a587cae41b9007 /drivers/clocksource/Kconfig | |
parent | remoteproc: omap_remoteproc: Fix typo in comment (diff) | |
download | linux-61afafe8b938bc74841cf4b1a73dd08b9d287c5a.tar.xz linux-61afafe8b938bc74841cf4b1a73dd08b9d287c5a.zip |
remoteproc: imx_rproc: Fix refcount leak in imx_rproc_addr_init
of_parse_phandle() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not needed anymore.
This function has two paths missing of_node_put().
Fixes: 6e962bfe56b9 ("remoteproc: imx_rproc: add missing of_node_put")
Fixes: a0ff4aa6f010 ("remoteproc: imx_rproc: add a NXP/Freescale imx_rproc driver")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220512045558.7142-1-linmq006@gmail.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'drivers/clocksource/Kconfig')
0 files changed, 0 insertions, 0 deletions