From: Tom Rini Date: Wed, 30 Oct 2019 13:04:07 -0400 Subject: [U-Boot] [PATCH] splash: fix build breakage with newer llvm-7 In-Reply-To: <20191030140410.4066-1-agust@denx.de> References: <20191030140410.4066-1-agust@denx.de> Message-ID: <20191030170407.GX11173@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reported-by: Tom Rini Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: