RE: [PATCH] qed: Use zeroing memory allocator than allocator/memset

From: Tayar, Tomer
Date: Mon Jan 01 2018 - 07:07:59 EST


From: Himanshu Jha [mailto:himanshujha199640@xxxxxxxxx]
Sent: Saturday, December 30, 2017 5:37 PM

> Use dma_zalloc_coherent and vzalloc 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.
>
> Suggested-by: Luis R. Rodriguez <mcgrof@xxxxxxxxxx>
> Signed-off-by: Himanshu Jha <himanshujha199640@xxxxxxxxx>

Thanks
Acked-by: Tomer Tayar <Tomer.Tayar@xxxxxxxxxx>