summaryrefslogtreecommitdiff
path: root/include/linux/sem.h
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2022-05-12 08:55:58 +0400
committerMathieu Poirier <mathieu.poirier@linaro.org>2022-06-22 10:44:49 -0600
commit61afafe8b938bc74841cf4b1a73dd08b9d287c5a (patch)
treef9ec7914c39e577de47f289c23a587cae41b9007 /include/linux/sem.h
parent2d1ea19f179be04f303be96129afa62545d3121e (diff)
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 'include/linux/sem.h')
0 files changed, 0 insertions, 0 deletions