aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2022-11-21 10:32:09 +0800
committerRob Herring <[email protected]>2022-11-22 17:22:52 -0600
commit60d865bd5a9b15a3961eb1c08bd4155682a3c81e (patch)
treefc9dc1f7352df4fabc60adbd93f1cd219031c26a /tools/perf/scripts/python/exported-sql-viewer.py
parent917c362b5f8a6e31ff35719b1bacfc1b76a1fd2f (diff)
of: property: decrement node refcount in of_fwnode_get_reference_args()
In of_fwnode_get_reference_args(), the refcount of of_args.np has been incremented in the case of successful return from of_parse_phandle_with_args() or of_parse_phandle_with_fixed_args(). Decrement the refcount if of_args is not returned to the caller of of_fwnode_get_reference_args(). Fixes: 3e3119d3088f ("device property: Introduce fwnode_property_get_reference_args") Signed-off-by: Yang Yingliang <[email protected]> Reviewed-by: Sakari Ailus <[email protected]> Reviewed-by: Frank Rowand <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions