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 B8DC6A0527; Sat, 18 Jul 2020 09:25:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0DE7A1BFB7; Sat, 18 Jul 2020 09:25:34 +0200 (CEST) Received: from mail-wr1-f100.google.com (mail-wr1-f100.google.com [209.85.221.100]) by dpdk.org (Postfix) with ESMTP id A47DD1BFAC for ; Sat, 18 Jul 2020 09:25:31 +0200 (CEST) Received: by mail-wr1-f100.google.com with SMTP id z2so13316156wrp.2 for ; Sat, 18 Jul 2020 00:25:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/Elru79UqnZbxTdebOosg8lCdKCWptdNVTbxtFDd2LE=; b=PUTM99afIJNXLf8y9ZqNZnKvCGsmxKsG5DLPI0B7iZ2oDndboi7eWo7TSIhAbWlhjf km3j9sCt5Ifh9m1FewSWC/aT1E/HwI6g5KRDpyl0RILONrYWxw4pI0U3p2Hi+QPZ6sUu AZ7SwiRLQJ16dFoARFUr5fK1xIIbg68aQXFwA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/Elru79UqnZbxTdebOosg8lCdKCWptdNVTbxtFDd2LE=; b=JK6T3Y7RNMQg8AdpPOCHdo/uTobX9GTRKriQ2eHKUC52OVs8xgP8K1iRnwgKPvpBya 5mBw/AjYphz7YgkivHKOxyol6u0i0nLslKnP14AcDhiHCUlNJLld5dmugtrESn2Q1Ekj ffbhww1wMO7m3C0KBXrxq99MW/rMJCwFYgqf+o5FODt+2924o++j/VVbdlIXY3AQsJxn /nT+LdqHOFLW8ekkVco3k5SWGVJs2CdiaBsEbu43FST90yVh9BditLd83DpNEyTGxN8W GxNkPdzzwkm37zAf9FfBEsbi13x9c8RJbpsElAzSYE16EpW4PWFFu/5uO8gbyzfHMzpz ZAeQ== X-Gm-Message-State: AOAM531+M2GdOa2+/EvNdcXOj0cxmoXr11Y8GL7Gbzg5PcN/9SBRg7Qf H86miJQlYq4FY2bPH4xdHkZh97rLqHcScZPdt79GXsmUgHQlwnJTAdPJ6HF3I//Bv+2KdB73FbZ Yvah3+q5ZzjFh2QDa1iLbqOxVsggHBsSm7kobNMAKUcvdp6z0p6wojW7olwz0W9vUyS1pJ3uR/A 9MJg== X-Google-Smtp-Source: ABdhPJxMSIq0vCTyF96EjnaGXHtsy4Hh9RDQtXJBC2EeqoZCbd/sz9FAtV14kiEZUGfhcm88hyo8lKU5ApEI X-Received: by 2002:adf:80c7:: with SMTP id 65mr13975974wrl.246.1595057131098; Sat, 18 Jul 2020 00:25:31 -0700 (PDT) Received: from localhost.localdomain ([192.19.223.252]) by smtp-relay.gmail.com with ESMTPS id g14sm34554wrb.16.2020.07.18.00.25.29 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Jul 2020 00:25:31 -0700 (PDT) X-Relaying-Domain: broadcom.com From: Ajit Khaparde To: dev@dpdk.org Cc: Farah Smith , Somnath Kotur , Kishore Padmanabha Date: Sat, 18 Jul 2020 00:25:03 -0700 Message-Id: <20200718072515.62969-3-ajit.khaparde@broadcom.com> X-Mailer: git-send-email 2.21.1 (Apple Git-122.3) In-Reply-To: <20200718072515.62969-1-ajit.khaparde@broadcom.com> References: <20200717141451.11705-1-somnath.kotur@broadcom.com> <20200718072515.62969-1-ajit.khaparde@broadcom.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 02/14] net/bnxt: initialize table scope parameter 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 Initialize table scope resource manager parameter. Clear out rm_is_allocated parms before calling as base_index was added and used incorrectly in this instance. Signed-off-by: Farah Smith Signed-off-by: Somnath Kotur Reviewed-by: Kishore Padmanabha Reviewed-by: Ajit Khaparde --- 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 10c3f1636..0037fce42 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.21.1 (Apple Git-122.3)