[PATCH v8 0/5] lib and lib/cmdline enhancements

Dmitry Antipov posted 5 patches 1 month, 2 weeks ago
lib/cmdline.c             | 30 ++++++++++++++-------
lib/kstrtox.c             | 37 +++++++++++++++-----------
lib/test-kstrtox.c        |  6 +++++
lib/tests/cmdline_kunit.c | 56 +++++++++++++++++++++++++++++++++++++++
4 files changed, 104 insertions(+), 25 deletions(-)
[PATCH v8 0/5] lib and lib/cmdline enhancements
Posted by Dmitry Antipov 1 month, 2 weeks ago
Adjust '_parse_integer_limit()' and 'memparse()' to not ignore
overflows, extend string to 64-bit integer conversion tests, add
KUnit-based test for 'memparse()' and fix kernel-doc glitches
found in lib/cmdline.c.

Dmitry Antipov (5):
  lib: fix _parse_integer_limit() to handle overflow
  lib: fix memparse() to handle overflow
  lib: add more string to 64-bit integer conversion overflow tests
  lib/cmdline_kunit: add test case for memparse()
  lib/cmdline: adjust a few comments to fix kernel-doc -Wreturn warnings

 lib/cmdline.c             | 30 ++++++++++++++-------
 lib/kstrtox.c             | 37 +++++++++++++++-----------
 lib/test-kstrtox.c        |  6 +++++
 lib/tests/cmdline_kunit.c | 56 +++++++++++++++++++++++++++++++++++++++
 4 files changed, 104 insertions(+), 25 deletions(-)

-- 
2.53.0
Re: [PATCH v8 0/5] lib and lib/cmdline enhancements
Posted by Dmitry Antipov 1 month, 1 week ago
On Thu, 2026-02-12 at 19:44 +0300, Dmitry Antipov wrote:

> Adjust '_parse_integer_limit()' and 'memparse()' to not ignore
> overflows, extend string to 64-bit integer conversion tests, add
> KUnit-based test for 'memparse()' and fix kernel-doc glitches
> found in lib/cmdline.c.
> 
> Dmitry Antipov (5):
>   lib: fix _parse_integer_limit() to handle overflow
>   lib: fix memparse() to handle overflow
>   lib: add more string to 64-bit integer conversion overflow tests
>   lib/cmdline_kunit: add test case for memparse()
>   lib/cmdline: adjust a few comments to fix kernel-doc -Wreturn warnings

Any chance to move forward with this?

Dmitry
Re: [PATCH v8 0/5] lib and lib/cmdline enhancements
Posted by Andy Shevchenko 1 month, 1 week ago
On Wed, Feb 18, 2026 at 04:40:28PM +0300, Dmitry Antipov wrote:
> On Thu, 2026-02-12 at 19:44 +0300, Dmitry Antipov wrote:
> 
> > Adjust '_parse_integer_limit()' and 'memparse()' to not ignore
> > overflows, extend string to 64-bit integer conversion tests, add
> > KUnit-based test for 'memparse()' and fix kernel-doc glitches
> > found in lib/cmdline.c.
> > 
> > Dmitry Antipov (5):
> >   lib: fix _parse_integer_limit() to handle overflow
> >   lib: fix memparse() to handle overflow
> >   lib: add more string to 64-bit integer conversion overflow tests
> >   lib/cmdline_kunit: add test case for memparse()
> >   lib/cmdline: adjust a few comments to fix kernel-doc -Wreturn warnings
> 
> Any chance to move forward with this?

I think it's a grace period due to ongoing merge window.
Also we need more input on the first patch from others,
perhaps Kees and Andrew can take a look when they will be
less busy.

-- 
With Best Regards,
Andy Shevchenko