From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yongseok Koh Subject: Re: [PATCH v3 3/4] net/mlx5: solve var may be used uninitialized Date: Tue, 15 May 2018 17:25:50 +0000 Message-ID: <07C5A3AD-755C-41DF-B017-36D59C2AF388@mellanox.com> References: <152627420173.53058.13179290989817984940.stgit@localhost.localdomain> <152627427866.53058.3148404478984097246.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" To: Andy Green Return-path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50049.outbound.protection.outlook.com [40.107.5.49]) by dpdk.org (Postfix) with ESMTP id 312971B7B8 for ; Tue, 15 May 2018 19:25:51 +0200 (CEST) In-Reply-To: <152627427866.53058.3148404478984097246.stgit@localhost.localdomain> Content-Language: en-US Content-ID: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > On May 13, 2018, at 10:04 PM, Andy Green wrote: >=20 > Signed-off-by: Andy Green > Fixes: ccdcba53a3f4 ("net/mlx5: use Netlink to add/remove MAC addresses") > Acked-by: Pablo de Lara > --- Acked-by: Yongseok Koh =20 Thanks > drivers/net/mlx5/mlx5.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c > index 8f983061a..4d379fb13 100644 > --- a/drivers/net/mlx5/mlx5.c > +++ b/drivers/net/mlx5/mlx5.c > @@ -624,7 +624,7 @@ mlx5_pci_probe(struct rte_pci_driver *pci_drv __rte_u= nused, > int err =3D 0; > struct ibv_context *attr_ctx =3D NULL; > struct ibv_device_attr_ex device_attr; > - unsigned int vf; > + unsigned int vf =3D 0; > unsigned int mps; > unsigned int cqe_comp; > unsigned int tunnel_en =3D 0;