]> git.samba.org - sfrench/cifs-2.6.git/commit
Coccinelle: remove pci_alloc_consistent semantic to detect in zalloc-simple.cocci
authorzhong jiang <zhongjiang@huawei.com>
Sat, 18 Aug 2018 13:51:12 +0000 (21:51 +0800)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 22 Aug 2018 14:21:43 +0000 (23:21 +0900)
commit6fbd856950b41345ad5c893613efebdc0c356bc7
tree462ca0f93bc3509f007e361c1286355c800951bf
parentf55f2328bb28a8517620518c5d124f5194673309
Coccinelle: remove pci_alloc_consistent semantic to detect in zalloc-simple.cocci

Because pci_alloc_consistent has been deprecated. We prefer to use
dma_alloc_coherent directly. Therefore, we should remove pci_alloc_consistent
to increase the confidence.

Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Acked-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/coccinelle/api/alloc/zalloc-simple.cocci