crypto: ccp - use kmem_cache_zalloc instead of kmem_cache_alloc/memset
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 15 Sep 2016 03:28:04 +0000 (03:28 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Sep 2016 10:27:37 +0000 (18:27 +0800)
commit664f570a9cee51a8c7caef042118abd2b48705b1
treeda37b8770fd9bcddc5e5783851811fcfdea11683
parentc98ef8dbca18db133bb4bc7643b975ee2612be2f
crypto: ccp - use kmem_cache_zalloc instead of kmem_cache_alloc/memset

Using kmem_cache_zalloc() instead of kmem_cache_alloc() and memset().

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-dmaengine.c