Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287685
b: refs/heads/master
c: 758ff23
h: refs/heads/master
i:
  287683: 1878627
v: v3
  • Loading branch information
Axel Lin authored and David S. Miller committed Feb 13, 2012
1 parent 3612a1f commit 5a811fc
Show file tree
Hide file tree
Showing 2 changed files with 4 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: daef52bab1fd26e24e8e9578f8fb33ba1d0cb412
refs/heads/master: 758ff235b3f50f0cb391ba3c5e10793305c42f45
5 changes: 3 additions & 2 deletions trunk/drivers/net/ethernet/mellanox/mlx4/eq.c
Original file line number Diff line number Diff line change
Expand Up @@ -815,8 +815,9 @@ int mlx4_init_eq_table(struct mlx4_dev *dev)
int err;
int i;

priv->eq_table.uar_map = kcalloc(sizeof *priv->eq_table.uar_map,
mlx4_num_eq_uar(dev), GFP_KERNEL);
priv->eq_table.uar_map = kcalloc(mlx4_num_eq_uar(dev),
sizeof *priv->eq_table.uar_map,
GFP_KERNEL);
if (!priv->eq_table.uar_map) {
err = -ENOMEM;
goto err_out_free;
Expand Down

0 comments on commit 5a811fc

Please sign in to comment.