Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308832
b: refs/heads/master
c: 4d67d86
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Meyer authored and Linus Torvalds committed May 29, 2012
1 parent 30911fa commit 1243e50
Show file tree
Hide file tree
Showing 2 changed files with 3 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: f62388187207bea83f1865d507bf892a1f9152c3
refs/heads/master: 4d67d860531ad5378dedfad7661c540f3365013d
4 changes: 2 additions & 2 deletions trunk/mm/vmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2375,8 +2375,8 @@ struct vm_struct **pcpu_get_vm_areas(const unsigned long *offsets,
return NULL;
}

vms = kzalloc(sizeof(vms[0]) * nr_vms, GFP_KERNEL);
vas = kzalloc(sizeof(vas[0]) * nr_vms, GFP_KERNEL);
vms = kcalloc(nr_vms, sizeof(vms[0]), GFP_KERNEL);
vas = kcalloc(nr_vms, sizeof(vas[0]), GFP_KERNEL);
if (!vas || !vms)
goto err_free2;

Expand Down

0 comments on commit 1243e50

Please sign in to comment.