diff options
| author | Jiale Yao <yaojiale02@163.com> | 2026-10-03 16:31:56 +0800 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-10-07 12:34:08 +0200 |
| commit | efd9330bb69732868a0ecc83df0a00553096bc8f (patch) | |
| tree | c76c4e4b7b6d3ac3b78d08efe9ed701a33122522 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | e873c665e503ebfb6dafaf9346c3956695686226 (diff) | |
| download | linux-next-efd9330bb69732868a0ecc83df0a00553096bc8f.tar.gz linux-next-efd9330bb69732868a0ecc83df0a00553096bc8f.zip | |
pinctrl: tegra: xusb: free maps on DT map failure
tegra_xusb_padctl_parse_subnode() can append mappings before a later
child or configuration operation fails. The top-level callback currently
returns the error while retaining all mappings allocated for earlier
children.
Free the accumulated map on failure. The caller ignores the output
parameters when the mapping callback returns an error, so they do not need
to be reset after freeing the map.
Signed-off-by: Jiale Yao <yaojiale02@163.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
