]> www.infradead.org Git - users/hch/block.git/commit
coccinelle: Add rules to find str_on_off() replacements
authorHongbo Li <lihongbo22@huawei.com>
Wed, 11 Sep 2024 01:09:25 +0000 (09:09 +0800)
committerJulia Lawall <Julia.Lawall@inria.fr>
Sat, 28 Sep 2024 19:23:14 +0000 (21:23 +0200)
commit9b5b4810559d3716aef9fdc8d555e4db1a031749
treede5afd046eca22f9965fda9cd78670d75b61543a
parentc81ca023c30691dcae543bd770e7a3a4c63263ff
coccinelle: Add rules to find str_on_off() replacements

As other rules done, we add rules for str_on_off()
to check the relative opportunities.

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
scripts/coccinelle/api/string_choices.cocci