diff options
author | Yangtao Li <tiny.windzz@gmail.com> | 2018-12-26 08:36:58 -0500 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-12-28 11:42:41 -0800 |
commit | a3c24050bdf70c958a8d98c2823b66ea761e6a31 (patch) | |
tree | b0e5aad6fbfa515330758640672b2b36afe3947b /scripts/bpf_helpers_doc.py | |
parent | 567177024e0313e4f0dcba7ba10c0732e50e655d (diff) |
clk: armada-370: fix refcount leak in a370_clk_init()
The of_find_compatible_node() returns a node pointer with refcount
incremented, but there is the lack of use of the of_node_put() when
done. Add the missing of_node_put() to release the refcount.
Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Reviewed-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Fixes: 07ad6836fa21 ("clk: mvebu: armada-370: maintain clock init order")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions