Linux-RISC-V Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v9 0/6] lib and lib/cmdline enhancements
@ 2026-04-03 10:33 Dmitry Antipov
  2026-04-03 10:33 ` [PATCH v9 1/6] lib: fix _parse_integer_limit() to handle overflow Dmitry Antipov
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Dmitry Antipov @ 2026-04-03 10:33 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Andy Shevchenko, David Laight, Kees Cook, Darrick J . Wong,
	Paul Walmsley, Palmer Dabbelt, Albert Ou, Nathan Chancellor,
	Ard Biesheuvel, linux-riscv, Dmitry Antipov

Adjust '_parse_integer_limit()' and 'memparse()' to not ignore overflows,
extend string to 64-bit integer conversion tests, add KUnit-based test
for 'memparse()', fix kernel-doc glitches found in lib/cmdline.c and
adjust riscv32 linker script to export symbols needed for EFI stub.

Dmitry Antipov (6):
  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
  riscv: export symbols needed for riscv32 EFI stub

 arch/riscv/kernel/image-vars.h |  9 ++++++
 lib/cmdline.c                  | 30 ++++++++++++------
 lib/kstrtox.c                  | 37 +++++++++++++---------
 lib/test-kstrtox.c             |  6 ++++
 lib/tests/cmdline_kunit.c      | 56 ++++++++++++++++++++++++++++++++++
 5 files changed, 113 insertions(+), 25 deletions(-)

-- 
2.53.0

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-04-09  8:51 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-03 10:33 [PATCH v9 0/6] lib and lib/cmdline enhancements Dmitry Antipov
2026-04-03 10:33 ` [PATCH v9 1/6] lib: fix _parse_integer_limit() to handle overflow Dmitry Antipov
2026-04-03 10:33 ` [PATCH v9 2/6] lib: fix memparse() " Dmitry Antipov
2026-04-03 10:33 ` [PATCH v9 3/6] lib: add more string to 64-bit integer conversion overflow tests Dmitry Antipov
2026-04-03 10:33 ` [PATCH v9 4/6] lib/cmdline_kunit: add test case for memparse() Dmitry Antipov
2026-04-03 10:33 ` [PATCH v9 5/6] lib/cmdline: adjust a few comments to fix kernel-doc -Wreturn warnings Dmitry Antipov
2026-04-03 10:33 ` [PATCH v9 6/6] riscv: export symbols needed for riscv32 EFI stub Dmitry Antipov
2026-04-09  5:00   ` Charlie Jenkins
2026-04-09  8:51     ` Andy Shevchenko
2026-04-03 17:09 ` [PATCH v9 0/6] lib and lib/cmdline enhancements Andrew Morton
2026-04-03 19:25 ` Andrew Morton
2026-04-05  9:13   ` Dmitry Antipov
2026-04-07 16:12     ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox