Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299428
b: refs/heads/master
c: 8bde9a6
h: refs/heads/master
v: v3
  • Loading branch information
Xi Wang authored and Greg Kroah-Hartman committed Apr 17, 2012
1 parent 28c48bc commit 378b9cd
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: e65cdfae71cecec0fcd43a3f9ac8b5e4ae52db08
refs/heads/master: 8bde9a62ee74afa89f593c563e926d163b1f6ada
2 changes: 1 addition & 1 deletion trunk/drivers/usb/misc/usbtest.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ alloc_sglist(int nents, int max, int vary)
unsigned i;
unsigned size = max;

sg = kmalloc(nents * sizeof *sg, GFP_KERNEL);
sg = kmalloc_array(nents, sizeof *sg, GFP_KERNEL);
if (!sg)
return NULL;
sg_init_table(sg, nents);
Expand Down

0 comments on commit 378b9cd

Please sign in to comment.