Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 69326
b: refs/heads/master
c: bc2618f
h: refs/heads/master
v: v3
  • Loading branch information
Florin Malita authored and Jeff Garzik committed Oct 15, 2007
1 parent 2b87cea commit 1fe5064
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 7e7b968a07022d6aa369b38b095570db241c7bea
refs/heads/master: bc2618f7528d4b6ea0c2c53539a3b8cff2b33b24
3 changes: 2 additions & 1 deletion trunk/drivers/net/tehuti.c
Original file line number Diff line number Diff line change
Expand Up @@ -1906,7 +1906,7 @@ bdx_probe(struct pci_dev *pdev, const struct pci_device_id *ent)

/************** pci *****************/
if ((err = pci_enable_device(pdev))) /* it trigers interrupt, dunno why. */
RET(err); /* it's not a problem though */
goto err_pci; /* it's not a problem though */

if (!(err = pci_set_dma_mask(pdev, DMA_64BIT_MASK)) &&
!(err = pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK))) {
Expand Down Expand Up @@ -2076,6 +2076,7 @@ bdx_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
pci_release_regions(pdev);
err_dma:
pci_disable_device(pdev);
err_pci:
vfree(nic);

RET(err);
Expand Down

0 comments on commit 1fe5064

Please sign in to comment.