Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10818
b: refs/heads/master
c: 61eded6
h: refs/heads/master
v: v3
  • Loading branch information
Oliver Neukum authored and Greg Kroah-Hartman committed Oct 28, 2005
1 parent aab5f6e commit 36fd579
Show file tree
Hide file tree
Showing 2 changed files with 2 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: dcab4eaf77ccd8779c715da3c5db0a82874fa645
refs/heads/master: 61eded6e06a1f4bdbf707b69da904ba9f3eb2f0a
3 changes: 1 addition & 2 deletions trunk/drivers/usb/image/microtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -773,11 +773,10 @@ static int mts_usb_probe(struct usb_interface *intf,
}


new_desc = kmalloc(sizeof(struct mts_desc), GFP_KERNEL);
new_desc = kzalloc(sizeof(struct mts_desc), GFP_KERNEL);
if (!new_desc)
goto out;

memset(new_desc, 0, sizeof(*new_desc));
new_desc->urb = usb_alloc_urb(0, GFP_KERNEL);
if (!new_desc->urb)
goto out_kfree;
Expand Down

0 comments on commit 36fd579

Please sign in to comment.