Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272341
b: refs/heads/master
c: a831275
h: refs/heads/master
i:
  272339: d0b4dfe
v: v3
  • Loading branch information
Eli Cohen authored and Roland Dreier committed Oct 6, 2011
1 parent d744f6e commit c0aea28
Show file tree
Hide file tree
Showing 2 changed files with 2 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: a8dc0dffae651befa24dc518ac1715b8d3173c34
refs/heads/master: a8312755db7ac800c83ec036058c3109892e0949
2 changes: 1 addition & 1 deletion trunk/drivers/net/mlx4/mr.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ static int mlx4_buddy_init(struct mlx4_buddy *buddy, int max_order)

buddy->bits = kzalloc((buddy->max_order + 1) * sizeof (long *),
GFP_KERNEL);
buddy->num_free = kzalloc((buddy->max_order + 1) * sizeof (int *),
buddy->num_free = kcalloc((buddy->max_order + 1), sizeof *buddy->num_free,
GFP_KERNEL);
if (!buddy->bits || !buddy->num_free)
goto err_out;
Expand Down

0 comments on commit c0aea28

Please sign in to comment.