aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2016-11-09 23:12:31 +0000
committerJonathan Cameron <[email protected]>2016-11-12 14:38:38 +0000
commit6c02e33facff34b95b6d67a182b9a0a0b51fabf8 (patch)
treeac540785f828d3e2b3d6cc7b5d57f319b15284ff /tools/perf/scripts/python/call-graph-from-postgresql.py
parent0d8391f3d60f0b544951b4014f433b4c068da293 (diff)
iio: cros_ec_sensors_core: fix unsigned compared less than zero on status
status is a u8 hence the check if status is less than zero has no effect. Fix this by replacing status with int ret so the less than zero compare will correctly detect errors. Issue found with static analysis with CoverityScan, CID 1375919 Signed-off-by: Colin Ian King <[email protected]> Fixes: 974e6f02e27e ("iio: cros_ec_sensors_core: Add common functions for the ChromeOS EC Sensor Hub") Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions