aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorNiklas Söderlund <[email protected]>2017-08-22 00:19:12 +0000
committerRob Herring <[email protected]>2017-10-12 17:26:14 +0000
commit3314c6bdd26880e0dfbcb0cb85a1b36d185ce47c (patch)
tree67396bb93b7c7643dab5ae0959d8797997fd9a6f /scripts/gcc-plugins/cyc_complexity_plugin.c
parentdrivers: of: increase MAX_RESERVED_REGIONS to 32 (diff)
downloadkernel-3314c6bdd26880e0dfbcb0cb85a1b36d185ce47c.tar.gz
kernel-3314c6bdd26880e0dfbcb0cb85a1b36d185ce47c.zip
device property: preserve usecount for node passed to of_fwnode_graph_get_port_parent()
Using CONFIG_OF_DYNAMIC=y uncovered an imbalance in the usecount of the node being passed to of_fwnode_graph_get_port_parent(). Preserve the usecount by using of_get_parent() instead of of_get_next_parent() which don't decrement the usecount of the node passed to it. Fixes: 3b27d00e7b6d7c88 ("device property: Move fwnode graph ops to firmware specific locations") Signed-off-by: Niklas Söderlund <[email protected]> Acked-by: Sakari Ailus <[email protected]> Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions