On Thu, Feb 15, 2024 at 05:55:43PM +0100, Michal Wajdeczko wrote: > On 15.02.2024 17:11, Andy Shevchenko wrote: > > On Thu, Feb 15, 2024 at 04:37:18PM +0100, Michal Wajdeczko wrote: > >> On 15.02.2024 16:20, Jani Nikula wrote: > >>> On Wed, 14 Feb 2024, Kees Cook <keesc...@chromium.org> wrote: > >>>> On Wed, Feb 14, 2024 at 08:49:39PM +0200, Andy Shevchenko wrote:
... > >>>> Or a Coccinelle script that could do some rewrites? But, yes, if you can > >>>> include some examples, that would be nice. I think the helper is fine to > >>>> add. > >> > >> please find below requested Coccinelle script: > > > > Thanks! > > > > Btw, what to do with 0? > > code is based on this rule: > > "With countable nouns, zero is always followed by plural nouns." If it's not documented / commented, please add one. -- With Best Regards, Andy Shevchenko