diff options
author | ZhangPeng <zhangpeng362@huawei.com> | 2022-11-25 10:01:56 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-11-25 12:49:28 +0300 |
commit | 5ead93289815a075d43c415e35c8beafafb801c9 (patch) | |
tree | 0295726f7983d6edf51ea3ca17b8fdf367979aa9 /tools/perf/scripts/python/stackcollapse.py | |
parent | a8acc11643082a706de86a19f1f824712d971984 (diff) | |
download | linux-5ead93289815a075d43c415e35c8beafafb801c9.tar.xz |
pinctrl: pinconf-generic: add missing of_node_put()
of_node_put() needs to be called when jumping out of the loop, since
for_each_available_child_of_node() will increase the refcount of node.
Fixes: c7289500e29d ("pinctrl: pinconf-generic: scan also referenced phandle node")
Signed-off-by: ZhangPeng <zhangpeng362@huawei.com>
Link: https://lore.kernel.org/r/20221125070156.3535855-1-zhangpeng362@huawei.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions