1
0
Fork 0
alistair23-linux/drivers/staging/mt7621-eth
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
..
Documentation/devicetree/bindings/net
Kconfig staging: mt7621-eth: mediatek: add Kconfig and Makefile 2018-03-19 19:56:02 +01:00
Makefile staging: mt7621-eth: mediatek: add Kconfig and Makefile 2018-03-19 19:56:02 +01:00
TODO staging: mt7621-eth: add support for mt7621 2018-03-19 19:56:02 +01:00
ethtool.c staging: mt7621-eth: Refactor ethtool stats 2018-05-14 14:05:49 +02:00
ethtool.h
gsw_mt7620.h staging: mt7621-eth: Prefer unsigned int to bare use of unsigned 2018-05-14 14:03:45 +02:00
gsw_mt7621.c staging: remove unneeded static set .owner field in platform_driver 2018-09-14 10:45:51 +02:00
mdio.c staging: mt7621-eth: fix compile warning. 2018-12-12 11:55:39 +01:00
mdio.h
mdio_mt7620.c staging: mt7621-eth: add mdio support for mt762X family 2018-03-19 19:56:02 +01:00
mtk_eth_soc.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
mtk_eth_soc.h staging: mt7621-eth: Refactor ethtool stats 2018-05-14 14:05:49 +02:00
soc_mt7621.c staging: mt7621-eth: Fix line over 80 characters 2018-05-14 14:03:46 +02:00