From owner-svn-src-all@FreeBSD.ORG Mon Jun 30 23:34:37 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 751F77AF; Mon, 30 Jun 2014 23:34:37 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 622F92257; Mon, 30 Jun 2014 23:34:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5UNYbkg092920; Mon, 30 Jun 2014 23:34:37 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5UNYb5N092914; Mon, 30 Jun 2014 23:34:37 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201406302334.s5UNYb5N092914@svn.freebsd.org> From: Adrian Chadd Date: Mon, 30 Jun 2014 23:34:37 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r268067 - in head/sys/dev: e1000 ixgbe X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2014 23:34:37 -0000 Author: adrian Date: Mon Jun 30 23:34:36 2014 New Revision: 268067 URL: http://svnweb.freebsd.org/changeset/base/268067 Log: Initialise these variables so gcc doesn't complain. Submitted by: luigi Modified: head/sys/dev/e1000/if_igb.c head/sys/dev/ixgbe/ixgbe.c Modified: head/sys/dev/e1000/if_igb.c ============================================================================== --- head/sys/dev/e1000/if_igb.c Mon Jun 30 20:54:25 2014 (r268066) +++ head/sys/dev/e1000/if_igb.c Mon Jun 30 23:34:36 2014 (r268067) @@ -2458,7 +2458,7 @@ igb_allocate_msix(struct adapter *adapte device_t dev = adapter->dev; struct igb_queue *que = adapter->queues; int error, rid, vector = 0; - int cpu_id; + int cpu_id = 0; /* Be sure to start with all interrupts disabled */ E1000_WRITE_REG(&adapter->hw, E1000_IMC, ~0); Modified: head/sys/dev/ixgbe/ixgbe.c ============================================================================== --- head/sys/dev/ixgbe/ixgbe.c Mon Jun 30 20:54:25 2014 (r268066) +++ head/sys/dev/ixgbe/ixgbe.c Mon Jun 30 23:34:36 2014 (r268067) @@ -2364,7 +2364,7 @@ ixgbe_allocate_msix(struct adapter *adap struct ix_queue *que = adapter->queues; struct tx_ring *txr = adapter->tx_rings; int error, rid, vector = 0; - int cpu_id; + int cpu_id = 0; #ifdef RSS /*