diff options
author | Marek Szyprowski <[email protected]> | 2020-11-19 11:37:46 +0100 |
---|---|---|
committer | Georgi Djakov <[email protected]> | 2020-11-20 16:01:35 +0200 |
commit | 017496af28e2589c2c2cb396baba0507179d2748 (patch) | |
tree | 58493fb521a8c9d1edc213d78b8d1c4930361c52 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 7ab1e9117607485df977bb6e271be5c5ad649a4c (diff) |
interconnect: fix memory trashing in of_count_icc_providers()
of_count_icc_providers() function uses for_each_available_child_of_node()
helper to recursively check all the available nodes. This helper already
properly handles child nodes' reference count, so there is no need to do
it explicitly. Remove the excessive call to of_node_put(). This fixes
memory trashing when CONFIG_OF_DYNAMIC is enabled (for example
arm/multi_v7_defconfig).
Fixes: b1d681d8d324 ("interconnect: Add sync state support")
Signed-off-by: Marek Szyprowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Georgi Djakov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions