diff options
| author | Erick Karanja <karanja99erick@gmail.com> | 2025-10-12 21:12:49 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-29 14:10:27 +0100 |
| commit | f957c0f9975d9314b3c054ad5e4f6badd2eacc14 (patch) | |
| tree | e5c813a8f6d3086f017886c125106d00cfb26524 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 66bc9c23072197301768187d83d2a26bfb798365 (diff) | |
hwmon: (pmbus/isl68137) Fix child node reference leak on early return
[ Upstream commit 57f6f47920ef2f598c46d0a04bd9c8984c98e6df ]
In the case of an early return, the reference to the child node needs
to be released.
Use for_each_child_of_node_scoped to fix the issue.
Fixes: 3996187f80a0e ("hwmon: (pmbus/isl68137) add support for voltage divider on Vout")
Signed-off-by: Erick Karanja <karanja99erick@gmail.com>
Link: https://lore.kernel.org/r/20251012181249.359401-1-karanja99erick@gmail.com
[groeck: Updated subject/description]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
