[U-Boot] [PATCH v2] tiny-printf: Correct the snprintf() implementation

Tom Rini trini at konsulko.com
Thu Jun 9 20:02:31 CEST 2016


On Wed, Jun 08, 2016 at 08:55:15PM -0600, Simon Glass wrote:

> This current code passes the variable arguments list to sprintf(). This is
> not correct. Fix it by calling _vprintf() directly.
> 
> This makes firefly-rk3288 boot again.
> 
> Fixes: abeb272 ("tiny-printf: Support snprintf()")
> Reviewed-by: Stefan Roese <sr at denx.de>
> Acked-by: Marek Vasut <marex at denx.de>
> Signed-off-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

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


More information about the U-Boot mailing list