diff options
| author | Miaoqian Lin <linmq006@gmail.com> | 2025-10-28 06:16:20 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-11-24 12:37:49 +0300 |
| commit | ae65e73aeef64c894a72fd8b6fba4acb5ef7958f (patch) | |
| tree | e228f9740d648e39e8e38c0ca49e06c24639fc02 /scripts/gdb/linux/utils.py | |
| parent | 983e91da82ec3e331600108f9be3ea61236f5c75 (diff) | |
| download | linux-ae65e73aeef64c894a72fd8b6fba4acb5ef7958f.tar.xz | |
pmdomain: imx: Fix reference count leak in imx_gpc_remove
commit bbde14682eba21d86f5f3d6fe2d371b1f97f1e61 upstream.
of_get_child_by_name() returns a node pointer with refcount incremented, we
should use of_node_put() on it when not needed anymore. Add the missing
of_node_put() to avoid refcount leak.
Fixes: 721cabf6c660 ("soc: imx: move PGC handling to a new GPC driver")
Cc: stable@vger.kernel.org
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
