OpenCloudOS-Kernel/drivers/crypto/marvell
Dan Carpenter 10371b6212 crypto: octeontx2 - prevent underflow in get_cores_bmap()
If we're going to cap "eng_grp->g->engs_num" upper bounds then we should
cap the lower bounds as well.

Fixes: 43ac0b824f ("crypto: octeontx2 - load microcode and create engine groups")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2021-12-24 14:18:27 +11:00
..
cesa crypto: marvell/cesa - drop unneeded MODULE_ALIAS 2021-09-24 16:03:04 +08:00
octeontx crypto: marvell/octeontx - Use kcalloc() instead of kzalloc() 2021-12-17 16:59:47 +11:00
octeontx2 crypto: octeontx2 - prevent underflow in get_cores_bmap() 2021-12-24 14:18:27 +11:00
Kconfig crypto: marvell - CRYPTO_DEV_OCTEONTX2_CPT should depend on ARCH_THUNDER2 2021-02-10 17:54:31 +11:00
Makefile crypto: marvell - add Marvell OcteonTX2 CPT PF driver 2021-01-22 14:58:02 +11:00