[U-Boot] [PATCH] serial.c: Fix build breakage introduced with commit e3c78c9b

Wolfgang Denk wd at denx.de
Wed Oct 6 22:36:02 CEST 2010


Dear Stefan Roese,

In message <1286383859-14886-1-git-send-email-sr at denx.de> you wrote:
> This patch fixes the compilation problem introduced with commit
> e3c78c9b [ppc4xx: Remove now unused CONFIG_UART1_CONSOLE]:
> 
> -> ./MAKEALL TB5200
> Configuring for TB5200 board...
> serial.c: In function '__default_serial_console':
> serial.c:94: warning: no return statement in function returning non-void
> 
> I accidentally removed an "#else" line. This patch adds it back.
> 
> Signed-off-by: Stefan Roese <sr at denx.de>
> ---
>  common/serial.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"If anything can go wrong, it will."                   - Edsel Murphy


More information about the U-Boot mailing list