[U-Boot] [PATCH] MIPS: Fix compile warning in au1x00_eth.c

2009-01-27 Thread Stefan Roese
This patch fixes this compilation warning: ./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 from pointer target type ... Seens with ELDK 4.2 (GCC 4.2.2). Signe

Re: [U-Boot] [PATCH] MIPS: Fix compile warning in au1x00_eth.c

2009-01-28 Thread Shinya Kuribayashi
Stefan Roese wrote: > This patch fixes this compilation warning: > > ./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 from pointer target type > ... > > S

Re: [U-Boot] [PATCH] MIPS: Fix compile warning in au1x00_eth.c

2009-01-28 Thread Stefan Roese
On Wednesday 28 January 2009, Shinya Kuribayashi wrote: > Stefan Roese wrote: > > This patch fixes this compilation warning: > > > > ./MAKEALL dbau1000 > > Configuring for dbau1x00 board... > > au1x00_eth.c: In function 'au1x00_send': > > au1x00_eth.c:158: warning: passing argument 1 of 'virt_to_ph

Re: [U-Boot] [PATCH] MIPS: Fix compile warning in au1x00_eth.c

2009-01-29 Thread Shinya Kuribayashi
Stefan Roese wrote: >> skuri...@ubuntu:u-boot.git$ mips-linux-gnu-gcc --version >> mips-linux-gnu-gcc (Sourcery G++ Lite 4.2-177) 4.2.3 >> Copyright (C) 2007 Free Software Foundation, Inc. >> This is free software; see the source for copying conditions. There is NO >> warranty; not even for MERCHA

Re: [U-Boot] [PATCH] MIPS: Fix compile warning in au1x00_eth.c

2009-01-30 Thread Stefan Roese
On Friday 30 January 2009, Shinya Kuribayashi wrote: > @@ -249,7 +249,7 @@ static int au1x00_init(struct eth_device* dev, bd_t * > bd){ for(i=0;i fifo_tx[i].len = 0; > fifo_tx[i].addr = virt_to_phys(&txbuf[0]); > - fifo_rx[i].addr = (virt_to_phys(NetRxPackets