OrangePi_CM5/drivers/crypto
Sean Christopherson f3a5dee0f3 crypto: ccp: Free SEV device if SEV init fails
[ Upstream commit b61a9071dc72a3c709192c0c00ab87c2b3de1d94 ]

Free the SEV device if later initialization fails.  The memory isn't
technically leaked as it's tracked in the top-level device's devres
list, but unless the top-level device is removed, the memory won't be
freed and is effectively leaked.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210406224952.4177376-2-seanjc@google.com>
Reviewed-by: Brijesh Singh <brijesh.singh@amd.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-19 10:12:58 +02:00
..
allwinner crypto: sun8i-ss - Fix memory leak of pad 2021-05-14 09:50:17 +02:00
amcc
…
amlogic
…
axis
…
bcm
…
caam
…
cavium
…
ccp crypto: ccp: Free SEV device if SEV init fails 2021-05-19 10:12:58 +02:00
ccree
…
chelsio crypto: chelsio - Read rxchannel-id from firmware 2021-05-14 09:50:19 +02:00
hisilicon crypto: hisilicon/sec - fixes a printing error 2021-05-11 14:47:17 +02:00
inside-secure
…
marvell
…
mediatek
…
nx
…
qat crypto: qat - Fix a double free in adf_create_ring 2021-05-14 09:50:17 +02:00
qce
…
rockchip
…
stm32 crypto: stm32/cryp - Fix PM reference leak on stm32-cryp.c 2021-05-11 14:47:21 +02:00
ux500
…
virtio
…
vmx
…
xilinx
…
Kconfig
…
Makefile
…
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
…
mxs-dcp.c
…
n2_asm.S
…
n2_core.c
…
n2_core.h
…
omap-aes-gcm.c
…
omap-aes.c crypto: omap-aes - Fix PM reference leak on omap-aes.c 2021-05-11 14:47:21 +02:00
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 crypto: sa2ul - Fix memory leak of rxd 2021-05-14 09:50:17 +02:00
sa2ul.h
…
sahara.c
…
talitos.c crypto: talitos - Fix ctr(aes) on SEC1 2021-03-04 11:37:45 +01:00
talitos.h
…