Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275580
b: refs/heads/master
c: 21643e6
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Konrad Rzeszutek Wilk committed Nov 16, 2011
1 parent c8cb78c commit 9425ddc
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: fc6e0c3b909157748ce1c0c0f2a9935a5ee3c812
refs/heads/master: 21643e69a4c06f7ef155fbc70e3fba13fba4a756
2 changes: 1 addition & 1 deletion trunk/drivers/xen/gntalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ static long gntalloc_ioctl_alloc(struct gntalloc_file_private_data *priv,
goto out;
}

gref_ids = kzalloc(sizeof(gref_ids[0]) * op.count, GFP_TEMPORARY);
gref_ids = kcalloc(op.count, sizeof(gref_ids[0]), GFP_TEMPORARY);
if (!gref_ids) {
rc = -ENOMEM;
goto out;
Expand Down

0 comments on commit 9425ddc

Please sign in to comment.