From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sun, 6 May 2018 17:12:33 -0400 Subject: [U-Boot] [U-Boot, PATCHv2, 2/2] stdio_names: Ensure MAX_NAMES is defined before use, don't use 3 directly In-Reply-To: <1525353146-21994-2-git-send-email-trini@konsulko.com> References: <1525353146-21994-2-git-send-email-trini@konsulko.com> Message-ID: <20180506211233.GH12235@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, May 03, 2018 at 09:12:26AM -0400, Tom Rini wrote: > With tighter build flags the fact that doesn't have a > reference back to MAX_NAMES causes an error. Include here and > then in common/console.c use MAX_NAMES rather than 3 when working with > stdio_names. > > Reported-by: Peter Robinson > Signed-off-by: Tom Rini > Tested-by: Peter Robinson 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: