diff options
| author | Colin Ian King <[email protected]> | 2018-10-31 19:31:43 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2018-11-05 10:33:06 +0000 |
| commit | 6b27e27729270a2478fdebea2db9c4f57bb4e8e6 (patch) | |
| tree | 82176386781378ef69a7755bb6d32a35e2184fd1 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 651022382c7f8da46cb4872a545ee1da6d097d2a (diff) | |
ASoC: stm32: sai: fix less than zero comparison on unsigned int
Currently, the comparison of div < 0 is always false because div is
an unsigned int. Fix this by making div an int.
Detected by CoverityScan, CID#1475309 ("Unsigned compared against 0")
Fixes: 8307b2afd386 "(ASoC: stm32: sai: set sai as mclk clock provider")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions