Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303845
b: refs/heads/master
c: 7ed6d22
h: refs/heads/master
i:
  303843: 52f9b80
v: v3
  • Loading branch information
Felipe Balbi committed May 2, 2012
1 parent 9540fba commit 042b46b
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: 865e09e71622f92a46b47019500632bf5bc010a8
refs/heads/master: 7ed6d227c3d29e156f7affbad4d4679d1e409ef2
3 changes: 1 addition & 2 deletions trunk/drivers/usb/dwc3/gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -2308,8 +2308,7 @@ int __devinit dwc3_gadget_init(struct dwc3 *dwc)
goto err1;
}

dwc->setup_buf = kzalloc(sizeof(*dwc->setup_buf) * 2,
GFP_KERNEL);
dwc->setup_buf = kzalloc(512, GFP_KERNEL);
if (!dwc->setup_buf) {
dev_err(dwc->dev, "failed to allocate setup buffer\n");
ret = -ENOMEM;
Expand Down

0 comments on commit 042b46b

Please sign in to comment.