[U-Boot] [PATCH] splash: fix build breakage with newer llvm-7

Tom Rini trini at konsulko.com
Wed Oct 30 17:04:07 UTC 2019

On Wed, Oct 30, 2019 at 03:04:10PM +0100, Anatolij Gustschin wrote:

> Some configurations (i.e. sandbox) result in unused
> splash_display_banner() and we get build errors like:
>   common/splash.c:148:20: error: unused function 'splash_display_banner' [-Werror,-Wunused-function]
>   static inline void splash_display_banner(void) { }
> Drop empty inline function and add guards around the call.
> Fixes: d2a8271c8851 ("splash: fix splash banner output")
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> Reported-by: Tom Rini <trini at konsulko.com>

Reviewed-by: Tom Rini <trini at konsulko.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191030/b1ad933f/attachment.sig>

More information about the U-Boot mailing list