Date: Sun, 25 Nov 2007 13:56:35 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 129505 for review Message-ID: <200711251356.lAPDuZFE099054@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=129505 Change 129505 by hselasky@hselasky_laptop001 on 2007/11/25 13:56:06 Add extra error check. Affected files ... .. //depot/projects/usb/src/sys/dev/usb/usb_transfer.c#54 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/usb_transfer.c#54 (text+ko) ==== @@ -812,6 +812,9 @@ if (xfer->flags.bdma_enable && xfer->flags_int.bdma_enable) { + if (parm.err) { + goto done; + } usbd_dma_load_setup(&parm); } if (parm.err) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711251356.lAPDuZFE099054>