OpenCloudOS-Kernel/scripts/coccinelle/api/alloc
Luis Chamberlain dfd32cad14 dma-mapping: remove dma_zalloc_coherent()
dma_zalloc_coherent() is no longer needed as it has no users because
dma_alloc_coherent() already zeroes out memory for us.

The Coccinelle grammar rule that used to check for dma_alloc_coherent()
+ memset() is modified so that it just tells the user that the memset is
not needed anymore.

Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2019-01-08 07:58:49 -05:00
..
alloc_cast.cocci dma-mapping: remove dma_zalloc_coherent() 2019-01-08 07:58:49 -05:00
pool_zalloc-simple.cocci coccinelle: mm: scripts/coccinelle/api/alloc/pool_zalloc-simple.cocci 2015-09-08 15:35:28 -07:00
zalloc-simple.cocci dma-mapping: remove dma_zalloc_coherent() 2019-01-08 07:58:49 -05:00