linux_dsm_epyc7002/drivers/crypto/caam
Horia Geantă d9c35771d8 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>
2018-05-31 00:13:47 +08:00
..
caamalg_desc.c
caamalg_desc.h
caamalg_qi.c
caamalg.c
caamhash.c
caampkc.c
caampkc.h
caamrng.c
compat.h
ctrl.c
ctrl.h
desc_constr.h
desc.h
error.c
error.h
intern.h
jr.c
jr.h
Kconfig
key_gen.c
key_gen.h
Makefile
pdb.h
pkc_desc.c
qi.c
qi.h
regs.h
sg_sw_qm2.h
sg_sw_qm.h
sg_sw_sec4.h