diff options
| author | Felix Gu <ustc.gu@gmail.com> | 2026-01-28 02:23:12 +0800 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-02-03 01:28:59 +0100 |
| commit | e56aa18eba32fb68ac5e19e44670010095bb189c (patch) | |
| tree | 5093fed8bf8c82e1bbcdbfdf7ed7f775345ee639 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | eabf273c8466af3f033473c2d2267a6ea7946d57 (diff) | |
| download | linux-e56aa18eba32fb68ac5e19e44670010095bb189c.tar.gz linux-e56aa18eba32fb68ac5e19e44670010095bb189c.zip | |
pinctrl: meson: amlogic-a4: Fix device node reference leak in bank helpers
of_parse_phandle_with_fixed_args() increments the reference count of the
returned device node, so it must be explicitly released using
of_node_put() after use.
Fix the reference leak in aml_bank_pins() and aml_bank_number() by
adding the missing of_node_put() calls.
Fixes: 6e9be3abb78c ("pinctrl: Add driver support for Amlogic SoCs")
Signed-off-by: Felix Gu <ustc.gu@gmail.com>
Reviewed-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
