diff options
author | Krzysztof Kozlowski <[email protected]> | 2019-08-05 18:27:10 +0200 |
---|---|---|
committer | Krzysztof Kozlowski <[email protected]> | 2019-10-01 20:22:04 +0200 |
commit | a322b3377f4bac32aa25fb1acb9e7afbbbbd0137 (patch) | |
tree | 1489eb80b91f2b0f672e6e924d34271216de2ab2 /tools/perf/util/trace-event-scripting.c | |
parent | 7f028caadf6c37580d0f59c6c094ed09afc04062 (diff) |
pinctrl: samsung: Fix device node refcount leaks in init code
Several functions use for_each_child_of_node() loop with a break to find
a matching child node. Although each iteration of
for_each_child_of_node puts the previous node, but early exit from loop
misses it. This leads to leak of device node.
Cc: <[email protected]>
Fixes: 9a2c1c3b91aa ("pinctrl: samsung: Allow grouping multiple pinmux/pinconf nodes")
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions