[PATCH 6/6] lib: Provide a signed version of simple_itoa()

Simon Glass sjg at chromium.org
Wed Mar 19 16:04:39 CET 2025


Hi Heinrich,

On Wed, 19 Mar 2025 at 13:12, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> Am 19. März 2025 12:59:08 MEZ schrieb Simon Glass <sjg at 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?

In a following series.

> Why can't printf be used?

It can, but it is clumsy to do that.

> Why would this fit into this series which is about test improvements and not about functional changes?

It seems to fit in here, since I added a test for the existing function.

[..]

Regards,
Simon


More information about the U-Boot mailing list