diff options
| author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-07-04 09:18:33 -0500 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2018-07-05 11:07:59 +0100 |
| commit | b999a7a9e72bd2d37b5d03772cedfc4dd45875bf (patch) | |
| tree | bda601c8b833faf563cc2a40b733c0ac217c09c2 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | ASoC: qdsp6: q6afe-dai: Do not overwrite slim dai num_channels (diff) | |
| download | linux-b999a7a9e72bd2d37b5d03772cedfc4dd45875bf.tar.gz linux-b999a7a9e72bd2d37b5d03772cedfc4dd45875bf.zip | |
ASoC: fsl_spdif: Use 64-bit arithmetic instead of 32-bit
Add suffix ULL to constant 64 in order to give the compiler complete
information about the proper arithmetic to use.
Notice that such constant is used in a context that expects an
expression of type u64 (64 bits, unsigned) and the following
expression is currently being evaluated using 32-bit arithmetic:
rate[index] * txclk_df * 64
Addresses-Coverity-ID: 1222129 ("Unintentional integer overflow")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions
