[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071127230601.fbb60024.akpm@linux-foundation.org>
Date: Tue, 27 Nov 2007 23:06:01 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Sten Wang <sten.wang@....com.tw>, 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