public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* gcc 3.4 "makes pointer from integer without a cast" warnings in via-rhine-c
@ 2004-10-16 19:46 Lee Revell
  2004-10-18 11:18 ` Martin Waitz
  0 siblings, 1 reply; 3+ messages in thread
From: Lee Revell @ 2004-10-16 19:46 UTC (permalink / raw)
  To: rluethi; +Cc: linux-kernel

I get these warnings compiling via-rhine with gcc 3.4.  What is the
correct way to fix this?  This came up in another thread and someone
mentioned that just adding a cast is not a "real fix" but just hides the
problem.

drivers/net/via-rhine.c: In function `get_intr_status':
drivers/net/via-rhine.c:536: warning: passing arg 1 of `readw' makes pointer from integer without a cast
drivers/net/via-rhine.c:539: warning: passing arg 1 of `readb' makes pointer from integer without a cast
drivers/net/via-rhine.c: In function `rhine_power_init':
drivers/net/via-rhine.c:555: warning: passing arg 1 of `readb' makes pointer from integer without a cast
drivers/net/via-rhine.c:555: warning: passing arg 2 of `writeb' makes pointer from integer without a cast
drivers/net/via-rhine.c:558: warning: passing arg 2 of `writeb' makes pointer from integer without a cast

etc

Lee


^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <1097957149.2148.22.camel@krustophenia.net>]

end of thread, other threads:[~2004-10-18 11:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-16 19:46 gcc 3.4 "makes pointer from integer without a cast" warnings in via-rhine-c Lee Revell
2004-10-18 11:18 ` Martin Waitz
     [not found] <1097957149.2148.22.camel@krustophenia.net>
2004-10-17  7:12 ` Roger Luethi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox