public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Willy Tarreau <w@1wt.eu>
To: "licheng.li" <im.lechain@gmail.com>
Cc: "Thomas Weißschuh" <linux@weissschuh.net>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] tools/nolibc: support left-aligned printing in printf
Date: Wed, 28 Jan 2026 08:53:54 +0100	[thread overview]
Message-ID: <aXnAklSxPaaMIb3X@1wt.eu> (raw)
In-Reply-To: <aXm_EPmtxuGlIHpu@1wt.eu>

On Wed, Jan 28, 2026 at 08:47:28AM +0100, Willy Tarreau wrote:
> On Mon, Jan 26, 2026 at 11:10:37AM +0800, licheng.li wrote:
> > From: Cheng Li <im.lechain@gmail.com>
> > 
> > Currently, __nolibc_printf() in nolibc does not support the '-' flag
> > for left alignment. This limits the ability to format tabular output
> > nicely.
> > 
> > This patch adds support for the '-' flag. The implementation is kept
> > minimal to minimize the binary size impact.

Since your patch also adds support for the '0' flag to left-pad
with zeroes, this should be mentioned in the commit message.

thanks,
Willy

      reply	other threads:[~2026-01-28  7:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-26  3:10 [PATCH 1/2] tools/nolibc: support left-aligned printing in printf licheng.li
2026-01-26  3:10 ` [PATCH 2/2] selftests/nolibc: add tests for printf left alignment licheng.li
2026-01-28  7:51   ` Willy Tarreau
2026-01-28  7:47 ` [PATCH 1/2] tools/nolibc: support left-aligned printing in printf Willy Tarreau
2026-01-28  7:53   ` Willy Tarreau [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aXnAklSxPaaMIb3X@1wt.eu \
    --to=w@1wt.eu \
    --cc=im.lechain@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@weissschuh.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox