Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 87464
b: refs/heads/master
c: 92c4a1b
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and Jiri Kosina committed Mar 18, 2008
1 parent b068d0c commit 7f7aa41
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: 790c9d8d87f15827a455b191924aee9b397ce2b1
refs/heads/master: 92c4a1b9f257a242866be13c7c61e7a40616ec52
2 changes: 1 addition & 1 deletion trunk/drivers/hid/usbhid/hid-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ static int hid_submit_ctrl(struct hid_device *hid)
usbhid->urbctrl->pipe = usb_rcvctrlpipe(hid_to_usb_dev(hid), 0);
maxpacket = usb_maxpacket(hid_to_usb_dev(hid), usbhid->urbctrl->pipe, 0);
if (maxpacket > 0) {
padlen = (len + maxpacket - 1) / maxpacket;
padlen = DIV_ROUND_UP(len, maxpacket);
padlen *= maxpacket;
if (padlen > usbhid->bufsize)
padlen = usbhid->bufsize;
Expand Down

0 comments on commit 7f7aa41

Please sign in to comment.