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 2300DA32A1 for ; Thu, 24 Oct 2019 09:52:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 461DB1D174; Thu, 24 Oct 2019 09:52:21 +0200 (CEST) Received: from relay.smtp.broadcom.com (unknown [192.19.232.149]) by dpdk.org (Postfix) with ESMTP id 8B9421D174 for ; Thu, 24 Oct 2019 09:52:20 +0200 (CEST) Received: from dhcp-10-123-153-55.dhcp.broadcom.net (dhcp-10-123-153-55.dhcp.broadcom.net [10.123.153.55]) by relay.smtp.broadcom.com (Postfix) with ESMTP id E5C4C1B729C; Thu, 24 Oct 2019 00:52:16 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 relay.smtp.broadcom.com E5C4C1B729C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1571903537; bh=ZcAS/dSLUKorexE1BX6oRAFT+UsoUsTCxa/C1BThUN8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=v4OxgWDCLeuOYDqws46FHAaBcM33n6tYAl8h+SxJUo+kcNjz+QWszqbMLzgpRIb6E 1T+l2sHLzdiy6LuKf3NSLOPvrhYqZihycBdOXVNv6Al1WuDJHlg8h+61oJNSpQvnv0 PvH9Kh2PuzU6Xwwa/9CIPJQwQzljL9/OwTYynWCk= From: Somnath Kotur To: dev@dpdk.org Cc: ferruh.yigit@intel.com Date: Thu, 24 Oct 2019 13:14:16 +0530 Message-Id: <20191024074432.30705-2-somnath.kotur@broadcom.com> X-Mailer: git-send-email 2.10.1.613.g2cc2e70 In-Reply-To: <20191024074432.30705-1-somnath.kotur@broadcom.com> References: <20191024074432.30705-1-somnath.kotur@broadcom.com> Subject: [dpdk-dev] [PATCH 01/17] net/bnxt: fix unused value in free filter mem 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: Kalesh AP This patch fixes the coverity UNUSED_VALUE issue. Coverity issue: 349938 Fixes: 49d0709b257f ("net/bnxt: delete and flush L2 filters cleanly") Signed-off-by: Kalesh AP Reviewed-by: Ajit Kumar Khaparde Signed-off-by: Somnath Kotur --- drivers/net/bnxt/bnxt_filter.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/bnxt/bnxt_filter.c b/drivers/net/bnxt/bnxt_filter.c index 8120b39..1c8e3e3 100644 --- a/drivers/net/bnxt/bnxt_filter.c +++ b/drivers/net/bnxt/bnxt_filter.c @@ -120,6 +120,10 @@ void bnxt_free_filter_mem(struct bnxt *bp) filter->filter_type == HWRM_CFA_NTUPLE_FILTER) { /* Call HWRM to try to free filter again */ rc = bnxt_hwrm_clear_ntuple_filter(bp, filter); + if (rc) + PMD_DRV_LOG(ERR, + "Cannot free ntuple filter: %d\n", + rc); } filter->fw_ntuple_filter_id = UINT64_MAX; -- 2.10.1.613.g2cc2e70