Re: [PATCH 2/3] liquidio: Replace vmalloc + memset with vzalloc

2019-07-18 Thread David Miller
From: Chuhong Yuan Date: Thu, 18 Jul 2019 15:45:42 +0800 > Use vzalloc and vzalloc_node instead of using vmalloc and > vmalloc_node and then zeroing the allocated memory by > memset 0. > This simplifies the code. > > Signed-off-by: Chuhong Yuan Applied.

[PATCH 2/3] liquidio: Replace vmalloc + memset with vzalloc

2019-07-18 Thread Chuhong Yuan
Use vzalloc and vzalloc_node instead of using vmalloc and vmalloc_node and then zeroing the allocated memory by memset 0. This simplifies the code. Signed-off-by: Chuhong Yuan --- drivers/net/ethernet/cavium/liquidio/request_manager.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-)