OpenCloudOS-Kernel/drivers/crypto
Cristian Stoica 738459e3f8 crypto: caam - fix missing dma unmap on error path
If dma mapping for dma_addr_out fails, the descriptor memory is freed
but the previous dma mapping for dma_addr_in remains.
This patch resolves the missing dma unmap and groups resource
allocations at function start.

Cc: <stable@vger.kernel.org> # 3.13+
Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2014-11-06 23:10:20 +08:00
..
amcc crypto: drivers - Add 2 missing __exit_p 2014-06-20 21:26:08 +08:00
caam crypto: caam - fix missing dma unmap on error path 2014-11-06 23:10:20 +08:00
ccp crypto: LLVMLinux: Remove VLAIS from crypto/ccp/ccp-crypto-sha.c 2014-10-14 10:51:23 +02:00
nx The branch contains the following device tree changes the v3.17 merge 2014-08-14 09:53:39 -06:00
qat crypto: qat - Enforce valid numa configuration 2014-10-24 22:37:36 +08:00
qce Fix up missing dmaengine header inclusion from qce crypto engine 2014-10-08 05:23:02 -04:00
ux500 crypto: ux500 - make interrupt mode plausible 2014-07-03 21:42:10 +08:00
Kconfig crypto: qce - Let 'DEV_QCE' depend on both HAS_DMA and HAS_IOMEM 2014-07-23 21:31:37 +08:00
Makefile crypto: qce - Build Qualcomm crypto driver 2014-07-03 21:42:03 +08:00
atmel-aes-regs.h crypto: atmel - add Atmel AES driver 2012-07-11 11:07:40 +08:00
atmel-aes.c crypto: atmel-aes - check alignment of cfb64 mode 2014-04-28 18:21:19 +08:00
atmel-sha-regs.h crypto: atmel-sha - add support for latest release of the IP (0x410) 2013-03-10 16:46:42 +08:00
atmel-sha.c crypto: atmel-sha - Switch to managed version of kzalloc 2014-08-01 22:36:12 +08:00
atmel-tdes-regs.h crypto: atmel-tdes - add support for latest release of the IP (0x700) 2013-03-10 16:46:42 +08:00
atmel-tdes.c crypto: atmel-tdes - Switch to managed version of kzalloc 2014-08-01 22:36:12 +08:00
bfin_crc.c cryptoo: bfin_crc - avoid get physical address of coherence memory by dma_map_single 2014-04-16 20:40:16 +08:00
bfin_crc.h crypto: bfin_crc - access crc registers by readl and writel functions 2014-04-16 20:40:15 +08:00
geode-aes.c crypto: geode - Don't use tfm->__crt_alg->cra_name directly 2014-05-22 21:03:13 +08:00
geode-aes.h crypto: geode - Consistently use AES_KEYSIZE_128 2014-05-22 21:03:12 +08:00
hifn_795x.c crypto: use pci_zalloc_consistent 2014-08-08 15:57:28 -07:00
ixp4xx_crypto.c crypto: ixp4xx - Fix kernel compile error 2014-01-01 14:06:23 +08:00
mv_cesa.c crypto: LLVMLinux: Remove VLAIS from crypto/mv_cesa.c 2014-10-14 10:51:23 +02:00
mv_cesa.h crypto: mv_cesa - Add missing #define 2014-08-29 21:46:36 +08:00
mxs-dcp.c crypto: dcp - tfm->__crt_alg->cra_name directly 2014-05-22 21:03:15 +08:00
n2_asm.S crypto: n2 - Add Niagara2 crypto driver 2010-05-19 14:14:04 +10:00
n2_core.c crypto: LLVMLinux: Remove VLAIS from crypto/n2_core.c 2014-10-14 10:51:23 +02:00
n2_core.h crypto: n2 - Add Niagara2 crypto driver 2010-05-19 14:14:04 +10:00
omap-aes.c crypto: omap-aes - Use SIMPLE_DEV_PM_OPS macro 2014-03-10 20:13:38 +08:00
omap-des.c crypto: omap-des - handle error of pm_runtime_get_sync 2014-04-16 20:40:19 +08:00
omap-sham.c crypto: LLVMLinux: Remove VLAIS from crypto/omap_sham.c 2014-10-14 10:51:23 +02:00
padlock-aes.c crypto: drivers - remove cra_list initialization 2012-08-01 17:47:28 +08:00
padlock-sha.c crypto: padlock - tfm->__crt_alg->cra_name directly 2014-05-22 21:03:16 +08:00
picoxcell_crypto.c crypto: picoxcell - Use devm_ioremap_resource() 2014-02-27 05:56:47 +08:00
picoxcell_crypto_regs.h crypto: picoxcell - add support for the picoxcell crypto engines 2011-02-21 22:42:40 +11:00
s5p-sss.c crypto: s5p-sss - fix multiplatform build 2014-05-13 19:43:45 +08:00
sahara.c crypto: sahara - tfm->__crt_alg->cra_name directly 2014-05-22 21:03:16 +08:00
talitos.c crypto: talitos: init the priv->alg_list more earlier in talitos_probe() 2014-02-09 09:59:25 +08:00
talitos.h crypto: talitos - add sha224, sha384 and sha512 to existing AEAD algorithms 2012-07-11 11:08:29 +08:00