Re: [PATCH -next v2 1/9] coccinelle: Add rules to find str_true_false() replacements

2024-09-09 Thread Hongbo Li
On 2024/9/10 10:23, Hongbo Li wrote: On 2024/9/10 0:00, Julia Lawall wrote: On Wed, 4 Sep 2024, Hongbo Li wrote: After str_true_false() has been introduced in the tree, we can add rules for finding places where str_true_false() can be used. A simple test can find over 10 locations. Sig

Re: [PATCH -next v2 1/9] coccinelle: Add rules to find str_true_false() replacements

2024-09-09 Thread Hongbo Li
On 2024/9/10 0:00, Julia Lawall wrote: On Wed, 4 Sep 2024, Hongbo Li wrote: After str_true_false() has been introduced in the tree, we can add rules for finding places where str_true_false() can be used. A simple test can find over 10 locations. Signed-off-by: Hongbo Li --- scripts/coc

Re: [PATCH -next v2 1/9] coccinelle: Add rules to find str_true_false() replacements

2024-09-09 Thread Julia Lawall
On Wed, 4 Sep 2024, Hongbo Li wrote: > After str_true_false() has been introduced in the tree, > we can add rules for finding places where str_true_false() > can be used. A simple test can find over 10 locations. > > Signed-off-by: Hongbo Li > --- > scripts/coccinelle/api/string_choices.cocci

[PATCH -next v2 1/9] coccinelle: Add rules to find str_true_false() replacements

2024-09-04 Thread Hongbo Li
After str_true_false() has been introduced in the tree, we can add rules for finding places where str_true_false() can be used. A simple test can find over 10 locations. Signed-off-by: Hongbo Li --- scripts/coccinelle/api/string_choices.cocci | 23 + 1 file changed, 23 insert