kernel_samsung_a53x/drivers/crypto
Christophe JAILLET eb171a9ed2 crypto: cavium - Fix an error handling path in cpt_ucode_load_fw()
[ Upstream commit 572b7cf08403b6c67dfe0dc3e0f2efb42443254f ]

If do_cpt_init() fails, a previous dma_alloc_coherent() call needs to be
undone.

Add the needed dma_free_coherent() before returning.

Fixes: 9e2c7d99941d ("crypto: cavium - Add Support for Octeon-tx CPT Engine")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-17 13:24:00 +01:00
..
allwinner
amcc
amlogic
axis
bcm crypto: bcm - add error check in the ahash_hmac_init function 2024-12-17 13:24:00 +01:00
caam crypto: caam - add error check to caam_rsa_set_priv_key_form 2024-12-17 13:24:00 +01:00
cavium crypto: cavium - Fix an error handling path in cpt_ucode_load_fw() 2024-12-17 13:24:00 +01:00
ccp Revert "crypto: ccp - Properly unregister /dev/sev on sev PLATFORM_STATUS failure" 2024-11-24 00:23:16 +01:00
ccree
chelsio
fmp drivers: fmp: remove failing command 2024-06-15 16:28:48 -03:00
fmp_simulator
hisilicon
inside-secure
marvell crypto: marvell/cesa - Disable hash algorithms 2024-11-30 02:33:27 +01:00
mediatek
nx
qat crypto: qat - Fix ADF_DEV_RESET_SYNC memory leak 2024-11-19 12:27:18 +01:00
qce Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rockchip
stm32
ux500
virtio crypto: virtio/akcipher - Fix stack overflow on memcpy 2024-11-18 23:18:28 +01:00
vmx
xilinx
atmel-aes-regs.h
atmel-aes.c
atmel-authenc.h
atmel-ecc.c
atmel-i2c.c
atmel-i2c.h
atmel-sha-regs.h
atmel-sha.c
atmel-sha204a.c
atmel-tdes-regs.h
atmel-tdes.c
exynos-rng.c
geode-aes.c
geode-aes.h
hifn_795x.c
img-hash.c
ixp4xx_crypto.c
Kconfig
Makefile
mxs-dcp.c
n2_asm.S
n2_core.c
n2_core.h
omap-aes-gcm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap-aes.c
omap-aes.h
omap-crypto.c
omap-crypto.h
omap-des.c
omap-sham.c
padlock-aes.c
padlock-sha.c
picoxcell_crypto.c
picoxcell_crypto_regs.h
qcom-rng.c
s5p-sss.c
sa2ul.c
sa2ul.h
sahara.c
talitos.c
talitos.h