From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f54.google.com (mail-pg0-f54.google.com [74.125.83.54]) by dpdk.org (Postfix) with ESMTP id 85C227CF8 for ; Thu, 4 May 2017 18:39:26 +0200 (CEST) Received: by mail-pg0-f54.google.com with SMTP id q4so3585611pga.3 for ; Thu, 04 May 2017 09:39:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vVvRvht6wSQ4ciZH3DrAAta4JSqA6kG4Jg54VEU1CdE=; b=Yb/0YclMs/CYB4OPjVw8BKGGbIffnQIe5VUTLYaNFQDHCJIngxr4j3zmINzboNBiPr 1by34RQJHg4AmoM7pPQaaguEQyyCAjWiw9POARgLyzxawzffhZFlnt6GIKJ1csIXLACl SEFZ6lTmVRM4EQE/ySPxOddaqPgYYxKQPVy18PnLx3Jm534Av5o+zUT+MVfEkl4hFrcK WMP3Fc/WKIONNqj7OiOoV5lfuMRbxI4C/GCGN4ocEGCUAKu6OdnPvf6vQwLCrSafo70G 7On2s/yi72lu2+p8Yt3i5RGYM/wCVaPM1TuR3IYrD4qubMSU8qBd7vFmWFM6r/Ah62yr LSiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vVvRvht6wSQ4ciZH3DrAAta4JSqA6kG4Jg54VEU1CdE=; b=fytj7gi8hTq82laUQk7EI5mYUITnUB5yI1fFwTzvIxshDWPR9pvL3OywaeIoqVYLjX JjJXmUAgB6bgQnaSGjT597vn4lzT2z00v0gF65Sa+IFWv3nGNDzAr3ullB4m04hN+LZv C5ntS8HNt7oictGv8pnIG/tuzQ7xjSJzGROZV567IB78ADkNUFXeLfEGGgoX/PgaJvQk bdgameFv25poc/Trkehr7WV6KnULIcQIk0ggMraXLIASjWD/1dZItun3lJQ3w+SNOQAD 15E9FC7GUnDEilTlal04Wdf261VBBxrX9kTfIWtXEOFdg2030/QjCKSwoLTDa5t2DwaM qnjg== X-Gm-Message-State: AN3rC/4Pl+d0L7ACQOXRKTPTS3cMW4W8geDZWiQ7PtBVlYLa0M1fB2ih o+n0dQZ4EfJtwTYG588= X-Received: by 10.99.36.199 with SMTP id k190mr8839723pgk.83.1493915965730; Thu, 04 May 2017 09:39:25 -0700 (PDT) Received: from xeon-e3 (76-14-206-252.or.wavecable.com. [76.14.206.252]) by smtp.gmail.com with ESMTPSA id v85sm4920601pfk.5.2017.05.04.09.39.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 May 2017 09:39:25 -0700 (PDT) Date: Thu, 4 May 2017 09:39:23 -0700 From: Stephen Hemminger To: Bruce Richardson Cc: dev@dpdk.org Message-ID: <20170504093923.6913c113@xeon-e3> In-Reply-To: <20170504153822.19461-6-bruce.richardson@intel.com> References: <20170504153822.19461-1-bruce.richardson@intel.com> <20170504153822.19461-6-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 05/10] net/vmxnet3: fix compile error with gcc 7 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2017 16:39:26 -0000 On Thu, 4 May 2017 16:38:17 +0100 Bruce Richardson wrote: > diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c > index 0e8eb75..1cd72c1 100644 > --- a/drivers/net/vmxnet3/vmxnet3_ethdev.c > +++ b/drivers/net/vmxnet3/vmxnet3_ethdev.c > @@ -935,7 +935,7 @@ vmxnet3_dev_link_update(struct rte_eth_dev *dev, > __rte_unused int wait_to_complete) > { > struct vmxnet3_hw *hw = dev->data->dev_private; > - struct rte_eth_link old, link; > + struct rte_eth_link old = {0}, link; Please add space around the initializer. ie. struct rte_eth_link old = { 0 }, link;