commit | 75d68369b544acc5d14c18a827654dfff248d09d | [log] [tgz] |
---|---|---|
author | Himanshu Jha <himanshujha199640@gmail.com> | Sun Dec 31 17:54:23 2017 +0530 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Jan 12 23:02:56 2018 +1100 |
tree | 28a59ee3d94752e1f90f4e76399c7da10d99f224 | |
parent | b7dac3731848923399c7a92563e3754e8f3b5236 [diff] |
crypto: Use zeroing memory allocator instead of allocator/memset Use dma_zalloc_coherent for allocating zeroed memory and remove unnecessary memset function. Done using Coccinelle. Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci 0-day tested with no failures. Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>