diff options
author | 2020-08-21 00:55:57 +0100 | |
---|---|---|
committer | 2020-08-21 22:35:40 +0200 | |
commit | 7a2624e6de03050c9f15af21c216818d5508b5e9 (patch) | |
tree | 38ab3ae6ed6eb80ceef417659ca8ef4fa47c5592 /README | |
parent | scripts: coccicheck: Add chain mode to list of modes (diff) | |
download | linux-7a2624e6de03050c9f15af21c216818d5508b5e9.tar.gz linux-7a2624e6de03050c9f15af21c216818d5508b5e9.tar.bz2 linux-7a2624e6de03050c9f15af21c216818d5508b5e9.zip |
coccinelle: add patch rule for dma_alloc_coherent
Commit dfd32cad146e ("dma-mapping: remove dma_zalloc_coherent()")
removed the definition of dma_zalloc_coherent() and also removed the
corresponding patch rule for replacing instances of dma_alloc_coherent +
memset in zalloc-simple.cocci (though left the report rule).
Add a new patch rule to remove unnecessary calls to memset after
allocating with dma_alloc_coherent. While we're at it, fix a couple of
typos.
Fixes: dfd32cad146e ("dma-mapping: remove dma_zalloc_coherent()")
Signed-off-by: Alex Dewar <alex.dewar90@gmail.com>
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions