Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279010
b: refs/heads/master
c: 996b054
h: refs/heads/master
v: v3
  • Loading branch information
Yevgeny Petrilin authored and David S. Miller committed Dec 19, 2011
1 parent 8d8f30f commit b497c79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 0e03567a2c2542e142d5ab6c8bcbf6373a241afe
refs/heads/master: 996b0541e73a3321947dbc8894a078b8e82e8691
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,14 +339,14 @@ int mlx4_get_slave_from_resource_id(struct mlx4_dev *dev,

if (type == RES_QP)
id &= 0x7fffff;
spin_lock_irq(mlx4_tlock(dev));
spin_lock(mlx4_tlock(dev));

r = find_res(dev, id, type);
if (r) {
*slave = r->owner;
err = 0;
}
spin_unlock_irq(mlx4_tlock(dev));
spin_unlock(mlx4_tlock(dev));

return err;
}
Expand Down

0 comments on commit b497c79

Please sign in to comment.