[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1c8dbb13-e7c1-4031-8c85-a5a676eb8fd4@huawei.com>
Date: Wed, 4 Sep 2024 10:36:00 +0800
From: Hongbo Li <lihongbo22@...wei.com>
To: <kees@...nel.org>, <andy@...nel.org>, <Julia.Lawall@...ia.fr>,
<nicolas.palix@...g.fr>
CC: <linux-hardening@...r.kernel.org>, <cocci@...ia.fr>
Subject: Re: [PATCH -next 0/2] coccinelle: Add rules to find
str_true_false/str_false_true replacements
On 2024/8/29 19:24, Hongbo Li wrote:
> After str_true_false()/str_false_true() has been introduced
> in the tree, we can add rules for finding places where
> str_true_false()/str_false_true() can be used.
>
> Hongbo Li (2):
> coccinelle: Add rules to find str_true_false() replacements
> coccinelle: Add rules to find str_false_true() replacements
>
I found that there are still a few function rules that are not complete,
such as str_on_off, str_enable_disable, str_yes_no. How about adding
these rules as well?
Thanks,
Hongbo
> scripts/coccinelle/api/string_choices.cocci | 46 +++++++++++++++++++++
> 1 file changed, 46 insertions(+)
>
Powered by blists - more mailing lists