Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179123
b: refs/heads/master
c: fa15e99
h: refs/heads/master
i:
  179121: 553d81c
  179119: b4df144
v: v3
  • Loading branch information
Denis Kirjanov authored and David S. Miller committed Jan 10, 2010
1 parent c2733cc commit 2362f6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 31b683b6444c4d207126b07f433e0e66da142264
refs/heads/master: fa15e99b6bb44aa86b241a43ca8c509e91f80153
2 changes: 1 addition & 1 deletion trunk/drivers/net/vxge/vxge-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ static int vxge_rx_map(void *dtrh, struct vxge_ring *ring)
dma_addr = pci_map_single(ring->pdev, rx_priv->skb_data,
rx_priv->data_size, PCI_DMA_FROMDEVICE);

if (dma_addr == 0) {
if (unlikely(pci_dma_mapping_error(ring->pdev, dma_addr))) {
ring->stats.pci_map_fail++;
return -EIO;
}
Expand Down

0 comments on commit 2362f6c

Please sign in to comment.