From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id 676411B7B3 for ; Tue, 17 Oct 2017 09:57:02 +0200 (CEST) Received: by mail-wm0-f51.google.com with SMTP id m72so1985124wmc.1 for ; Tue, 17 Oct 2017 00:57:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=oqTJmsF95AG0SdRxaQs3BTLQU4/Pz4qipKGNSBFV9d0=; b=lHQd8iiJP7kYGCj+jTKBaIqdziHt6cN0xGnaF3m3cGfKHfNXyStcJrAlqucAR3UfZB HbmxynrtrQKzlVzWvBV+PTp0TollHixXGPJkyVdHlc0ZvZyRqcLE3zsy3mgjLBVWzyZV 6CIqXPBARXYbAi3ozKi7DGeZdto282fG2wxtSMJp2nCKIdKBDoQrIMZKQwRcglRXS4mj ObFoounLgfQmURcjPNKWLTrBngo+l4kokB5v1qr16HX3BcnZ66tY9Q0zChRuZWRdKKrL GU3vJH/35WsycGo92Z9AT1kAd/PoC7Y8goIR3uxIOnKTCMoXDkO6+jSHdfqiWbHEXFr1 T3Ew== 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:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=oqTJmsF95AG0SdRxaQs3BTLQU4/Pz4qipKGNSBFV9d0=; b=cSaNFaH002xOv9R3dr1npCY8QhglnBSyLf0iZSkp0AlgpRhi/7QTqd5qZkjTH+6fju WvTvnl7n2lCZOE97Ji5fyTTwJDupAwJTxVo011tE5J6BATEc/oh3n2Je/lmsojoDbQ6R CTHQNGA0eb3I8N4E2bH3d9abVgDokHzuwVaRV9/5IQNVIhQpqc1JyZz94KZH0JrpPRI7 uGGAA3CcXYKF/LemfEvCWc4EqpXMB8Y++w6WtFOaVjRrNh0+6u5NsoygrvgwCLm9/wzh HKCo6Jllkp/cz9Eq7ZCO5qN71BtwbsG5OOJMgnD2MhBPUEgExp5/l0gfvJH0d/ueQV+f xtEg== X-Gm-Message-State: AMCzsaXykfTa1rRtOH5a8aWXAAWEd7tzp1gy6BhuIOuu8fNH3fE191Je NJbkjeh+1gigbBVS+9PTHwUy X-Google-Smtp-Source: AOwi7QCdctVFaCcx2H5pedLG5QLsDBsBd7OXtGrkFvBMDchxe7305vwKsPOQCloayb+Pvq0v8lYZtA== X-Received: by 10.80.164.1 with SMTP id u1mr15567138edb.11.1508227022145; Tue, 17 Oct 2017 00:57:02 -0700 (PDT) Received: from laranjeiro-vm (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id 33sm6911226edt.4.2017.10.17.00.57.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Oct 2017 00:57:01 -0700 (PDT) Date: Tue, 17 Oct 2017 09:56:57 +0200 From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro To: Xueming Li Cc: FerruhYigitferruh.yigit@intel.com, dev@dpdk.org Message-ID: <20171017075657.ecqlggod2htw4kwy@laranjeiro-vm> References: <20171017024643.1011-1-xuemingl@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171017024643.1011-1-xuemingl@mellanox.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix ICC compiler warning 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: Tue, 17 Oct 2017 07:57:02 -0000 On Tue, Oct 17, 2017 at 10:46:43AM +0800, Xueming Li wrote: > Initialize variable to avoid ICC compiler warning: > http://www.dpdk.org/ml/archives/dev/2017-October/077971.html > > Fixes: f8b9a3bad467 ("net/mlx5: install a socket to exchange a file...") > > Signed-off-by: Xueming Li > --- > drivers/net/mlx5/mlx5_txq.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/mlx5/mlx5_txq.c b/drivers/net/mlx5/mlx5_txq.c > index 9deaa7e..93f1388 100644 > --- a/drivers/net/mlx5/mlx5_txq.c > +++ b/drivers/net/mlx5/mlx5_txq.c > @@ -246,6 +246,7 @@ > int already_mapped; > size_t page_size = sysconf(_SC_PAGESIZE); > > + memset(pages, 0, priv->txqs_n * sizeof(uintptr_t)); > /* > * As rdma-core, UARs are mapped in size of OS page size. > * Use aligned address to avoid duplicate mmap. > -- > 1.8.3.1 Acked-by: Nelio Laranjeiro -- Nélio Laranjeiro 6WIND