Messages in this thread | | | Date | Thu, 15 Feb 2024 11:44:52 -0800 | From | Kees Cook <> | Subject | Re: [PATCH] cocci: Add rules to find str_plural() replacements |
| |
On Thu, Feb 15, 2024 at 09:34:01PM +0200, Andy Shevchenko wrote: > 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?)
Sure! I'll send a v2.
-- Kees Cook
| |