Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56737
b: refs/heads/master
c: de57c9f
h: refs/heads/master
i:
  56735: cd392b4
v: v3
  • Loading branch information
Ali Ayoub authored and Roland Dreier committed May 19, 2007
1 parent 4009619 commit 6d23b0c
Show file tree
Hide file tree
Showing 2 changed files with 4 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: bd5a6ccc0e6d8eed3047b4af0e5c1e7168869cd8
refs/heads/master: de57c9f102ad7bdc8afa5a1560748cf4f1c18b8e
4 changes: 3 additions & 1 deletion trunk/drivers/infiniband/hw/mthca/mthca_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1250,12 +1250,14 @@ static void __mthca_remove_one(struct pci_dev *pdev)
int __mthca_restart_one(struct pci_dev *pdev)
{
struct mthca_dev *mdev;
int hca_type;

mdev = pci_get_drvdata(pdev);
if (!mdev)
return -ENODEV;
hca_type = mdev->hca_type;
__mthca_remove_one(pdev);
return __mthca_init_one(pdev, mdev->hca_type);
return __mthca_init_one(pdev, hca_type);
}

static int __devinit mthca_init_one(struct pci_dev *pdev,
Expand Down

0 comments on commit 6d23b0c

Please sign in to comment.