linux-next/drivers/crypto/cavium
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 crypto: cavium - Fix an error handling path in cpt_ucode_load_fw() 2024-11-15 19:52:51 +08:00
nitrox crypto: drivers - Correct multiple typos in comments 2024-10-05 13:22:05 +08:00
zip crypto: zip - remove the unneeded result variable 2022-09-30 13:57:50 +08:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00