1
0
Fork 0
alistair23-linux/drivers/scsi/megaraid
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.megaraid
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mbox_defs.h
mega_common.h scsi: use 64-bit LUNs 2014-07-17 22:07:37 +02:00
megaraid_ioctl.h scsi: megaraid: Convert timers to use timer_setup() 2017-11-01 11:27:08 -07:00
megaraid_mbox.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
megaraid_mbox.h scsi: megaraid: fix spelling mistake "maibox" -> "mailbox" 2018-09-25 20:59:27 -04:00
megaraid_mm.c scsi: megaraid_sas: NULL check before some freeing functions is not needed 2018-12-07 21:46:22 -05:00
megaraid_mm.h Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
megaraid_sas.h scsi: megaraid_sas: driver version update 2018-12-19 21:41:11 -05:00
megaraid_sas_base.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
megaraid_sas_fp.c scsi: megaraid: fix out-of-bound array accesses 2018-12-20 19:49:23 -05:00
megaraid_sas_fusion.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
megaraid_sas_fusion.h scsi: megaraid_sas: Update copyright information 2018-11-06 20:33:56 -05:00