Re: [PATCH] cocci: Add rules to find str_plural() replacements

From: Andy Shevchenko
Date: Thu Feb 15 2024 - 14:34:36 EST


On Thu, Feb 15, 2024 at 10:02:00AM -0800, Kees Cook wrote:
> Add rules for finding places where str_plural() can be used. This
> currently finds:
> 54 files changed, 62 insertions(+), 61 deletions(-)

Can we extend this to cover string_choices and call the script probably
str_choices.cocci ?


--
With Best Regards,
Andy Shevchenko