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

Dmitry Antipov posted 5 patches 11 hours ago
lib/cmdline.c             | 39 ++++++++++++++++++++-------
lib/kstrtox.c             | 47 ++++++++++++++++++++-------------
lib/test-kstrtox.c        |  6 +++++
lib/tests/cmdline_kunit.c | 55 +++++++++++++++++++++++++++++++++++++++
4 files changed, 120 insertions(+), 27 deletions(-)
[PATCH v6 0/5] lib and lib/cmdline enhancements
Posted by Dmitry Antipov 11 hours 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             | 39 ++++++++++++++++++++-------
 lib/kstrtox.c             | 47 ++++++++++++++++++++-------------
 lib/test-kstrtox.c        |  6 +++++
 lib/tests/cmdline_kunit.c | 55 +++++++++++++++++++++++++++++++++++++++
 4 files changed, 120 insertions(+), 27 deletions(-)

-- 
2.53.0