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

Wolfgang Denk wd at denx.de
Sun Nov 28 12:42:44 CET 2010


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.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I object to intellect without discipline;  I object to power without
constructive purpose.
	-- Spock, "The Squire of Gothos", stardate 2124.5


More information about the U-Boot mailing list