aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorSakari Ailus <[email protected]>2017-05-24 17:53:54 +0300
committerRob Herring <[email protected]>2017-06-01 08:50:47 -0500
commitdebd3a3b27c76c65a7d032b6f01710e6a6d555ab (patch)
treebd872b01ad8b51c6a69eaf18e2bac10375c9c20c /tools/perf/scripts/python/call-graph-from-sql.py
parent1df09bc66f9bc146732628f8426787f35ab1804b (diff)
of: Make of_fwnode_handle() safer
On the expense of a little bit more complexity in the of_fwnode_handle() macro, make the macro result in NULL in case its argument is NULL while still referencing it only once. Signed-off-by: Sakari Ailus <[email protected]> Reviewed-by: Kieran Bingham <[email protected]> Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions