diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-05-12 07:55:58 +0300 |
---|---|---|
committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2022-06-22 19:44:49 +0300 |
commit | 61afafe8b938bc74841cf4b1a73dd08b9d287c5a (patch) | |
tree | f9ec7914c39e577de47f289c23a587cae41b9007 /crypto/des_generic.c | |
parent | 2d1ea19f179be04f303be96129afa62545d3121e (diff) | |
download | linux-61afafe8b938bc74841cf4b1a73dd08b9d287c5a.tar.xz |
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 'crypto/des_generic.c')
0 files changed, 0 insertions, 0 deletions