summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/cavium
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2018-05-23 13:32:42 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2018-05-30 18:13:47 +0200
commitd9c35771d884c6d8eb57057be4bc9a74161361bc (patch)
tree678b560f5c842d9b37aa1ade9e0e669034328643 /drivers/crypto/cavium
parentcrypto: caam - fix rfc4543 descriptors (diff)
downloadlinux-d9c35771d884c6d8eb57057be4bc9a74161361bc.tar.xz
linux-d9c35771d884c6d8eb57057be4bc9a74161361bc.zip
crypto: caam/qi - fix warning in init_cgr()
Coverity warns about an "Unintentional integer overflow (OVERFLOW_BEFORE_WIDEN)" when computing the congestion threshold value. Even though it is highly unlikely for an overflow to happen, use this as an opportunity to simplify the code. Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/cavium')
0 files changed, 0 insertions, 0 deletions