diff options
author | Vasyl Gomonovych <gomonovych@gmail.com> | 2021-01-24 20:51:36 -0800 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@oracle.com> | 2021-01-24 20:51:36 -0800 |
commit | a88f66d4a8668e66afa8eb4099b4515e0729b52a (patch) | |
tree | e343da1e35ca91aedfd0582115ad6060c5c16b54 /Documentation/arm64/memory.rst | |
parent | 5c8fe583cce542aa0b84adc939ce85293de36e5e (diff) |
soc: ti: knav_qmss: Put refcount for dev node in failure case
for_each_child_of_node increases refcount for each device_node and decreases previous one
in a loop, but in case jump out of a loop current node refcount has no chnase for decreases
so requires an of_node_put for jupm out cases.
Fix based on raport from
scripts/coccinelle/iterators/for_each_child.cocci
Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'Documentation/arm64/memory.rst')
0 files changed, 0 insertions, 0 deletions