tmp_suning_uos_patched/drivers/crypto/caam
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
..
caamalg.c
caamhash.c crypto: caam - fix addressing of struct member 2014-08-25 20:34:06 +08:00
caamrng.c
compat.h
ctrl.c crypto: caam - Dynamic allocation of addresses for various memory blocks in CAAM. 2014-09-15 19:44:11 +08:00
ctrl.h
desc_constr.h
desc.h
error.c
error.h
intern.h crypto: caam - Dynamic allocation of addresses for various memory blocks in CAAM. 2014-09-15 19:44:11 +08:00
jr.c
jr.h
Kconfig
key_gen.c crypto: caam - fix missing dma unmap on error path 2014-11-06 23:10:20 +08:00
key_gen.h
Makefile
pdb.h
regs.h crypto: caam - Dynamic allocation of addresses for various memory blocks in CAAM. 2014-09-15 19:44:11 +08:00
sg_sw_sec4.h crypto: caam - remove duplicated sg copy functions 2014-08-25 20:34:05 +08:00