linux/drivers/crypto/cavium
Christophe JAILLET 0dc64297c8 crypto: cavium/nitrox - Fix an error rhandling path in 'nitrox_probe()'
If an error occurs after a successful 'ioremap()' call, it must be undone
by a corresponding 'iounmap()' call, as already done in the remove
function.
Add a 'pf_sw_fail' label in the error handling path and add the missing
'iounmap()'.

While at it, also add a 'flr_fail' label in the error handling path and use
it to avoid some code duplication.

Fixes: 14fa93cdcd ("crypto: cavium - Add support for CNN55XX adapters.")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2021-06-11 15:08:06 +08:00
..
cpt crypto: cavium: Fix a bunch of kernel-doc related issues 2021-05-28 15:11:44 +08:00
nitrox crypto: cavium/nitrox - Fix an error rhandling path in 'nitrox_probe()' 2021-06-11 15:08:06 +08:00
zip crypto: cavium/zip - remove unused including <linux/version.h> 2021-04-16 21:16:32 +10:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00