diff options
| author | Wentao Liang <vulab@iscas.ac.cn> | 2026-09-17 14:25:35 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-17 20:58:48 +0100 |
| commit | c41b69e9f76fd9632662714c1d37860468e8d773 (patch) | |
| tree | 19d4d85476d4788180ae32e18b1f93a30cfa17cc /tools/perf/scripts/python/stackcollapse.py | |
| parent | 3ca9370f0a797248694d3b7c71708ffa8e09c55d (diff) | |
regulator: core: Fix c_rdev reference leak in regulator_resolve_coupling()
of_parse_coupled_regulator() returns the coupled regulator with its
device reference incremented, but regulator_resolve_coupling() returns
without dropping it when the coupled regulator belongs to a different
coupler, leaking the reference.
Fixes: d8ca7d184b33 ("regulator: core: Introduce API for regulators coupling customization")
Cc: stable@vger.kernel.org
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
Link: https://patch.msgid.link/20260917142535.2156720-1-vulab@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
