Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265718
b: refs/heads/master
c: 2af830e
h: refs/heads/master
v: v3
  • Loading branch information
Ian Campbell authored and David S. Miller committed Sep 15, 2011
1 parent fab677c commit 0cf7b96
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: 8d36bb0de70bfd57f15c48bc8fb6886f3dcc96ae
refs/heads/master: 2af830e5919b6371e109b71597ceca977d23199c
5 changes: 2 additions & 3 deletions trunk/drivers/net/ethernet/qlogic/qla3xxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2388,9 +2388,8 @@ static int ql_send_map(struct ql3_adapter *qdev,
seg++;
}

map = pci_map_page(qdev->pdev, frag->page,
frag->page_offset, frag->size,
PCI_DMA_TODEVICE);
map = skb_frag_dma_map(&qdev->pdev->dev, frag, 0, frag->size,
PCI_DMA_TODEVICE);

err = pci_dma_mapping_error(qdev->pdev, map);
if (err) {
Expand Down

0 comments on commit 0cf7b96

Please sign in to comment.