public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] tools/nolibc: printf left alignment and zero padding
@ 2026-01-28  9:42 licheng.li
  2026-01-28  9:42 ` [PATCH v2 1/2] tools/nolibc: support left alignment (-) and zero padding (0) in printf licheng.li
  2026-01-28  9:42 ` [PATCH v2 2/2] selftests/nolibc: add tests for printf left alignment and zero padding licheng.li
  0 siblings, 2 replies; 10+ messages in thread
From: licheng.li @ 2026-01-28  9:42 UTC (permalink / raw)
  To: Willy Tarreau; +Cc: Thomas Weißschuh, linux-kernel, im.lechain

This series adds support for left alignment ('-') and zero padding ('0')
to nolibc's printf implementation.

v2 incorporates optimizations suggested by Willy Tarreau to further reduce
binary size, and updates the commit message to accurately reflect the
supported features.

Cheng Li (2):
  tools/nolibc: support left alignment (-) and zero padding (0) in
    printf
  selftests/nolibc: add tests for printf left alignment and zero padding

 tools/include/nolibc/stdio.h                 | 20 ++++++++++++++++----
 tools/testing/selftests/nolibc/nolibc-test.c |  2 ++
 2 files changed, 18 insertions(+), 4 deletions(-)

-- 
2.52.0


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

end of thread, other threads:[~2026-01-30  9:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-28  9:42 [PATCH v2 0/2] tools/nolibc: printf left alignment and zero padding licheng.li
2026-01-28  9:42 ` [PATCH v2 1/2] tools/nolibc: support left alignment (-) and zero padding (0) in printf licheng.li
2026-01-29  6:41   ` Willy Tarreau
2026-01-29  6:57     ` licheng
2026-01-29  7:07       ` Willy Tarreau
2026-01-29 10:30   ` David Laight
2026-01-30  1:05     ` Cheng Li
2026-01-30  8:01       ` David Laight
2026-01-30  9:52         ` Cheng Li
2026-01-28  9:42 ` [PATCH v2 2/2] selftests/nolibc: add tests for printf left alignment and zero padding licheng.li

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