aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2020-07-20 18:13:35 +0200
committerMauro Carvalho Chehab <[email protected]>2020-09-01 14:13:27 +0200
commite5b95c8febd504659b60a7601fd43c0ae8e4f3c0 (patch)
tree09393c84dd06256563f1767e418fa8859e23fe39 /tools/perf/scripts/python/exported-sql-viewer.py
parent4eb5928dbfff2f252d8bca7ec4c4ca0890da0927 (diff)
media: i2c: fix error check on max9286_read call
Currently the error return from the call to max9286_read is masked with 0xf0 so the following check for a negative error return is never true. Fix this by checking for an error first, then masking the return value for subsequent conflink_mask checking. Addresses-Coverity: ("Logically dead code") Fixes: 66d8c9d2422d ("media: i2c: Add MAX9286 driver") Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Kieran Bingham <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions