Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185389
b: refs/heads/master
c: d7e18a9
h: refs/heads/master
i:
  185387: e897810
v: v3
  • Loading branch information
Michal Nazarewicz authored and Greg Kroah-Hartman committed Mar 2, 2010
1 parent a56dea8 commit 534ed68
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: 08e6c972da616d057b63fd3f89ce0eb539952f06
refs/heads/master: d7e18a9f2c506467ec7a9c066da45a0f60c6f5a6
2 changes: 1 addition & 1 deletion trunk/drivers/usb/gadget/f_mass_storage.c
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ static int fsg_setup(struct usb_function *f,
*(u8 *) req->buf = fsg->common->nluns - 1;

/* Respond with data/status */
req->length = min(1, w_length);
req->length = min((u16)1, w_length);
fsg->common->ep0req_name =
ctrl->bRequestType & USB_DIR_IN ? "ep0-in" : "ep0-out";
return ep0_queue(fsg->common);
Expand Down

0 comments on commit 534ed68

Please sign in to comment.