kernel_samsung_a53x/drivers/crypto/caam
Christophe JAILLET da561331c4 crypto: caam - Fix the pointer passed to caam_qi_shutdown()
[ Upstream commit ad980b04f51f7fb503530bd1cb328ba5e75a250e ]

The type of the last parameter given to devm_add_action_or_reset() is
"struct caam_drv_private *", but in caam_qi_shutdown(), it is casted to
"struct device *".

Pass the correct parameter to devm_add_action_or_reset() so that the
resources are released as expected.

Fixes: f414de2e2fff ("crypto: caam - use devres to de-initialize QI")
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:23:59 +01:00
..
caamalg.c
caamalg_desc.c
caamalg_desc.h
caamalg_qi.c
caamalg_qi2.c
caamalg_qi2.h
caamhash.c
caamhash_desc.c
caamhash_desc.h
caampkc.c
caampkc.h
caamrng.c
compat.h
ctrl.c
ctrl.h
debugfs.c
debugfs.h
desc.h
desc_constr.h
dpseci-debugfs.c
dpseci-debugfs.h
dpseci.c
dpseci.h
dpseci_cmd.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 crypto: caam - Fix the pointer passed to caam_qi_shutdown() 2024-12-17 13:23:59 +01:00
qi.h
regs.h
sg_sw_qm.h
sg_sw_qm2.h
sg_sw_sec4.h