Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22025
b: refs/heads/master
c: d8e298d
h: refs/heads/master
i:
  22023: 1c84ec5
v: v3
  • Loading branch information
Oliver Neukum authored and Greg Kroah-Hartman committed Mar 20, 2006
1 parent 750461f commit 927d9d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: bbdb7dafb5b5a3c0197cbabd5055d8e9c093e3ea
refs/heads/master: d8e298dc9feed17f397be4bb2cd8c1dd47248c74
5 changes: 2 additions & 3 deletions trunk/drivers/usb/media/dabusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,11 @@ static int dabusb_alloc_buffers (pdabusb_t s)
pipesize, packets, transfer_buffer_length);

while (buffers < (s->total_buffer_size << 10)) {
b = (pbuff_t) kmalloc (sizeof (buff_t), GFP_KERNEL);
b = (pbuff_t) kzalloc (sizeof (buff_t), GFP_KERNEL);
if (!b) {
err("kmalloc(sizeof(buff_t))==NULL");
err("kzalloc(sizeof(buff_t))==NULL");
goto err;
}
memset (b, 0, sizeof (buff_t));
b->s = s;
b->purb = usb_alloc_urb(packets, GFP_KERNEL);
if (!b->purb) {
Expand Down

0 comments on commit 927d9d8

Please sign in to comment.