All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] tiny printf limits
@ 2017-12-05 19:06 Frank Mori Hess
  2017-12-07 17:11 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Frank Mori Hess @ 2017-12-05 19:06 UTC (permalink / raw)
  To: u-boot

Shouldn't tiny printf abort or something when it encounters a printf
format string it doesn't support?  Right now, it just silently skips
it while leaving the associated argument in place, resulting in the
arguments getting shifted onto the wrong format strings.

-- 
Frank

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

* [U-Boot] tiny printf limits
  2017-12-05 19:06 [U-Boot] tiny printf limits Frank Mori Hess
@ 2017-12-07 17:11 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2017-12-07 17:11 UTC (permalink / raw)
  To: u-boot

On Tue, Dec 05, 2017 at 02:06:17PM -0500, Frank Mori Hess wrote:

> Shouldn't tiny printf abort or something when it encounters a printf
> format string it doesn't support?  Right now, it just silently skips
> it while leaving the associated argument in place, resulting in the
> arguments getting shifted onto the wrong format strings.

It's for tiny situations.  If there's a case where something is printing
and it's getting printed wrong we need to decide what to do about that
print, or the format it's using.

That said, if you can, in a tiny way, make the code behave better, I'd
be happy to review that too.  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171207/a4308e2f/attachment.sig>

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

end of thread, other threads:[~2017-12-07 17:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-05 19:06 [U-Boot] tiny printf limits Frank Mori Hess
2017-12-07 17:11 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.