lkml.org 
[lkml]   [2018]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] RDMA/vmw_pvrdma: Use zeroing memory allocator than allocator/memset
On Sun, Dec 31, 2017 at 05:59:00PM +0530, 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 <mcgrof@kernel.org>
> Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
> drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)

Applied to for-next thanks

Jason

\
 
 \ /
  Last update: 2018-01-02 22:07    [W:0.024 / U:1.320 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site