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
..
2014-06-20 21:26:08 +08:00
2014-11-06 23:10:20 +08:00
2014-10-14 10:51:23 +02:00
2014-08-14 09:53:39 -06:00
2014-10-24 22:37:36 +08:00
2014-10-08 05:23:02 -04:00
2014-07-03 21:42:10 +08:00
2012-07-11 11:07:40 +08:00
2014-04-28 18:21:19 +08:00
2013-03-10 16:46:42 +08:00
2014-08-01 22:36:12 +08:00
2013-03-10 16:46:42 +08:00
2014-08-01 22:36:12 +08:00
2014-04-16 20:40:16 +08:00
2014-04-16 20:40:15 +08:00
2014-05-22 21:03:13 +08:00
2014-05-22 21:03:12 +08:00
2014-08-08 15:57:28 -07:00
2014-01-01 14:06:23 +08:00
2014-07-23 21:31:37 +08:00
2014-07-03 21:42:03 +08:00
2014-10-14 10:51:23 +02:00
2014-08-29 21:46:36 +08:00
2014-05-22 21:03:15 +08:00
2010-05-19 14:14:04 +10:00
2014-10-14 10:51:23 +02:00
2010-05-19 14:14:04 +10:00
2014-03-10 20:13:38 +08:00
2014-04-16 20:40:19 +08:00
2014-10-14 10:51:23 +02:00
2012-08-01 17:47:28 +08:00
2014-05-22 21:03:16 +08:00
2011-02-21 22:42:40 +11:00
2014-02-27 05:56:47 +08:00
2014-05-13 19:43:45 +08:00
2014-05-22 21:03:16 +08:00
2014-02-09 09:59:25 +08:00
2012-07-11 11:08:29 +08:00