]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
lib/cmdline_kunit: add test case for memparse()
authorDmitry Antipov <dmantipov@yandex.ru>
Tue, 19 May 2026 17:22:55 +0000 (20:22 +0300)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 May 2026 04:24:50 +0000 (21:24 -0700)
commita535853b664988aba11771deed44673765df581e
tree742a6fc2f6aa42a1e4b47a38b57685f5ed06e946
parentab90fc1007245380988c500ddf7eff6da1b10056
lib/cmdline_kunit: add test case for memparse()

Better late than never, now there is a long-awaited basic test for
'memparse()' which is provided by cmdline.c.

Link: https://lore.kernel.org/20260519172259.908980-5-dmantipov@yandex.ru
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Suggested-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: Alexandre Ghiti <alex@ghiti.fr>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Charlie Jenkins <thecharlesjenkins@gmail.com>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/tests/cmdline_kunit.c