summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorJiale Yao <yaojiale02@163.com>2026-10-03 16:31:55 +0800
committerGeert Uytterhoeven <geert+renesas@glider.be>2026-11-02 10:49:28 +0100
commitf9edef88c5e138689a59b6d4150999ac8e94bf1f (patch)
tree997a35ddf8fbc6c64652e65d65d08e308c16f4f5 /scripts/Makefile.thinlto
parent6628e7d4c6b25c8d18f1345e3a20d21829aae7e4 (diff)
downloadlinux-next-f9edef88c5e138689a59b6d4150999ac8e94bf1f.tar.gz
linux-next-f9edef88c5e138689a59b6d4150999ac8e94bf1f.zip
pinctrl: renesas: rzn1: Free maps on DT map failure
rzn1_dt_node_to_map_one() appends mappings for each DT node. If a node fails after map storage has been reserved, the top-level callback returns without releasing mappings built for the current and previous nodes. Free the accumulated map on every error path. 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> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://patch.msgid.link/20261003083200.459705-3-yaojiale02@163.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions