From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id E88902B88 for ; Thu, 26 May 2016 09:59:30 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 26 May 2016 00:59:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,367,1459839600"; d="scan'208";a="989068886" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.162]) by fmsmga002.fm.intel.com with ESMTP; 26 May 2016 00:59:28 -0700 Date: Thu, 26 May 2016 16:01:19 +0800 From: Yuanhan Liu To: Rich Lane Cc: dev@dpdk.org, "huawei.xie" , Traynor Kevin , marcandre.lureau@redhat.com Message-ID: <20160526080119.GW5641@yliu-dev.sh.intel.com> References: <1462603224-29510-1-git-send-email-yuanhan.liu@linux.intel.com> <1463120192-24200-1-git-send-email-yuanhan.liu@linux.intel.com> <1463120192-24200-7-git-send-email-yuanhan.liu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH v2 6/6] vhost: add pmd client and reconnect option X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2016 07:59:31 -0000 On Wed, May 25, 2016 at 10:45:10AM -0700, Rich Lane wrote: > @@ -817,6 +821,9 @@ rte_pmd_vhost_devinit(const char *name, const char > *params) >         int ret = 0; >         char *iface_name; >         uint16_t queues; > +       uint64_t flags = 0; > +       int client_mode; > +       int reconnect; > > > client_mode and reconnect are not initialized if the arguments aren't passed. Right. Thanks for catching it. I'm wondering why GCC doesn't catch it. --yliu