diff options
| author | Adam Guerin <adam.guerin@intel.com> | 2021-01-04 17:21:58 +0000 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-01-14 17:10:26 +1100 |
| commit | 80fccf18fec399de2151f84276d799ee0f704141 (patch) | |
| tree | 353338679b8d4f3239aa358169ffa5fd019a1f38 /tools/perf/scripts/python | |
| parent | crypto: qat - fix potential spectre issue (diff) | |
| download | linux-80fccf18fec399de2151f84276d799ee0f704141.tar.gz linux-80fccf18fec399de2151f84276d799ee0f704141.zip | |
crypto: qat - change format string and cast ring size
Cast ADF_SIZE_TO_RING_SIZE_IN_BYTES() so it can return a 64 bit value.
This issue was detected by smatch:
drivers/crypto/qat/qat_common/adf_transport_debug.c:65 adf_ring_show() warn: should '(1 << (ring->ring_size - 1)) << 7' be a 64 bit type?
Signed-off-by: Adam Guerin <adam.guerin@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
