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
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
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
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
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
5 matches
Mail list logo