Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162889
b: refs/heads/master
c: 634354d
h: refs/heads/master
i:
  162887: 251e895
v: v3
  • Loading branch information
Vitaliy Gusev authored and David S. Miller committed Sep 16, 2009
1 parent bee0b00 commit d56c37f
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 657e9649e745b06675aa5063c84430986cdc3afa
refs/heads/master: 634354d753898f9d9d146bd47628a1ef27f7dc98
11 changes: 8 additions & 3 deletions trunk/drivers/net/mlx4/catas.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,17 @@ static void catas_reset(struct work_struct *work)
spin_unlock_irq(&catas_lock);

list_for_each_entry_safe(priv, tmppriv, &tlist, catas_err.list) {
struct pci_dev *pdev = priv->dev.pdev;

ret = mlx4_restart_one(priv->dev.pdev);
dev = &priv->dev;
/* 'priv' now is not valid */
if (ret)
mlx4_err(dev, "Reset failed (%d)\n", ret);
else
printk(KERN_ERR "mlx4 %s: Reset failed (%d)\n",
pci_name(pdev), ret);
else {
dev = pci_get_drvdata(pdev);
mlx4_dbg(dev, "Reset succeeded\n");
}
}
}

Expand Down

0 comments on commit d56c37f

Please sign in to comment.