aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorCarlo Caione <[email protected]>2017-04-19 22:36:39 +0200
committerDarren Hart (VMware) <[email protected]>2017-04-19 13:54:19 -0700
commitd313876925f3e7a480a02773fd333bcab9202d5e (patch)
tree47b647fd140d105067ec50591fef232fbeaaafd6 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentd1c7073bce91fec5af71a8026636a0735f0c867c (diff)
platform/x86: hp-wmi: Do not shadow error values
All the helper functions (i.e. hp_wmi_dock_state, hp_wmi_tablet_state, ...) using hp_wmi_perform_query to perform an HP WMI query shadow the returned value in case of error. We return -EINVAL only when the HP WMI query returns a positive value (the specific error code) to not mix this up with the actual value returned by the helper function. Suggested-by: Andy Shevchenko <[email protected]> Signed-off-by: Carlo Caione <[email protected]> Signed-off-by: Darren Hart (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions