From: Andrew Morton <akpm@linux-foundation.org>
To: Sten Wang <sten.wang@rdc.com.tw>, netdev@vger.kernel.org
Subject: Re: drivers/net/r6040.c warnings on x86_64
Date: Tue, 27 Nov 2007 23:06:01 -0800 [thread overview]
Message-ID: <20071127230601.fbb60024.akpm@linux-foundation.org> (raw)
In-Reply-To: <20071127204536.61bf7921.akpm@google.com>
On Tue, 27 Nov 2007 20:45:36 -0800 Andrew Morton <akpm@google.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
next prev parent reply other threads:[~2007-11-28 7:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-28 4:45 drivers/net/r6040.c warnings on x86_64 Andrew Morton
2007-11-28 7:06 ` Andrew Morton [this message]
2007-11-28 22:08 ` Pull request for 'r6040' branch Francois Romieu
2007-11-28 22:09 ` [PATCH 1/4] r6040: compile error Francois Romieu
2007-11-28 22:09 ` [PATCH 2/4] r6040: remove virt_to_bus Francois Romieu
2007-11-28 22:10 ` [PATCH 3/4] r6040: erroneous dev->priv Francois Romieu
2007-11-28 22:11 ` [PATCH 4/4] r6040: cleanups Francois Romieu
2007-12-01 21:57 ` Pull request for 'r6040' branch Jeff Garzik
-- strict thread matches above, loose matches on Subject: below --
2007-11-28 8:38 drivers/net/r6040.c warnings on x86_64 Sten Wang (王世昌)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071127230601.fbb60024.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=netdev@vger.kernel.org \
--cc=sten.wang@rdc.com.tw \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).