diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-06-07 15:16:01 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-06-15 16:04:01 +0200 |
commit | 4b32e054335ea0ce50967f63a7bfd4db058b14b9 (patch) | |
tree | 6abbbc83a3aca0ed6bd4c0e7822871eaaa999059 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2ed2c3814951e7cff982b26c81917e6bbb10f3ae (diff) |
pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map
of_parse_phandle() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
Add missing of_node_put() to avoid refcount leak."
Fixes: c2f6d059abfc ("pinctrl: nomadik: refactor DT parser to take two paths")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220607111602.57355-1-linmq006@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions