mirror of https://gitee.com/openkylin/linux.git
dfd32cad14
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> |
||
---|---|---|
.. | ||
alloc | ||
debugfs | ||
atomic_as_refcounter.cocci | ||
check_bq27xxx_data.cocci | ||
d_find_alias.cocci | ||
err_cast.cocci | ||
kstrdup.cocci | ||
memdup.cocci | ||
memdup_user.cocci | ||
platform_no_drv_owner.cocci | ||
pm_runtime.cocci | ||
ptr_ret.cocci | ||
resource_size.cocci | ||
simple_open.cocci | ||
vma_pages.cocci |