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

Heiko Schocher hs at denx.de
Tue Jun 16 06:44:53 CEST 2015


Hello Tom,

Am 15.06.2015 16:43, schrieb Tom Rini:
> 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?

Hmm... good question ... this seems to make no sense ... I removed
this junk and started a new build for all boards ...

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list