netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] 3c515: Fix warning when building
@ 2013-10-25 21:59 Colin Rice
  2013-10-29  4:03 ` David Miller
  0 siblings, 1 reply; 5+ messages in thread
From: Colin Rice @ 2013-10-25 21:59 UTC (permalink / raw)
  To: netdev; +Cc: Colin Rice


Signed-off-by: Colin Rice <ricec2@rpi.edu>
---
 drivers/net/ethernet/3com/3c515.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/3com/3c515.c b/drivers/net/ethernet/3com/3c515.c
index 94c656f..33ffda4 100644
--- a/drivers/net/ethernet/3com/3c515.c
+++ b/drivers/net/ethernet/3com/3c515.c
@@ -1063,7 +1063,7 @@ static netdev_tx_t corkscrew_start_xmit(struct sk_buff *skb,
 #ifdef VORTEX_BUS_MASTER
 	if (vp->bus_master) {
 		/* Set the bus-master controller to transfer the packet. */
-		outl((int) (skb->data), ioaddr + Wn7_MasterAddr);
+		outl((size_t) (skb->data), ioaddr + Wn7_MasterAddr);
 		outw((skb->len + 3) & ~3, ioaddr + Wn7_MasterLen);
 		vp->tx_skb = skb;
 		outw(StartDMADown, ioaddr + EL3_CMD);
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-10-29 20:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-25 21:59 [PATCH net-next] 3c515: Fix warning when building Colin Rice
2013-10-29  4:03 ` David Miller
2013-10-29 19:31   ` Ben Hutchings
     [not found]     ` <CAP8WD_b6i2+V30Gjo9fyYeEQfNCQBEKSHCUcAH0SJH1Z13CExg@mail.gmail.com>
2013-10-29 20:00       ` Ben Hutchings
2013-10-29 20:06     ` David Miller

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).