From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] net/virtio-user: Fix missing brackets in if condition Date: Fri, 15 Jul 2016 22:18:48 +0200 Message-ID: <1563829.pzlCzMBiVk@xps13> References: <1468315825-24089-1-git-send-email-maxime.coquelin@redhat.com> <20160712121114.GF26521@yliu-dev.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, Yuanhan Liu , huawei.xie@intel.com, Jianfeng Tan To: Maxime Coquelin Return-path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 571D73237 for ; Fri, 15 Jul 2016 22:18:50 +0200 (CEST) Received: by mail-wm0-f50.google.com with SMTP id f126so38427393wma.1 for ; Fri, 15 Jul 2016 13:18:50 -0700 (PDT) In-Reply-To: <20160712121114.GF26521@yliu-dev.sh.intel.com> 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" 2016-07-12 20:11, Yuanhan Liu: > On Tue, Jul 12, 2016 at 11:30:25AM +0200, Maxime Coquelin wrote: > > The error is reported using test build script: > >=20 > > $ scripts/test-build.sh x86_64-native-linuxapp-gcc > > ... > > drivers/net/virtio/virtio_user_ethdev.c: In function =E2=80=98virti= o_user_pmd_devinit=E2=80=99: > > drivers/net/virtio/virtio_user_ethdev.c:345:2: error: this =E2=80=98= if=E2=80=99 clause does not guard... [-Werror=3Dmisleading-indentation]= > > if (rte_kvargs_count(kvlist, VIRTIO_USER_ARG_PATH) =3D=3D 1) > > ^~ > >=20 > > Fixes: 404bd6bfe360 ("net/virtio-user: fix return value not checked= ") > >=20 > > Cc: Jianfeng Tan > > Signed-off-by: Maxime Coquelin >=20 > Acked-by: Yuanhan Liu >=20 > Thanks for the fix. Applied, thanks