tag | 1fb2541cd448252344049020a1e506b4b34359e8 | |
---|---|---|
tagger | Gregory CLEMENT <gregory.clement@bootlin.com> | Thu Oct 19 17:16:07 2023 +0200 |
object | cc3b17cabe9fd2881eace5b7b1581914569d62e9 |
mvebu arm for 6.7 (part 1) Fix missing of_node_put in dove code base
commit | cc3b17cabe9fd2881eace5b7b1581914569d62e9 | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@inria.fr> | Thu Sep 07 11:55:17 2023 +0200 |
committer | Gregory CLEMENT <gregory.clement@bootlin.com> | Wed Sep 20 11:28:02 2023 +0200 |
tree | 3f6c557a96657cfbee417064d732a83effd1a0e9 | |
parent | 0bb80ecc33a8fb5a682236443c1e740d5c917d1d [diff] |
soc: dove: add missing of_node_put for_each_available_child_of_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. This was done using the Coccinelle semantic patch iterators/for_each_child.cocci Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>