Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254900
b: refs/heads/master
c: ff18177
h: refs/heads/master
v: v3
  • Loading branch information
Jim Cromie authored and David S. Miller committed Jul 10, 2011
1 parent 7bc78f2 commit ab0cae9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: cd4fcc704f30f2064ab30b5300d44d431e46db50
refs/heads/master: ff1817749f0405c019420fcb415ad20fedec7884
4 changes: 2 additions & 2 deletions trunk/drivers/net/natsemi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2028,8 +2028,8 @@ static void drain_rx(struct net_device *dev)
np->rx_ring[i].cmd_status = 0;
np->rx_ring[i].addr = cpu_to_le32(0xBADF00D0); /* An invalid address. */
if (np->rx_skbuff[i]) {
pci_unmap_single(np->pci_dev,
np->rx_dma[i], buflen,
pci_unmap_single(np->pci_dev, np->rx_dma[i],
buflen + NATSEMI_PADDING,
PCI_DMA_FROMDEVICE);
dev_kfree_skb(np->rx_skbuff[i]);
}
Expand Down

0 comments on commit ab0cae9

Please sign in to comment.