Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210229
b: refs/heads/master
c: 577045c
h: refs/heads/master
i:
  210227: 219b6aa
v: v3
  • Loading branch information
Toby Gray authored and Greg Kroah-Hartman committed Sep 4, 2010
1 parent 00d2470 commit 260ae79
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 5b239f0aebd4dd6f85b13decf5e18e86e35d57f0
refs/heads/master: 577045c0a76e34294f902a7d5d60e90b04d094d0
3 changes: 2 additions & 1 deletion trunk/drivers/usb/class/cdc-acm.c
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,8 @@ static int acm_probe(struct usb_interface *intf,
}

if (!buflen) {
if (intf->cur_altsetting->endpoint->extralen &&
if (intf->cur_altsetting->endpoint &&
intf->cur_altsetting->endpoint->extralen &&
intf->cur_altsetting->endpoint->extra) {
dev_dbg(&intf->dev,
"Seeking extra descriptors on endpoint\n");
Expand Down

0 comments on commit 260ae79

Please sign in to comment.