Re: [U-Boot] MIPS: Fix GCC-4.2 'discards qualifiers from pointer target type' warnings

2009-02-22 Thread Wolfgang Denk
Dear Shinya Kuribayashi, In message 49a0e17b.9090...@ruby.dti.ne.jp you wrote: Compiling dbau1x00 and gth2 boards with GCC-4.2, you would see new warnings like this: skuri...@ubuntu:u-boot.git$ ./MAKEALL dbau1000 Configuring for dbau1x00 board... au1x00_eth.c: In function 'au1x00_send':

[U-Boot] MIPS: Fix GCC-4.2 'discards qualifiers from pointer target type' warnings

2009-02-21 Thread Shinya Kuribayashi
Compiling dbau1x00 and gth2 boards with GCC-4.2, you would see new warnings like this: skuri...@ubuntu:u-boot.git$ ./MAKEALL dbau1000 Configuring for dbau1x00 board... au1x00_eth.c: In function 'au1x00_send': au1x00_eth.c:158: warning: passing argument 1 of 'virt_to_phys' discards qualifiers