[U-Boot] [PATCH 3/4] lib/display_options: fix compiler warnings

Tom Rini trini at konsulko.com
Mon Jun 15 16:43:25 CEST 2015


On Mon, Jun 15, 2015 at 02:21:01PM +0200, Heiko Schocher wrote:

> fix compiler warnings if compiled for SPL without
> serial port support (CONFIG_SPL_SERIAL_SUPPORT is
> not set).
> 
> Signed-off-by: Heiko Schocher <hs at denx.de>
[snip]
> @@ -121,7 +128,7 @@ int print_buffer(ulong addr, const void *data, uint width, uint count,
>  	} lb;
>  	int i;
>  #ifdef CONFIG_SYS_SUPPORT_64BIT_DATA
> -	uint64_t __maybe_unsued x;
> +	uint64_t x;
>  #else
>  	uint32_t __maybe_unused x;
>  #endif

Wait, why do we need this?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150615/0539d9f5/attachment.sig>


More information about the U-Boot mailing list