Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285135
b: refs/heads/master
c: f094148
h: refs/heads/master
i:
  285133: dc69c96
  285131: fc709dd
  285127: 4781f3e
  285119: a467fa9
v: v3
  • Loading branch information
Thomas Meyer authored and Konrad Rzeszutek Wilk committed Dec 16, 2011
1 parent 6f7f638 commit 8c72105
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: ae18be11b5ccc3be9e268592616488c5f9d987f5
refs/heads/master: f094148a1751d6ece9374851eb2926bc3cfd16ef
2 changes: 1 addition & 1 deletion trunk/drivers/block/xen-blkfront.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ static int xlbd_reserve_minors(unsigned int minor, unsigned int nr)
if (end > nr_minors) {
unsigned long *bitmap, *old;

bitmap = kzalloc(BITS_TO_LONGS(end) * sizeof(*bitmap),
bitmap = kcalloc(BITS_TO_LONGS(end), sizeof(*bitmap),
GFP_KERNEL);
if (bitmap == NULL)
return -ENOMEM;
Expand Down

0 comments on commit 8c72105

Please sign in to comment.