linux_dsm_epyc7002/drivers/infiniband/hw/ocrdma
Himanshu Jha d78756d842 IB/ocrdma: Use zeroing memory allocator than allocator/memset
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>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Acked-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-01-02 11:20:13 -07:00
..
Kconfig RDMA/ocrdma: Add dependency on INET 2014-01-19 15:16:23 -08:00
Makefile RDMA/ocrdma: Query controller information 2014-04-03 08:30:05 -07:00
ocrdma_ah.c IB: Let ib_core resolve destination mac address 2017-10-18 12:10:36 -04:00
ocrdma_ah.h IB/core: Rename struct ib_ah_attr to rdma_ah_attr 2017-05-01 14:32:43 -04:00
ocrdma_hw.c IB/ocrdma: Use zeroing memory allocator than allocator/memset 2018-01-02 11:20:13 -07:00
ocrdma_hw.h RDMA/ocrdma: Depend on async link events from CNA 2016-01-19 14:00:47 -05:00
ocrdma_main.c RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
ocrdma_sli.h RDMA: Adding ethertype ETH_P_IBOE 2017-01-10 14:05:11 -05:00
ocrdma_stats.c IB/ocrdma: Use zeroing memory allocator than allocator/memset 2018-01-02 11:20:13 -07:00
ocrdma_stats.h RDMA/ocrdma: Initialize stats resources in the driver before ib device registration. 2016-02-05 15:14:27 -05:00
ocrdma_verbs.c IB/ocrdma: Use zeroing memory allocator than allocator/memset 2018-01-02 11:20:13 -07:00
ocrdma_verbs.h IB/core: Enhance ib_map_mr_sg() 2016-05-13 13:37:57 -04:00
ocrdma.h IB/core: Define 'ib' and 'roce' rdma_ah_attr types 2017-05-01 14:32:43 -04:00