Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265708
b: refs/heads/master
c: 8838a53
h: refs/heads/master
v: v3
  • Loading branch information
Ian Campbell authored and David S. Miller committed Sep 15, 2011
1 parent 5201e3c commit 5c6623c
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 3857e3ee2209b7289c434103e366f765ec82a22d
refs/heads/master: 8838a5381149ff69e23dc13de7c81b28ac688e2e
5 changes: 2 additions & 3 deletions trunk/drivers/net/ethernet/ibm/ibmveth.c
Original file line number Diff line number Diff line change
Expand Up @@ -1002,9 +1002,8 @@ static netdev_tx_t ibmveth_start_xmit(struct sk_buff *skb,
unsigned long dma_addr;
skb_frag_t *frag = &skb_shinfo(skb)->frags[i];

dma_addr = dma_map_page(&adapter->vdev->dev, frag->page,
frag->page_offset, frag->size,
DMA_TO_DEVICE);
dma_addr = skb_frag_dma_map(&adapter->vdev->dev, frag, 0,
frag->size, DMA_TO_DEVICE);

if (dma_mapping_error(&adapter->vdev->dev, dma_addr))
goto map_failed_frags;
Expand Down

0 comments on commit 5c6623c

Please sign in to comment.