[U-Boot] board_r: return 0 from show_model_r

Tom Rini trini at ti.com
Fri Apr 18 23:01:34 CEST 2014


On Fri, Apr 04, 2014 at 12:23:24PM +0100, Paul Burton wrote:

> The show_model_r function should return an int but didn't. Return 0 to
> indicate inevitable success and avoid the following if it is used:
> 
> common/board_r.c: In function 'show_model_r':
> common/board_r.c:531:1: warning: no return statement in function returning non-void [-Wreturn-type]
>  }
>  ^
> 
> Cc: Simon Glass <sjg at chromium.org>
> Signed-off-by: Paul Burton <paul.burton at imgtec.com>
> Acked-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140418/ba264fb4/attachment.pgp>


More information about the U-Boot mailing list