Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88107
b: refs/heads/master
c: 4756feb
h: refs/heads/master
i:
  88105: 104850a
  88103: 6d339b3
v: v3
  • Loading branch information
Alan Stern authored and Greg Kroah-Hartman committed Apr 2, 2008
1 parent 13d0a7d commit 0942226
Show file tree
Hide file tree
Showing 2 changed files with 3 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: d04863e9e65767feff7807c8f693ac2719dd1944
refs/heads/master: 4756febb10d96104e08661031ba835771075419c
3 changes: 2 additions & 1 deletion trunk/drivers/usb/misc/usbtest.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ alloc_sglist (int nents, int max, int vary)
sg = kmalloc (nents * sizeof *sg, GFP_KERNEL);
if (!sg)
return NULL;
sg_init_table(sg, nents);

for (i = 0; i < nents; i++) {
char *buf;
Expand All @@ -390,7 +391,7 @@ alloc_sglist (int nents, int max, int vary)
}

/* kmalloc pages are always physically contiguous! */
sg_init_one(&sg[i], buf, size);
sg_set_buf(&sg[i], buf, size);

switch (pattern) {
case 0:
Expand Down

0 comments on commit 0942226

Please sign in to comment.