[<prev] [next>] [day] [month] [year] [list]
Message-ID: <07905E0D268758488D76D7D747F21BB602079E37@rdc8.rdc>
Date: Wed, 28 Nov 2007 16:38:52 +0800
From: Sten Wang (王世昌) <Sten.Wang@....com.tw>
To: "Andrew Morton" <akpm@...ux-foundation.org>,
<netdev@...r.kernel.org>
Cc: Tim Chen (陳文斌) <Tim.Chen@....com.tw>
Subject: RE: drivers/net/r6040.c warnings on x86_64
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:akpm@...ux-foundation.org]
Sent: Wednesday, November 28, 2007 3:06 PM
To: Sten Wang (王世昌); netdev@...r.kernel.org
Subject: Re: drivers/net/r6040.c warnings on x86_64
On Tue, 27 Nov 2007 20:45:36 -0800 Andrew Morton <akpm@...gle.com> 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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists