Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82265
b: refs/heads/master
c: dd95b81
h: refs/heads/master
i:
  82263: 3ce6037
v: v3
  • Loading branch information
Pete Zaitcev authored and Greg Kroah-Hartman committed Feb 1, 2008
1 parent 86b933a commit fe4807e
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: 79592b722e7a8476680197d97352d2cc0f1bffd2
refs/heads/master: dd95b814115e45e0bf800f2950b9941c86e68172
4 changes: 2 additions & 2 deletions trunk/drivers/usb/core/devio.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ static ssize_t usbdev_read(struct file *file, char __user *buf, size_t nbytes, l

static struct async *alloc_async(unsigned int numisoframes)
{
unsigned int assize = sizeof(struct async) + numisoframes * sizeof(struct usb_iso_packet_descriptor);
struct async *as = kzalloc(assize, GFP_KERNEL);
struct async *as;

as = kzalloc(sizeof(struct async), GFP_KERNEL);
if (!as)
return NULL;
as->urb = usb_alloc_urb(numisoframes, GFP_KERNEL);
Expand Down

0 comments on commit fe4807e

Please sign in to comment.