aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2018-08-27 10:21:47 +0200
committerRob Herring <[email protected]>2018-10-23 13:20:04 -0500
commitf9a7082327e26f54067a49cac2316d31e0cc8ba7 (patch)
treee0d0cb8bf418780afc4dd2e87d67711476e5c313 /tools/perf/scripts/python/export-to-postgresql.py
parentceff2f4dcd44abf35864d9a99f85ac619e89a01d (diff)
drm/msm: fix OF child-node lookup
Use the new of_get_compatible_child() helper to lookup the legacy pwrlevels child node instead of using of_find_compatible_node(), which searches the entire tree from a given start node and thus can return an unrelated (i.e. non-child) node. This also addresses a potential use-after-free (e.g. after probe deferral) as the tree-wide helper drops a reference to its first argument (i.e. the probed device's node). While at it, also fix the related child-node reference leak. Fixes: e2af8b6b0ca1 ("drm/msm: gpu: Use OPP tables if we can") Cc: stable <[email protected]> # 4.12 Cc: Jordan Crouse <[email protected]> Cc: Rob Clark <[email protected]> Cc: David Airlie <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions