diff options
author | Al Viro <viro@www.linux.org.uk> | 2005-04-03 04:15:52 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-05-15 22:19:48 -0400 |
commit | 0b2d7fea1c3893c3790e0b89c310ec1321f1b8c0 (patch) | |
tree | 201e552b4c9642db16de31dc25d875d3e670a33f /drivers | |
parent | 4075400b8b2b279df1c2be38edb95ace7f75d772 (diff) |
[PATCH] skge 64bit portability
ptrdiff_t is %td, not %d
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/skge.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/skge.c b/drivers/net/skge.c index 48503e7963bd..30e8d589d167 100644 --- a/drivers/net/skge.c +++ b/drivers/net/skge.c | |||
@@ -2376,7 +2376,7 @@ static int skge_xmit_frame(struct sk_buff *skb, struct net_device *dev) | |||
2376 | skge_write8(hw, Q_ADDR(txqaddr[skge->port], Q_CSR), CSR_START); | 2376 | skge_write8(hw, Q_ADDR(txqaddr[skge->port], Q_CSR), CSR_START); |
2377 | 2377 | ||
2378 | if (netif_msg_tx_queued(skge)) | 2378 | if (netif_msg_tx_queued(skge)) |
2379 | printk(KERN_DEBUG "%s: tx queued, slot %d, len %d\n", | 2379 | printk(KERN_DEBUG "%s: tx queued, slot %td, len %d\n", |
2380 | dev->name, e - ring->start, skb->len); | 2380 | dev->name, e - ring->start, skb->len); |
2381 | 2381 | ||
2382 | ring->to_use = e->next; | 2382 | ring->to_use = e->next; |
@@ -2607,7 +2607,7 @@ static int skge_poll(struct net_device *dev, int *budget) | |||
2607 | } | 2607 | } |
2608 | 2608 | ||
2609 | if (netif_msg_rx_status(skge)) | 2609 | if (netif_msg_rx_status(skge)) |
2610 | printk(KERN_DEBUG PFX "%s: rx slot %d status 0x%x len %d\n", | 2610 | printk(KERN_DEBUG PFX "%s: rx slot %td status 0x%x len %d\n", |
2611 | dev->name, e - ring->start, rd->status, len); | 2611 | dev->name, e - ring->start, rd->status, len); |
2612 | 2612 | ||
2613 | skb_put(skb, len); | 2613 | skb_put(skb, len); |
@@ -2667,7 +2667,7 @@ static inline void skge_tx_intr(struct net_device *dev) | |||
2667 | break; | 2667 | break; |
2668 | 2668 | ||
2669 | if (unlikely(netif_msg_tx_done(skge))) | 2669 | if (unlikely(netif_msg_tx_done(skge))) |
2670 | printk(KERN_DEBUG PFX "%s: tx done slot %d status 0x%x\n", | 2670 | printk(KERN_DEBUG PFX "%s: tx done slot %td status 0x%x\n", |
2671 | dev->name, e - ring->start, td->status); | 2671 | dev->name, e - ring->start, td->status); |
2672 | 2672 | ||
2673 | skge_tx_free(hw, e); | 2673 | skge_tx_free(hw, e); |