From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH v2 6/6] vhost: add pmd client and reconnect option Date: Thu, 26 May 2016 16:01:19 +0800 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-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, "huawei.xie" , Traynor Kevin , marcandre.lureau@redhat.com To: Rich Lane 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) Content-Disposition: inline In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 c= har > *params) > =A0 =A0 =A0 =A0 int ret =3D 0; > =A0 =A0 =A0 =A0 char *iface_name; > =A0 =A0 =A0 =A0 uint16_t queues; > +=A0 =A0 =A0 =A0uint64_t flags =3D 0; > +=A0 =A0 =A0 =A0int client_mode; > +=A0 =A0 =A0 =A0int reconnect; >=20 >=20 > client_mode and reconnect are not initialized if the arguments aren't p= assed. Right. Thanks for catching it. I'm wondering why GCC doesn't catch it. --yliu