From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A9011A053B; Fri, 17 Jul 2020 16:16:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7F3AA1BFC3; Fri, 17 Jul 2020 16:16:36 +0200 (CEST) Received: from relay.smtp.broadcom.com (relay.smtp.broadcom.com [192.19.232.149]) by dpdk.org (Postfix) with ESMTP id F169A1BF84 for ; Fri, 17 Jul 2020 16:16:33 +0200 (CEST) Received: from dhcp-10-123-153-55.dhcp.broadcom.net (bgccx-dev-host-lnx35.bec.broadcom.net [10.123.153.55]) by relay.smtp.broadcom.com (Postfix) with ESMTP id 2AF7C1BCD21; Fri, 17 Jul 2020 07:16:31 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 relay.smtp.broadcom.com 2AF7C1BCD21 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1594995393; bh=y9c3EnM5AOnZIszaRjxmd/T6owFDuPIg0SmhhT7+Mak=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PY+4XhO+7YHzk3SRty2Jg8CRDx5ju2L7l8R9QKmgcmJ7uKngT95M7p4ugR5+9Xtj4 KjM875g1KYPy9SI09SOIuQCF+ufiPx5LnLmFgZKMgV41cCLVpGCx1Z38UiNquy21XJ mGJed8VmnP28MJYz8kzDrVI2pNWlLuthDXUc5kD4= From: Somnath Kotur To: dev@dpdk.org Cc: ferruh.yigit@intel.com Date: Fri, 17 Jul 2020 19:41:01 +0530 Message-Id: <20200717141113.11613-3-somnath.kotur@broadcom.com> X-Mailer: git-send-email 2.10.1.613.g2cc2e70 In-Reply-To: <20200717141113.11613-1-somnath.kotur@broadcom.com> References: <20200717141113.11613-1-somnath.kotur@broadcom.com> Subject: [dpdk-dev] [PATCH 02/14] net/bnxt: initialize table scope rm parameters 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Farah Smith Clear out rm_is_allocated parms before calling as base_index was added and is not used in this instance. Signed-off-by: Farah Smith Reviewed-by: Kishore Padmanabha Signed-off-by: Somnath Kotur --- drivers/net/bnxt/tf_core/tf_em_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnxt/tf_core/tf_em_common.c b/drivers/net/bnxt/tf_core/tf_em_common.c index 10c3f16..0037fce 100644 --- a/drivers/net/bnxt/tf_core/tf_em_common.c +++ b/drivers/net/bnxt/tf_core/tf_em_common.c @@ -71,7 +71,7 @@ struct tf_tbl_scope_cb * tbl_scope_cb_find(uint32_t tbl_scope_id) { int i; - struct tf_rm_is_allocated_parms parms; + struct tf_rm_is_allocated_parms parms = { 0 }; int allocated; uint32_t rm_tbl_scope_id; -- 2.7.4