[U-Boot] [U-Boot, PATCHv2, 2/2] stdio_names: Ensure MAX_NAMES is defined before use, don't use 3 directly

Tom Rini trini at konsulko.com
Sun May 6 21:12:33 UTC 2018


On Thu, May 03, 2018 at 09:12:26AM -0400, Tom Rini wrote:

> With tighter build flags the fact that <stdio_dev.h> doesn't have a
> reference back to MAX_NAMES causes an error.  Include <stdio.h> here and
> then in common/console.c use MAX_NAMES rather than 3 when working with
> stdio_names.
> 
> Reported-by: Peter Robinson <pbrobinson at gmail.com>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> Tested-by: Peter Robinson <pbrobinson at gmail.com>

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: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180506/70a8d7df/attachment.sig>


More information about the U-Boot mailing list