In message <[email protected]> I wrote: > > In message <[email protected]> you > wrote: > > Casting a pointer to a phys_addr_t when it's an unsigned long long > > on a 32-bit system without first casting to a non-pointer type > > generates a compiler warning. Fix this. > > > > Signed-off-by: Becky Bruce <[email protected]> > > --- > > include/asm-ppc/io.h | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > Applied, thanks.
Unfortunately this leaves problems on some MIPS based systems: ... au1x00_eth.c: In function 'au1x00_send': au1x00_eth.c:158: warning: passing argument 1 of 'virt_to_phys' discards qualifiers from pointer target type au1x00_eth.c: In function 'au1x00_recv': au1x00_eth.c:211: warning: passing argument 1 of 'virt_to_phys' discards qualifiers from pointer target type au1x00_eth.c: In function 'au1x00_init': au1x00_eth.c:252: warning: passing argument 1 of 'virt_to_phys' discards qualifiers from pointer target type (for dbau1000, dbau1100, dbau1500, dbau1550, dbau1550_el and gth2) 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: [email protected] Celestial navigation is based on the premise that the Earth is the center of the universe. The premise is wrong, but the navigation works. An incorrect model can be a useful tool. - Kelvin Throop III _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

