diff options
author | Boris Brezillon <[email protected]> | 2017-07-04 11:10:40 +0200 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2017-07-04 11:10:36 +0100 |
commit | 277867ade8262583f4280cadbe90e0031a3706a7 (patch) | |
tree | dd0697bb2b3d19697a2dd3ea741a046dda855ce7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 469bcef53c546bb792aa66303933272991b7831d (diff) |
irqchip/atmel-aic: Fix unbalanced refcount in aic_common_rtc_irq_fixup()
of_find_compatible_node() is calling of_node_put() on its first argument
thus leading to an unbalanced of_node_get/put() issue if the node has not
been retained before that.
Instead of passing the root node, pass NULL, which does exactly the same:
iterate over all DT nodes, starting from the root node.
Signed-off-by: Boris Brezillon <[email protected]>
Reported-by: Alexandre Belloni <[email protected]>
Fixes: 3d61467f9bab ("irqchip: atmel-aic: Implement RTC irq fixup")
Cc: <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions