Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315093
b: refs/heads/master
c: b06b66c
h: refs/heads/master
i:
  315091: d688a5d
v: v3
  • Loading branch information
Jon Mason authored and David S. Miller committed Jul 11, 2012
1 parent 9ce462d commit b3de05d
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 4a4511a0199a2653c88f4475e4bae77a7cc016e0
refs/heads/master: b06b66c05babe3483a585508655c1edb9e07f8dc
4 changes: 1 addition & 3 deletions trunk/drivers/net/ethernet/micrel/ksz884x.c
Original file line number Diff line number Diff line change
Expand Up @@ -4480,14 +4480,12 @@ static void ksz_init_rx_buffers(struct dev_info *adapter)
dma_buf->len = adapter->mtu;
if (!dma_buf->skb)
dma_buf->skb = alloc_skb(dma_buf->len, GFP_ATOMIC);
if (dma_buf->skb && !dma_buf->dma) {
dma_buf->skb->dev = adapter->dev;
if (dma_buf->skb && !dma_buf->dma)
dma_buf->dma = pci_map_single(
adapter->pdev,
skb_tail_pointer(dma_buf->skb),
dma_buf->len,
PCI_DMA_FROMDEVICE);
}

/* Set descriptor. */
set_rx_buf(desc, dma_buf->dma);
Expand Down

0 comments on commit b3de05d

Please sign in to comment.