Re: [PATCH] cocci: Add rules to find str_plural() replacements
From: Andy Shevchenko
Date: Thu Feb 15 2024 - 14:34:50 EST
On Thu, Feb 15, 2024 at 09:33:31PM +0200, Andy Shevchenko wrote:
> 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 ?
(And add it to MAINTAINERS?)
--
With Best Regards,
Andy Shevchenko