PERFORCE change 126753 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Sun Sep 23 10:38:19 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=126753
Change 126753 by hselasky at hselasky_laptop001 on 2007/09/23 17:37:46
- compile fixes
- fix data length type
- fix a variable typo
Affected files ...
.. //depot/projects/usb/src/sys/dev/usb/ucycom.c#15 edit
Differences ...
==== //depot/projects/usb/src/sys/dev/usb/ucycom.c#15 (text+ko) ====
@@ -215,7 +215,7 @@
struct usbd_interface *iface;
void *urd_ptr = NULL;
int32_t error;
- int32_t urd_len;
+ uint16_t urd_len;
if (sc == NULL) {
return ENOMEM;
@@ -443,7 +443,7 @@
usbd_copy_in(xfer->frbuffers + 1, 0, data, offset);
xfer->frlengths[0] = sizeof(req);
- xfer->frlenghts[1] = sc->sc_olen;
+ xfer->frlengths[1] = sc->sc_olen;
usbd_start_hardware(xfer);
}
More information about the p4-projects
mailing list