[U-Boot] [PATCH] Fix compiler warning in fdt_support.c

Gerald Van Baren vanbaren at cideas.com
Sun Nov 28 18:30:14 CET 2010


On 11/28/2010 06:42 AM, Wolfgang Denk wrote:
> Dear dirk.behme at googlemail.com,
>
> In message<1290367174-380-1-git-send-email-dirk.behme at gmail.com>  you wrote:
>> From: Dirk Behme<dirk.behme at googlemail.com>
>>
>> Fix compiler warning
>>
>> fdt_support.c: In function 'of_bus_default_count_cells':
>> fdt_support.c:957: warning: passing argument 1 of '__swab32p' discards qualifiers from pointer target type
>> fdt_support.c:965: warning: passing argument 1 of '__swab32p' discards qualifiers from pointer target type
>>
>> be32_to_cpup() expects an 'u32 *' while prop is 'const u32 *'.
>>
>> Signed-off-by: Dirk Behme<dirk.behme at googlemail.com>
>>
>> ---
>>
>> Found while building 'omap3_beagle'.
>
> Applied, thank.
>
> Gerry, hope this is OK with you.

Yes, thanks.

> Best regards,
> Wolfgang Denk

Best regards,
gvb


More information about the U-Boot mailing list