linux_dsm_epyc7002/drivers/infiniband/hw/mthca
Himanshu Jha 27f382da31 IB/mthca: 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>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-01-02 11:20:13 -07:00
..
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mthca_allocator.c
mthca_av.c IB/mthca: Replace PCI pool old API 2017-08-22 13:59:46 -04:00
mthca_catas.c treewide: setup_timer() -> timer_setup() (2 field) 2017-11-21 15:57:09 -08:00
mthca_cmd.c RDMA/mthca: Make explicit conversion to 64bit value 2017-08-24 16:27:10 -04:00
mthca_cmd.h IB/core cleanup: Add const on args - device->process_mad 2015-06-02 09:33:13 -04:00
mthca_config_reg.h
mthca_cq.c IB: remove in-kernel support for memory windows 2015-12-23 14:29:04 -05:00
mthca_dev.h IB/mthca: Replace PCI pool old API 2017-08-22 13:59:46 -04:00
mthca_doorbell.h
mthca_eq.c
mthca_mad.c Add OPA extended LID support 2017-08-18 14:47:37 -04:00
mthca_main.c IB/mthca: Fix indentation 2017-10-14 20:47:06 -04:00
mthca_mcg.c
mthca_memfree.c IB/mthca: Use zeroing memory allocator than allocator/memset 2018-01-02 11:20:13 -07:00
mthca_memfree.h
mthca_mr.c
mthca_pd.c
mthca_profile.c IB/mthca: use swap() in mthca_make_profile() 2015-06-11 01:10:59 -04:00
mthca_profile.h
mthca_provider.c IB/core: Fix input len in multiple user verbs 2017-08-22 14:02:29 -04:00
mthca_provider.h
mthca_qp.c IB/core: Define 'ib' and 'roce' rdma_ah_attr types 2017-05-01 14:32:43 -04:00
mthca_reset.c IB/mthca: Remove debug prints after allocation failure 2016-12-03 13:12:52 -05:00
mthca_srq.c
mthca_uar.c
mthca_user.h
mthca_wqe.h