public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] debug warning
@ 2015-07-15 20:02 York Sun
  2015-07-15 20:23 ` Albert ARIBAUD
  0 siblings, 1 reply; 6+ messages in thread
From: York Sun @ 2015-07-15 20:02 UTC (permalink / raw)
  To: u-boot

Simon,

Did it happen to you with this warning?

lib/fdtdec.c:108:4: warning: format ?%x? expects argument of type ?unsigned
int?, but argument 3 has type ?fdt_size_t? [-Wformat=]
    debug("addr=%08lx, size=%08x\n",
    ^

I think when we have 64-bit physical address, as defined in fdtdec.h, this debug
statement needs to be changed. I am thinking to change the typedef fdt_addr_t to
phys_addr_t, and fdt_size_t to phys_size_t. What do you say?

York

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-07-16  6:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-15 20:02 [U-Boot] debug warning York Sun
2015-07-15 20:23 ` Albert ARIBAUD
2015-07-15 20:25   ` York Sun
2015-07-15 20:29     ` Simon Glass
2015-07-15 20:32       ` York Sun
2015-07-16  6:54         ` Albert ARIBAUD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox