Date: Sat, 31 Oct 2009 13:11:13 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 169993 for review Message-ID: <200910311311.n9VDBDKv068603@repoman.freebsd.org>
index | next in thread | raw e-mail
http://p4web.freebsd.org/chv.cgi?CH=169993 Change 169993 by hselasky@hselasky_laptop001 on 2009/10/31 13:11:03 USB CORE: - fix issue introduced in last patch - use correct length field in Linux Compat code. Affected files ... .. //depot/projects/usb/src/sys/dev/usb/usb_compat_linux.c#51 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/usb_compat_linux.c#51 (text+ko) ==== @@ -1362,7 +1362,7 @@ for (x = 0; x < urb->number_of_packets; x++) { uipd = urb->iso_frame_desc + x; - if (uipd->actual_length > xfer->frlengths[x]) { + if (uipd->length > xfer->frlengths[x]) { if (urb->transfer_flags & URB_SHORT_NOT_OK) { /* XXX should be EREMOTEIO */ uipd->status = -EPIPE;help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910311311.n9VDBDKv068603>
