aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2017-07-22 13:04:33 -0300
committerWim Van Sebroeck <[email protected]>2017-09-09 20:50:35 +0200
commit15210ad18fcbd7f53f40e26e4391710d271c2daf (patch)
tree2708ced2eafdf1c3077bb4d45c1a7581dee5c44a /tools/perf/scripts/python/call-graph-from-sql.py
parent6f671c6b6288fd673e8b8b8acf1070100ba8188a (diff)
watchdog: qcom: Check for platform_get_resource() failure
platform_get_resource() may fail, so we should better check its return value and propagate an error in case it fails. This avoids a NULL pointer dereference a bit later in the code. Signed-off-by: Fabio Estevam <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions