Re: [PATCH] qed: Use zeroing memory allocator than allocator/memset
From: David Miller <davem@davemloft.net>
Date: 2018-01-03 02:56:09
Also in:
lkml
From: David Miller <davem@davemloft.net>
Date: 2018-01-03 02:56:09
Also in:
lkml
From: Himanshu Jha <redacted> Date: Sat, 30 Dec 2017 21:07:04 +0530
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@kernel.org> Signed-off-by: Himanshu Jha <redacted>
Applied.