Dear Andrew:

Thanks very much for your test.
Yes, you can fix it.
If you have any problem that we can help, please feel free to mail me or Tim.
Thnaks.

Best Regards,

Sten

=========================================================

                      E-mail Confidentiality Notice  

The information in this e-mail is confidential and may be legally privileged 
otherwise protected from disclosure .It is intended solely for the addressee 
.Access to this e-mail by anyone else is unauthorized .If you are not the 
intended recipient, any disclosure, copying, distribution or any action taken 
or omitted to be taken in reliance on it, is prohibited and maybe 
unlawful.Please delete the message and any attachments from your computer 
system; and destroy all hard copies. 

ALL Intellectual Property Rights of RDC Reserved.


-----Original Message-----
From: Andrew Morton [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 28, 2007 3:06 PM
To: Sten Wang (王世昌); [email protected]
Subject: Re: drivers/net/r6040.c warnings on x86_64

On Tue, 27 Nov 2007 20:45:36 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote:

> drivers/net/r6040.c: In function 'rx_buf_alloc':
> drivers/net/r6040.c:262: warning: passing argument 2 of 'pci_map_single' 
> makes pointer from integer without a cast
> drivers/net/r6040.c: In function 'r6040_up':
> drivers/net/r6040.c:631: warning: cast from pointer to integer of different 
> size
> drivers/net/r6040.c:632: warning: cast to pointer from integer of different 
> size
> drivers/net/r6040.c:637: warning: cast from pointer to integer of different 
> size
> drivers/net/r6040.c:638: warning: cast to pointer from integer of different 
> size
> 
> can we fix these please?

it breaks the sparc64 build too

drivers/net/r6040.c: In function `rx_buf_alloc':
drivers/net/r6040.c:262: warning: passing arg 2 of `pci_map_single' makes 
pointer from integer without a cast
drivers/net/r6040.c:262: warning: passing arg 2 of `pci_map_single' makes 
pointer from integer without a cast
drivers/net/r6040.c:262: warning: passing arg 2 of `pci_map_single' makes 
pointer from integer without a cast
drivers/net/r6040.c:262: warning: passing arg 2 of `pci_map_single' makes 
pointer from integer without a cast
drivers/net/r6040.c:262: warning: passing arg 2 of `pci_map_single' makes 
pointer from integer without a cast
drivers/net/r6040.c:262: warning: passing arg 2 of `pci_map_single' makes 
pointer from integer without a cast
drivers/net/r6040.c: In function `r6040_up':
drivers/net/r6040.c:631: warning: cast from pointer to integer of different size
drivers/net/r6040.c:631: warning: cast from pointer to integer of different size
drivers/net/r6040.c:631: warning: cast from pointer to integer of different size
drivers/net/r6040.c:631: warning: cast from pointer to integer of different size
drivers/net/r6040.c:631: warning: cast from pointer to integer of different size
drivers/net/r6040.c:631: warning: cast from pointer to integer of different size
drivers/net/r6040.c:632: error: implicit declaration of function `virt_to_bus'
drivers/net/r6040.c:632: warning: cast to pointer from integer of different size
drivers/net/r6040.c:637: warning: cast from pointer to integer of different size
drivers/net/r6040.c:637: warning: cast from pointer to integer of different size
drivers/net/r6040.c:637: warning: cast from pointer to integer of different size
drivers/net/r6040.c:637: warning: cast from pointer to integer of different size
drivers/net/r6040.c:637: warning: cast from pointer to integer of different size
drivers/net/r6040.c:637: warning: cast from pointer to integer of different size
drivers/net/r6040.c:638: warning: cast to pointer from integer of different size
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to