Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45952
b: refs/heads/master
c: 9e8e83d
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Jeff Garzik committed Jan 30, 2007
1 parent 5a3763c commit ed46de6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b1f54ba34f9e036ab515bbac0c01d17300e1c79a
refs/heads/master: 9e8e83d1ba0b248de34062a61f4f5d378a5dbd53
7 changes: 4 additions & 3 deletions trunk/drivers/net/82596.c
Original file line number Diff line number Diff line change
Expand Up @@ -1066,8 +1066,8 @@ static int i596_start_xmit(struct sk_buff *skb, struct net_device *dev)
short length = skb->len;
dev->trans_start = jiffies;

DEB(DEB_STARTTX,printk(KERN_DEBUG "%s: i596_start_xmit(%x,%x) called\n", dev->name,
skb->len, (unsigned int)skb->data));
DEB(DEB_STARTTX,printk(KERN_DEBUG "%s: i596_start_xmit(%x,%p) called\n",
dev->name, skb->len, skb->data));

if (skb->len < ETH_ZLEN) {
if (skb_padto(skb, ETH_ZLEN))
Expand Down Expand Up @@ -1246,7 +1246,8 @@ struct net_device * __init i82596_probe(int unit)
dev->priv = (void *)(dev->mem_start);

lp = dev->priv;
DEB(DEB_INIT,printk(KERN_DEBUG "%s: lp at 0x%08lx (%d bytes), lp->scb at 0x%08lx\n",
DEB(DEB_INIT,printk(KERN_DEBUG "%s: lp at 0x%08lx (%zd bytes), "
"lp->scb at 0x%08lx\n",
dev->name, (unsigned long)lp,
sizeof(struct i596_private), (unsigned long)&lp->scb));
memset((void *) lp, 0, sizeof(struct i596_private));
Expand Down

0 comments on commit ed46de6

Please sign in to comment.