linux/drivers/crypto/cavium/cpt
Christophe JAILLET 572b7cf084 crypto: cavium - Fix an error handling path in cpt_ucode_load_fw()
If do_cpt_init() fails, a previous dma_alloc_coherent() call needs to be
undone.

Add the needed dma_free_coherent() before returning.

Fixes: 9e2c7d9994 ("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>
2024-11-15 19:52:51 +08:00
..
cpt_common.h
cpt_hw_types.h
cptpf.h
cptpf_main.c crypto: cavium - Fix an error handling path in cpt_ucode_load_fw() 2024-11-15 19:52:51 +08:00
cptpf_mbox.c
cptvf.h
cptvf_algs.c
cptvf_algs.h
cptvf_main.c
cptvf_mbox.c
cptvf_reqmanager.c
Kconfig
Makefile
request_manager.h