Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 302617
b: refs/heads/master
c: 035b103
h: refs/heads/master
i:
  302615: 627db3f
v: v3
  • Loading branch information
Jack Morgenstein authored and Roland Dreier committed May 19, 2012
1 parent d13e43d commit 9f07848
Show file tree
Hide file tree
Showing 2 changed files with 4 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: e605b743f33d697ad885f99ac8aac480ab6aa6de
refs/heads/master: 035b1032b57635e0b6015aed47dcb43c01e4ce7f
6 changes: 3 additions & 3 deletions trunk/drivers/infiniband/hw/mlx4/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ static void *mlx4_ib_add(struct mlx4_dev *dev)
{
struct mlx4_ib_dev *ibdev;
int num_ports = 0;
int i;
int i, j;
int err;
struct mlx4_ib_iboe *iboe;

Expand Down Expand Up @@ -1323,9 +1323,9 @@ static void *mlx4_ib_add(struct mlx4_dev *dev)
goto err_reg;
}

for (i = 0; i < ARRAY_SIZE(mlx4_class_attributes); ++i) {
for (j = 0; j < ARRAY_SIZE(mlx4_class_attributes); ++j) {
if (device_create_file(&ibdev->ib_dev.dev,
mlx4_class_attributes[i]))
mlx4_class_attributes[j]))
goto err_notif;
}

Expand Down

0 comments on commit 9f07848

Please sign in to comment.