diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2019-08-05 18:27:10 +0200 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2019-10-01 20:22:04 +0200 |
commit | a322b3377f4bac32aa25fb1acb9e7afbbbbd0137 (patch) | |
tree | 1489eb80b91f2b0f672e6e924d34271216de2ab2 /certs | |
parent | 7f028caadf6c37580d0f59c6c094ed09afc04062 (diff) | |
download | linux-a322b3377f4bac32aa25fb1acb9e7afbbbbd0137.tar.gz linux-a322b3377f4bac32aa25fb1acb9e7afbbbbd0137.tar.bz2 linux-a322b3377f4bac32aa25fb1acb9e7afbbbbd0137.zip |
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: <stable@vger.kernel.org>
Fixes: 9a2c1c3b91aa ("pinctrl: samsung: Allow grouping multiple pinmux/pinconf nodes")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions