linux_dsm_epyc7002/drivers/crypto/cavium/cpt
Corentin LABBE baf5b752da crypto: cavium - add release_firmware to all return case
Two return case misses to call release_firmware() and so leak some
memory.

This patch create a fw_release label (and so a common error path)
and use it on all return case.

Detected by CoverityScan, CID#1416422 ("Resource Leak")

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2017-08-22 14:54:54 +08:00
..
cpt_common.h crypto: cavium - remove dead MSI-X related define 2017-02-23 20:10:59 +08:00
cpt_hw_types.h
cptpf_main.c crypto: cavium - add release_firmware to all return case 2017-08-22 14:54:54 +08:00
cptpf_mbox.c crypto: cavium - cpt_bind_vq_to_grp could return an error code 2017-02-15 13:23:50 +08:00
cptpf.h crypto: cavium - switch to pci_alloc_irq_vectors 2017-02-23 20:11:00 +08:00
cptvf_algs.c crypto: cavium - make several functions static 2017-07-12 18:38:09 +08:00
cptvf_algs.h crypto: cavium - Remove the individual encrypt/decrypt function for each algorithm 2017-06-19 14:11:49 +08:00
cptvf_main.c crypto: cavium - Downgrade the annoying misc interrupt print from dev_err to dev_dbg 2017-06-19 14:11:48 +08:00
cptvf_mbox.c
cptvf_reqmanager.c crypto: cavium - Fix couple of static checker errors 2017-02-27 18:09:37 +08:00
cptvf.h crypto: cavium - switch to pci_alloc_irq_vectors 2017-02-23 20:11:02 +08:00
Kconfig crypto: cavium - fix Kconfig dependencies 2017-02-15 13:23:50 +08:00
Makefile
request_manager.h