Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332898
b: refs/heads/master
c: 6734011
h: refs/heads/master
v: v3
  • Loading branch information
Peter Senna Tschudin authored and David S. Miller committed Oct 7, 2012
1 parent c3b6c26 commit 10560f4
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: 87286477c4688e5324e24916a1b2da4972ea84ba
refs/heads/master: 6734011f3c9a17070f157656f8b15e051e37aee1
4 changes: 3 additions & 1 deletion trunk/drivers/net/irda/mcs7780.c
Original file line number Diff line number Diff line change
Expand Up @@ -920,8 +920,10 @@ static int mcs_probe(struct usb_interface *intf,

ndev->netdev_ops = &mcs_netdev_ops;

if (!intf->cur_altsetting)
if (!intf->cur_altsetting) {
ret = -ENOMEM;
goto error2;
}

ret = mcs_find_endpoints(mcs, intf->cur_altsetting->endpoint,
intf->cur_altsetting->desc.bNumEndpoints);
Expand Down

0 comments on commit 10560f4

Please sign in to comment.