Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164991
b: refs/heads/master
c: 417b57b
h: refs/heads/master
i:
  164989: a83ca99
  164987: 7c56071
  164983: 43e0c71
  164975: 9458d49
  164959: f723d69
  164927: 57aef05
  164863: 2e05ccb
v: v3
  • Loading branch information
Roel Kluin authored and Greg Kroah-Hartman committed Sep 23, 2009
1 parent 8aed2b7 commit 63c4775
Show file tree
Hide file tree
Showing 2 changed files with 2 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: d0defb855c8504c49b92bdc0203689ce9b4cf7ba
refs/heads/master: 417b57b3e4e34df07a2aceaf75baffeacdd9385f
2 changes: 1 addition & 1 deletion trunk/drivers/usb/gadget/composite.c
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ static int get_string(struct usb_composite_dev *cdev,
}
}

for (len = 0; s->wData[len] && len <= 126; len++)
for (len = 0; len <= 126 && s->wData[len]; len++)
continue;
if (!len)
return -EINVAL;
Expand Down

0 comments on commit 63c4775

Please sign in to comment.