Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375979
b: refs/heads/master
c: 481d304
h: refs/heads/master
i:
  375977: 30c3552
  375975: 6b09eb4
v: v3
  • Loading branch information
Wei Yongjun authored and Felipe Balbi committed May 15, 2013
1 parent 63c8b44 commit fa42509
Show file tree
Hide file tree
Showing 2 changed files with 4 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: c3661951032d002d710c2187c5d9dbc8b4cabfa2
refs/heads/master: 481d30427e5506fc1f5c27bbb94faef9d1ec72a0
4 changes: 3 additions & 1 deletion trunk/drivers/usb/gadget/dummy_hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -2660,8 +2660,10 @@ static int __init init(void)
}
for (i = 0; i < mod_data.num; i++) {
dum[i] = kzalloc(sizeof(struct dummy), GFP_KERNEL);
if (!dum[i])
if (!dum[i]) {
retval = -ENOMEM;
goto err_add_pdata;
}
retval = platform_device_add_data(the_hcd_pdev[i], &dum[i],
sizeof(void *));
if (retval)
Expand Down

0 comments on commit fa42509

Please sign in to comment.