linux/scripts/coccinelle/api
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 dma-mapping: remove dma_zalloc_coherent() 2019-01-08 07:58:49 -05:00
debugfs License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
atomic_as_refcounter.cocci Coccinelle: add atomic_as_refcounter script 2018-07-18 01:18:05 +09:00
check_bq27xxx_data.cocci coccinelle: api: detect identical chip data arrays 2017-11-14 23:19:03 +09:00
d_find_alias.cocci License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
err_cast.cocci Coccinelle: Move err_cast.cocci to the api directory 2010-08-31 11:37:54 +02:00
kstrdup.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
memdup_user.cocci Coccinelle: limit memdup_user transformation to GFP_KERNEL case 2016-10-01 23:03:09 +02:00
memdup.cocci Coccinelle: memdup: Fix typo in warning messages 2018-03-03 00:41:24 +09:00
platform_no_drv_owner.cocci coccinelle: api: extend spatch for dropping unnecessary owner 2015-08-19 17:23:45 +02:00
pm_runtime.cocci Coccinelle: pm_runtime: ensure relevance of pm_runtime reports 2016-10-01 23:03:41 +02:00
ptr_ret.cocci scripts/coccinelle: Use PTR_ERR_OR_ZERO 2014-04-08 17:27:01 +02:00
resource_size.cocci Coccinelle: Move resource_size.cocci to the api directory 2010-08-31 11:37:54 +02:00
simple_open.cocci License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vma_pages.cocci License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00