From owner-p4-projects@FreeBSD.ORG Fri Oct 12 23:17:25 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 4B04616A47A; Fri, 12 Oct 2007 23:17:25 +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 0598F16A417 for ; Fri, 12 Oct 2007 23:17:25 +0000 (UTC) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 00C3513C468 for ; Fri, 12 Oct 2007 23:17:24 +0000 (UTC) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9CNHO8r018111 for ; Fri, 12 Oct 2007 23:17:24 GMT (envelope-from kmacy@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9CNHOPC018108 for perforce@freebsd.org; Fri, 12 Oct 2007 23:17:24 GMT (envelope-from kmacy@freebsd.org) Date: Fri, 12 Oct 2007 23:17:24 GMT Message-Id: <200710122317.l9CNHOPC018108@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to kmacy@freebsd.org using -f From: Kip Macy To: Perforce Change Reviews Cc: Subject: PERFORCE change 127456 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: Fri, 12 Oct 2007 23:17:25 -0000 http://perforce.freebsd.org/chv.cgi?CH=127456 Change 127456 by kmacy@kmacy_home:ethng on 2007/10/12 23:16:45 fix compile error in non-multiqueue case Affected files ... .. //depot/projects/ethng/src/sys/dev/cxgb/cxgb_main.c#24 edit Differences ... ==== //depot/projects/ethng/src/sys/dev/cxgb/cxgb_main.c#24 (text+ko) ==== @@ -1880,7 +1880,7 @@ cxgb_tx_common(struct ifnet *ifp, struct sge_qset *qs, uint32_t txmax) { struct sge_txq *txq; - int err, in_use_init, count, i; + int err, in_use_init, count; struct mbuf **m_vec; txq = &qs->txq[TXQ_ETH]; @@ -1922,6 +1922,7 @@ setbit(&qs->txq_stopped, TXQ_ETH); } if (err == ENOMEM) { + int i; /* * Sub-optimal :-/ */