1
0
Fork 0
alistair23-linux/drivers/crypto/cavium/cpt
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 crypto: cavium - fix Kconfig dependencies 2017-02-15 13:23:50 +08:00
Makefile crypto: cavium - Add the Virtual Function driver for CPT 2017-02-11 17:52:32 +08:00
cpt_common.h crypto: cavium - remove dead MSI-X related define 2017-02-23 20:10:59 +08:00
cpt_hw_types.h
cptpf.h crypto: cavium - switch to pci_alloc_irq_vectors 2017-02-23 20:11:00 +08:00
cptpf_main.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
cptpf_mbox.c crypto: cavium - cpt_bind_vq_to_grp could return an error code 2017-02-15 13:23:50 +08:00
cptvf.h crypto: cavium - switch to pci_alloc_irq_vectors 2017-02-23 20:11:02 +08:00
cptvf_algs.c crypto: cavium - make structure algs static 2018-06-22 23:03:07 +08:00
cptvf_algs.h crypto: cavium - Remove the individual encrypt/decrypt function for each algorithm 2017-06-19 14:11:49 +08:00
cptvf_main.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
cptvf_mbox.c crypto: cavium - Add the Virtual Function driver for CPT 2017-02-11 17:52:32 +08:00
cptvf_reqmanager.c crypto: cavium - remove redundant null pointer check before kfree 2018-09-28 12:46:27 +08:00
request_manager.h crypto: cavium - Add the Virtual Function driver for CPT 2017-02-11 17:52:32 +08:00