From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1F21E42CDA; Fri, 16 Jun 2023 14:39:56 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E71B040DDB; Fri, 16 Jun 2023 14:39:55 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2041.outbound.protection.outlook.com [40.107.93.41]) by mails.dpdk.org (Postfix) with ESMTP id 00A4C40A7A for ; Fri, 16 Jun 2023 14:39:54 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iCC4ye5iHd09PPWZAhTccIAAAtShnA5bj7RcDjeQwXDlwzfH3fwqZb1NoMxjNuISPYoOpJiWkGecBYDA7bOrQOoZRsvbgMUBvkvRkpsGeG20Z98lkrb1WSCdNWPbpuoVLZIypVzSF6oSZ4PuJrboZrFuoDLiy5rl6mfYv4LnqIPWaMOHqn+5e8QLVU0tocDeDSaHqCmlHbWxGXxI5oAChf+aBRywcXdeg7AKJOOC20q4ri09Ak93dYFGhLI1beIWXVdOX6zDKNMvDVD0Iee9a1M6H9Qfk6Wnbpb2P5s/UKbiqSLKYcAb7FQiL11Dhloeo4+fjaJGC7yo1nP/LobjIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Th03+lhh5Q4Sqm3eDytwH4OY+Ck1r97yqLcgqJEwDBk=; b=jgJPUgYVIQG5+Vr8wtGBjPL8IzX9wsoT+gH18KPwOgfj0CIgPioOWYQDe9BXc/21PdYHX/b65J9ywgE3MFS7vOlV8oJ7Oi3mMXK5amG5JmByf21pAdtaLiSPny3AgUNUbgyafl0y6tI6hZlgkq92SinRpPXF27w50n3zH3YB9WDF4/GLF9AjZgFGLOQJKsCAA4XGydRi+L61IPlVWlMmd1S/yatPKeknlS8k1vGO5pARNy/bNUmUyS87/nD6dxJ0k6RubBSz+Zfe0ovVRo1xTY7cLwY97du+kr+6SkLMBmj2btzBqHktVqY7g7LDIy7dF3hsmCOiRp0jIH1JQE4JKg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=dpdk.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Th03+lhh5Q4Sqm3eDytwH4OY+Ck1r97yqLcgqJEwDBk=; b=wDZ0HKx33JVl4L68a5YIRZjjgNiZzIZEH2Tw8C+XX3zZP2wrcptkXFh6t/9di8csSYHv5FUTSrmWSUVvNO26hXa475Jl5R7SdbfOSJUixwLsQEcWTljZVU668quDwpTwnSPkHUZRKTdA1mPqRHfOtdy4RzYLRtCrUm/yB0p2v8w= Received: from BN9PR03CA0411.namprd03.prod.outlook.com (2603:10b6:408:111::26) by PH7PR12MB6667.namprd12.prod.outlook.com (2603:10b6:510:1a9::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.25; Fri, 16 Jun 2023 12:39:52 +0000 Received: from BN8NAM11FT079.eop-nam11.prod.protection.outlook.com (2603:10b6:408:111:cafe::31) by BN9PR03CA0411.outlook.office365.com (2603:10b6:408:111::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.29 via Frontend Transport; Fri, 16 Jun 2023 12:39:52 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by BN8NAM11FT079.mail.protection.outlook.com (10.13.177.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6500.29 via Frontend Transport; Fri, 16 Jun 2023 12:39:52 +0000 Received: from SATLEXMB07.amd.com (10.181.41.45) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Fri, 16 Jun 2023 07:39:51 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB07.amd.com (10.181.41.45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.6; Fri, 16 Jun 2023 05:39:51 -0700 Received: from xhdipdslab59.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.23 via Frontend Transport; Fri, 16 Jun 2023 07:39:49 -0500 From: Abhijit Gangurde To: , CC: , , , Abhijit Gangurde Subject: [PATCH v2 0/3] bus/cdx: fix coverity issue Date: Fri, 16 Jun 2023 18:09:07 +0530 Message-ID: <20230616123910.1110724-1-abhijit.gangurde@amd.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT079:EE_|PH7PR12MB6667:EE_ X-MS-Office365-Filtering-Correlation-Id: bace0e7a-3f1d-4282-c287-08db6e66c801 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZYRXkpMIoN0nl1RuvZMQrQ4/Yq1UBKFp1Dv3CDs0lmS3neXtIpE7s0E8nvd5d1nmvoTdknPzwFVlkQObzh27fz2zmi2JwVn5Ag039veTd58wuCKDf7g4FtPpZCxXDjK9Ay9FSRNpbPRlZjXW/YH13g+ulqo1yKD1501riiT11v1HF6r+Fns1NCaGVO4gnlfdDw1kDVRT4jKZfb1aU75ySK/TP91cajYq47fxqpbNEHkAtXzy7yLvll/fJCfy36/uHbvDCkxnMifkCTGyI+4mtZUayQRHW2COI+hSsgXxOVSmjLJB22QgVAscBGuB19Kq+QDCvxY+NWp9RiEPgt9WlaFfG/OOOHV+0pw1ETnvOyL9KEmKeQGzqGQloocP1nhQeYcP5yqwVJilNgs1M2aqRQ+HBJY0O6htEWcUWY6LJI3Z9uOEuAAUOJ8nZjDkuYRrNvc8Xx+32k0hUF/3NSJqUy5P0Mo/7yvNroQGs9XBu0A6rX/k2UJs6jj27o4f3mFY7ibjgAM8sZkM4efVaVbMDqgVAe+jVCCD4uOLRXLD1HVRLU9oqXbr5s84pZKMi5xteNN8FEFXM52z9YBSyKN+2UCJKCpfaGHhxV4BszTIl/yhY0vRcfx26lCNB+/ksHRteMx/J0+1raX9xVgJvcCpN9lDUPmpfTkk7fdZFaMGS2j3oMfHSiMFRw2hCfQdZTpon2iYLPpIK2BfJPc7Z0uJGV2MkH8oIFTxNovlGFWWIBYpRThkN2s1hQGPG/p/Tn7Az0pDUXWFxnuz38MjYa3pbA== X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB03.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230028)(4636009)(376002)(396003)(346002)(39860400002)(136003)(451199021)(36840700001)(40470700004)(46966006)(478600001)(81166007)(356005)(6666004)(82740400003)(82310400005)(40480700001)(26005)(83380400001)(336012)(426003)(47076005)(2616005)(36860700001)(36756003)(1076003)(186003)(40460700003)(70586007)(70206006)(4326008)(6636002)(316002)(44832011)(4744005)(5660300002)(8676002)(8936002)(2906002)(41300700001)(86362001)(110136005)(54906003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2023 12:39:52.3866 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bace0e7a-3f1d-4282-c287-08db6e66c801 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT079.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB6667 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This series fixes coverity issues 385379, 385381, 385377 v2: - Merged coverity fix patches into series - Updated commit message Abhijit Gangurde (3): bus/cdx: remove ineffective code statement bus/cdx: move debug print before unmapping resource bus/cdx: fix resource leak drivers/bus/cdx/cdx.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) -- 2.25.1