summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorFrank Rowand <frank.rowand@sony.com>2020-04-17 00:42:47 +0300
committerRob Herring <robh@kernel.org>2020-04-17 16:31:34 +0300
commit216830d2413cc61be3f76bc02ffd905e47d2439e (patch)
tree9d7514a59326016292465e50cffaec93960a6a62 /tools/perf/scripts/python/export-to-postgresql.py
parentb3fb36ed694b05738d45218ea72cf7feb10ce2b1 (diff)
downloadlinux-216830d2413cc61be3f76bc02ffd905e47d2439e.tar.xz
of: unittest: kmemleak in of_unittest_platform_populate()
kmemleak reports several memory leaks from devicetree unittest. This is the fix for problem 2 of 5. of_unittest_platform_populate() left an elevated reference count for grandchild nodes (which are platform devices). Fix the platform device reference counts so that the memory will be freed. Fixes: fb2caa50fbac ("of/selftest: add testcase for nodes with same name and address") Reported-by: Erhard F. <erhard_f@mailbox.org> Signed-off-by: Frank Rowand <frank.rowand@sony.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions