U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Simon Glass <sjg@chromium.org>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>,
	U-Boot Mailing List <u-boot@lists.denx.de>,
	Caleb Connolly <caleb.connolly@linaro.org>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	Patrick Delaunay <patrick.delaunay@foss.st.com>,
	Raymond Mao <raymond.mao@linaro.org>
Subject: Re: [PATCH 6/6] lib: Provide a signed version of simple_itoa()
Date: Sun, 30 Mar 2025 08:45:35 -0600	[thread overview]
Message-ID: <20250330144535.GP93000@bill-the-cat> (raw)
In-Reply-To: <CAFLszTgTC5bG=tLeHQ8CYCymLND4bykiWQCgBhszcUORhT5LGw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1609 bytes --]

On Thu, Mar 20, 2025 at 03:43:17AM +0000, Simon Glass wrote:
> Hi Tom,
> 
> On Wed, 19 Mar 2025 at 16:36, Tom Rini <trini@konsulko.com> wrote:
> >
> > On Wed, Mar 19, 2025 at 03:04:00PM +0000, Simon Glass wrote:
> > > Hi Tom,
> > >
> > > On Wed, 19 Mar 2025 at 15:20, Tom Rini <trini@konsulko.com> wrote:
> > > >
> > > > On Wed, Mar 19, 2025 at 01:12:30PM +0100, Heinrich Schuchardt wrote:
> > > > > Am 19. März 2025 12:59:08 MEZ schrieb Simon Glass <sjg@chromium.org>:
> > > > > >In some cases we want to show a signed value to the user without needing
> > > > > >to use the full printf() implementation. Add a new version of the
> > > > > >simple_itoa() function to handle this.
> > > > >
> > > > > Where will this be used?
> > > > > Why can't printf be used?
> > > > > Why would this fit into this series which is about test improvements and not about functional changes?
> > > >
> > > > It would be more fair to say that only one patch in this series is about
> > > > testing and 5 are adding otherwise unused changes to functions that
> > > > presumably are used in some later as yet to be posted series.
> > >
> > > Sure, would you like me to change the cover letter?
> >
> > No, I'd like to see the test by itself and defer the unused additions
> > until there's something to review it alongside of.
> 
> So you don't want simple_itoa_signed() or abuf_printf() until you see
> the series which uses it? I'm struggling to square that with your
> request to break things up into smaller chunks, though.

I'm sorry you find this normal requirement difficult.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  reply	other threads:[~2025-03-30 14:45 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-19 11:59 [PATCH 0/6] Test improvements Simon Glass
2025-03-19 11:59 ` [PATCH 1/6] abuf: Add a function to copy a buffer Simon Glass
2025-03-19 11:59 ` [PATCH 2/6] abuf: Add a way to printf() into " Simon Glass
2025-03-19 11:59 ` [PATCH 3/6] test: Add a test for strim() Simon Glass
2025-03-19 14:24   ` Tom Rini
2025-03-19 15:04     ` Simon Glass
2025-03-19 15:38       ` Tom Rini
2025-03-20  3:43         ` Simon Glass
2025-03-20 14:15           ` Tom Rini
2025-04-02 19:22             ` Simon Glass
2025-03-19 11:59 ` [PATCH 4/6] membuf: Add an easy way to set up a buffer with data Simon Glass
2025-03-19 11:59 ` [PATCH 5/6] sandbox: Enable PHYS_64BIT for 64-bit builds Simon Glass
2025-03-19 11:59 ` [PATCH 6/6] lib: Provide a signed version of simple_itoa() Simon Glass
2025-03-19 12:12   ` Heinrich Schuchardt
2025-03-19 14:20     ` Tom Rini
2025-03-19 15:04       ` Simon Glass
2025-03-19 15:36         ` Tom Rini
2025-03-20  3:43           ` Simon Glass
2025-03-30 14:45             ` Tom Rini [this message]
2025-03-19 15:04     ` Simon Glass

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=20250330144535.GP93000@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=caleb.connolly@linaro.org \
    --cc=ilias.apalodimas@linaro.org \
    --cc=patrick.delaunay@foss.st.com \
    --cc=raymond.mao@linaro.org \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.de \
    /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