Hello [email protected], On Tue, 7 Jul 2015 15:48:26 +0800, [email protected] <[email protected]> wrote: > From: Tang Yuantian <[email protected]> > > When compling under 64bit platforms, there are lots of warnings, > like: > > drivers/block/ahci.c:114:18: warning: cast to pointer from integer > of different size [-Wint-to-pointer-cast] > u8 *port_mmio = (u8 *)probe_ent->port[port].port_mmio; > ^ > drivers/block/ahci.c: In function ?.hci_host_init?. > drivers/block/ahci.c:218:49: warning: cast from pointer to integer > of different size [-Wpointer-to-int-cast] > probe_ent->port[i].port_mmio = ahci_port_base((u32) mmio, i); > > ...... > > Signed-off-by: Shaohui Xie <[email protected]> > Signed-off-by: Tang Yuantian <[email protected]> > --- > v2: > - refined some type casts
Out of curiosity, which toolchain are you using? Amicalement, -- Albert. _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

