]> www.infradead.org Git - nvme.git/commit
coccinelle: Add rules to find str_hi{gh}_lo{w}() replacements
authorHongbo Li <lihongbo22@huawei.com>
Wed, 11 Sep 2024 01:09:20 +0000 (09:09 +0800)
committerJulia Lawall <Julia.Lawall@inria.fr>
Sat, 28 Sep 2024 19:22:26 +0000 (21:22 +0200)
commitd4c7544002db32dedbb162b2b89e655ac437ab08
tree81576172d629e932f89285ab0a01d05ad549b493
parent8a0236bab4d6f0761f29eae4d55d1ba32c1ecd47
coccinelle: Add rules to find str_hi{gh}_lo{w}() replacements

As other rules done, we add rules for str_hi{gh}_lo{w}()
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