diff options
author | Colin Ian King <[email protected]> | 2016-12-13 10:28:12 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2016-12-14 17:38:51 +0000 |
commit | f6f0083cca66e673cca6fa26b52b107b5570081d (patch) | |
tree | 5399f903bd7c5b6c28aac979865670b70cd8306f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | fafd67940774733fa97f4b09412aea6981b82e0a (diff) |
spi: armada-3700: fix unsigned compare than zero on irq
spi->irq is an unsigned integer hence the check if status is less than
zero has no effect. Fix this by replacing spi->irq with an int irq
so the less than zero compare will correctly detect errors.
Issue found with static analysis with CoverityScan, CID1388567
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Romain Perier <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions