Date: Tue, 23 Dec 2008 05:49:38 GMT From: Weongyo Jeong <weongyo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 155156 for review Message-ID: <200812230549.mBN5nckd016837@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=155156 Change 155156 by weongyo@weongyo_ws on 2008/12/23 05:48:43 style(9) Affected files ... .. //depot/projects/ndisusb/sys/compat/ndis/subr_usbd.c#35 edit Differences ... ==== //depot/projects/ndisusb/sys/compat/ndis/subr_usbd.c#35 (text+ko) ==== @@ -234,16 +234,16 @@ device_t dev = dobj->do_devext; struct io_stack_location *irp_sl; - irp_sl = IoGetCurrentIrpStackLocation(ip); - device_printf(dev, "invalid I/O dispatch %d:%d\n", irp_sl->isl_major, + irp_sl = IoGetCurrentIrpStackLocation(ip); + device_printf(dev, "invalid I/O dispatch %d:%d\n", irp_sl->isl_major, irp_sl->isl_minor); - ip->irp_iostat.isb_status = STATUS_FAILURE; - ip->irp_iostat.isb_info = 0; + ip->irp_iostat.isb_status = STATUS_FAILURE; + ip->irp_iostat.isb_info = 0; - IoCompleteRequest(ip, IO_NO_INCREMENT); + IoCompleteRequest(ip, IO_NO_INCREMENT); - return (STATUS_FAILURE); + return (STATUS_FAILURE); } static int32_t @@ -254,16 +254,16 @@ device_t dev = dobj->do_devext; struct io_stack_location *irp_sl; - irp_sl = IoGetCurrentIrpStackLocation(ip); - device_printf(dev, "%s: unsupported I/O dispatch %d:%d\n", + irp_sl = IoGetCurrentIrpStackLocation(ip); + device_printf(dev, "%s: unsupported I/O dispatch %d:%d\n", __func__, irp_sl->isl_major, irp_sl->isl_minor); - ip->irp_iostat.isb_status = STATUS_FAILURE; - ip->irp_iostat.isb_info = 0; + ip->irp_iostat.isb_status = STATUS_FAILURE; + ip->irp_iostat.isb_info = 0; - IoCompleteRequest(ip, IO_NO_INCREMENT); + IoCompleteRequest(ip, IO_NO_INCREMENT); - return (STATUS_FAILURE); + return (STATUS_FAILURE); } static int32_t @@ -274,16 +274,16 @@ device_t dev = dobj->do_devext; struct io_stack_location *irp_sl; - irp_sl = IoGetCurrentIrpStackLocation(ip); - device_printf(dev, "%s: unsupported I/O dispatch %d:%d\n", + irp_sl = IoGetCurrentIrpStackLocation(ip); + device_printf(dev, "%s: unsupported I/O dispatch %d:%d\n", __func__, irp_sl->isl_major, irp_sl->isl_minor); - ip->irp_iostat.isb_status = STATUS_FAILURE; - ip->irp_iostat.isb_info = 0; + ip->irp_iostat.isb_status = STATUS_FAILURE; + ip->irp_iostat.isb_info = 0; - IoCompleteRequest(ip, IO_NO_INCREMENT); + IoCompleteRequest(ip, IO_NO_INCREMENT); - return (STATUS_FAILURE); + return (STATUS_FAILURE); } /* Convert USBD_STATUS to NTSTATUS */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812230549.mBN5nckd016837>