1
0
Fork 0
alistair23-linux/scripts/coccinelle
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
..
api dma-mapping: remove dma_zalloc_coherent() 2019-01-08 07:58:49 -05:00
free coccinelle: devm_free: reduce false positives 2018-02-07 23:53:09 +09:00
iterators scripts: coccinelle: check for redeclaration 2019-01-06 09:46:51 +09:00
locks coccinelle: mini_lock: improve performance 2018-05-22 23:00:23 +09:00
misc scripts: coccinelle: boolinit: drop warnings on named constants 2019-01-06 09:46:51 +09:00
null coccinelle: deref_null: improve performance 2018-05-22 23:00:23 +09:00
tests Coccinelle: doubletest: reduce side effect false positives 2018-08-14 08:58:49 +09:00