diff options
author | Cristian Stoica <cristian.stoica@freescale.com> | 2014-10-30 13:40:22 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-11-06 16:10:20 +0100 |
commit | 738459e3f88538f2ece263424dafe5d91799e46b (patch) | |
tree | d7c7e94e6ee5aa7b5e396454708ed3f1b3210439 /drivers/crypto/geode-aes.h | |
parent | crypto: qat - Enforce valid numa configuration (diff) | |
download | linux-738459e3f88538f2ece263424dafe5d91799e46b.tar.xz linux-738459e3f88538f2ece263424dafe5d91799e46b.zip |
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>
Diffstat (limited to 'drivers/crypto/geode-aes.h')
0 files changed, 0 insertions, 0 deletions