diff options
author | Wen Yang <[email protected]> | 2019-03-05 19:32:55 +0800 |
---|---|---|
committer | Gregory CLEMENT <[email protected]> | 2019-04-30 09:05:39 +0200 |
commit | 8f11b5ab441d3a80de7f079598a548350d3eed0b (patch) | |
tree | f4d5adcecfa2b6f41d926c85e05b4c028672d4d3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7971cc408d11e9fb6dd2823f81d3a23465700dd0 (diff) |
ARM: mvebu: fix a leaked reference by adding missing of_node_put
The call to of_get_next_child returns a node pointer with refcount
incremented thus it must be explicitly decremented after the last
usage.
Detected by coccinelle with the following warnings:
./arch/arm/mach-mvebu/pm-board.c:135:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 88, but without a corresponding object release within this functio
Signed-off-by: Wen Yang <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: Gregory Clement <[email protected]>
Cc: Sebastian Hesselbarth <[email protected]>
Cc: Russell King <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Gregory CLEMENT <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions