Re: brcmfmac: Use zeroing memory allocator than allocator/memset

2018-01-08 Thread Himanshu Jha
On Mon, Jan 08, 2018 at 05:23:22PM +, Kalle Valo wrote: > Himanshu Jha wrote: > > > 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 te

Re: brcmfmac: Use zeroing memory allocator than allocator/memset

2018-01-08 Thread Kalle Valo
Himanshu Jha wrote: > 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. > > Suggested-by: Luis R. Rodriguez > Signed-off-by