1
0
Fork 0
alistair23-linux/drivers/net/ethernet/atheros/alx
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
..
Makefile Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
alx.h net: alx: make alx_drv_name static 2018-11-05 17:12:58 -08:00
ethtool.c net: alx: use new api ethtool_{get|set}_link_ksettings 2016-11-14 13:37:42 -05:00
hw.c alx: add msi-x support 2016-09-09 20:51:21 -07:00
hw.h ethernet/atheros: use core min/max MTU checking 2016-10-18 11:34:18 -04:00
main.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
reg.h Add Killer E2500 device ID in alx driver. 2016-08-29 00:23:50 -04:00