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

From: Cheng Li <im.lechain@gmail.com>

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

v4 adopted optimization suggestions from David Laight

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

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

-- 
2.52.0


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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-30 10:22 [PATCH v4 0/2] tools/nolibc: support left-aligned printing in printf licheng.li
2026-01-30 10:22 ` [PATCH v4 1/2] tools/nolibc: support left alignment (-) " licheng.li
2026-01-30 15:00   ` David Laight
2026-01-30 10:22 ` [PATCH v4 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