OpenCloudOS-Kernel/drivers/infiniband/hw/ocrdma
Luis Chamberlain 750afb08ca cross-tree: phase out dma_zalloc_coherent()
We already need to zero out memory for dma_alloc_coherent(), as such
using dma_zalloc_coherent() is superflous. Phase it out.

This change was generated with the following Coccinelle SmPL patch:

@ replace_dma_zalloc_coherent @
expression dev, size, data, handle, flags;
@@

-dma_zalloc_coherent(dev, size, handle, flags)
+dma_alloc_coherent(dev, size, handle, flags)

Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
[hch: re-ran the script on the latest tree]
Signed-off-by: Christoph Hellwig <hch@lst.de>
2019-01-08 07:58:37 -05: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.h IB/core: Define 'ib' and 'roce' rdma_ah_attr types 2017-05-01 14:32:43 -04:00
ocrdma_ah.c RDMA: Mark if destroy address handle is in a sleepable context 2018-12-19 16:28:03 -07:00
ocrdma_ah.h RDMA: Mark if destroy address handle is in a sleepable context 2018-12-19 16:28:03 -07:00
ocrdma_hw.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05: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/ocrdma: Initialize ib_device_ops struct 2018-12-12 07:40:14 -07:00
ocrdma_sli.h RDMA: Adding ethertype ETH_P_IBOE 2017-01-10 14:05:11 -05:00
ocrdma_stats.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05: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 cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
ocrdma_verbs.h RDMA, core and ULPs: Declare ib_post_send() and ib_post_recv() arguments const 2018-07-30 20:09:34 -06:00