From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 3F2541B1B9 for ; Mon, 9 Oct 2017 15:21:31 +0200 (CEST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Oct 2017 06:21:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,500,1500966000"; d="scan'208";a="160558647" Received: from silpixa00399464.ir.intel.com (HELO silpixa00399464.ger.corp.intel.com) ([10.237.222.157]) by fmsmga005.fm.intel.com with ESMTP; 09 Oct 2017 06:21:29 -0700 From: Pablo de Lara To: santosh.shukla@caviumnetworks.com, jerin.jacob@caviumnetworks.com Cc: dev@dpdk.org, Pablo de Lara Date: Mon, 9 Oct 2017 06:21:59 +0100 Message-Id: <20171009052159.19153-1-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 2.9.4 Subject: [dpdk-dev] [PATCH] mempool/octeontx: fix icc build 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: Mon, 09 Oct 2017 13:21:31 -0000 drivers/mempool/octeontx/octeontx_fpavf.c(789): error #592: variable "fpa" is used before its value is set RTE_SET_USED(fpa); Fixes: 1c842786fe6c ("mempool/octeontx: probe fpavf PCIe devices") Signed-off-by: Pablo de Lara --- drivers/mempool/octeontx/octeontx_fpavf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mempool/octeontx/octeontx_fpavf.c b/drivers/mempool/octeontx/octeontx_fpavf.c index c2d0656..eea934f 100644 --- a/drivers/mempool/octeontx/octeontx_fpavf.c +++ b/drivers/mempool/octeontx/octeontx_fpavf.c @@ -783,7 +783,7 @@ fpavf_probe(struct rte_pci_driver *pci_drv, struct rte_pci_device *pci_dev) { uint8_t *idreg; int res; - struct fpavf_res *fpa; + struct fpavf_res *fpa = NULL; RTE_SET_USED(pci_drv); RTE_SET_USED(fpa); -- 2.9.4