From owner-p4-projects@FreeBSD.ORG Tue Dec 23 05:49:39 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id D39901065674; Tue, 23 Dec 2008 05:49:38 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 961111065670 for ; Tue, 23 Dec 2008 05:49:38 +0000 (UTC) (envelope-from weongyo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 84EF78FC1D for ; Tue, 23 Dec 2008 05:49:38 +0000 (UTC) (envelope-from weongyo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id mBN5ncic016839 for ; Tue, 23 Dec 2008 05:49:38 GMT (envelope-from weongyo@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mBN5nckd016837 for perforce@freebsd.org; Tue, 23 Dec 2008 05:49:38 GMT (envelope-from weongyo@FreeBSD.org) Date: Tue, 23 Dec 2008 05:49:38 GMT Message-Id: <200812230549.mBN5nckd016837@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to weongyo@FreeBSD.org using -f From: Weongyo Jeong To: Perforce Change Reviews Cc: Subject: PERFORCE change 155156 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2008 05:49:39 -0000 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 */