On Sun, Dec 31, 2017 at 06:02:38PM +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 <[email protected]> > Signed-off-by: Himanshu Jha <[email protected]> > drivers/infiniband/hw/bnxt_re/qplib_res.c | 9 ++++----- > 1 file changed, 4 insertions(+), 5 deletions(-)
Applied to for-next thanks Jason

