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 1EA2442CC5; Thu, 15 Jun 2023 12:58:31 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C94E40E0F; Thu, 15 Jun 2023 12:58:31 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2054.outbound.protection.outlook.com [40.107.92.54]) by mails.dpdk.org (Postfix) with ESMTP id 18BAC40DDA for ; Thu, 15 Jun 2023 12:58:30 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EjVitySwvMiPpn9I3jhnB/8nUybMmaYPOd3/On29Zta8nfrq+qz+Dc61O5qs3M9icE2W74jBQpP2cqIE6kCZXMw6Fj80rTjAUtjlMyzU74Nzr1r92jk7qP/b1JCOBos7T/2cjmrKH2BX5wl8yFx2o893v/WTFRsMIDVlhpXi06lWOgrDBlFsfVmQPLHxdaPwThK6M5oKuL1lQhZe2/eC0NBtVm7sZnpB8PY+G996kYqWAHYpOF43Dp9gh6SyQuMOYJJoOROL7XfE1cC7kUucaDXAZfDHbW8dH4O0nmReyX2N9upxHZYG3mFhZoYtNZV22ZNny7IQ7zJAnOcEtouh1g== 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=OdQ5HkwzuxupVmqmm+TLKchrAlaivTqPQdeV+ayOW1U=; b=Zxoc62/e36HxITv+R7Kirs6ZSwr57rxUzV+Md8y9QhB2qntsXjCYOF8CRdZR9RCfWaptrY8YdgUSZfZBV5kaGDTEFiCq3u3oMcK5aUrZ2lHMASfItAULNHWPldfo7f3Vqo8c2ik9IOsXvc1S+/Zc5jlKoRRwhSdZmZYPdG5XXQGpmDI2lbmxT803eyBSTMD92dzHm7yfPYh4V3TS9iRH67XxMFQ1RO5hVKRStbuHlVlslNogwkelILq+bX7LcWtYzPwu3M6J4ks53xMp6CS2NZgAJt8lhM2K/LZRfqu9yUxI9laaH4fRT+73Qb1qy3jDQyblPF2wRVT3jh6wK4SgZw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; 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=OdQ5HkwzuxupVmqmm+TLKchrAlaivTqPQdeV+ayOW1U=; b=skuvumK+b2Uz2m+e8YLHJoBE1EFiU/SJj/k/TkBGwyUlnc6UbjWUK+zRnSiz4A2LwrpxsbMUEXOTDf9vbqKbP4Kph76LgMjlk8fZ6mLQSy/I97zSRFGd0KzF7GIq3HrkDqSVNJP3EewxfdIbLDhS7ETNWnnICtjGaKv1G09cZVw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH3PR12MB8308.namprd12.prod.outlook.com (2603:10b6:610:131::8) by CH0PR12MB8507.namprd12.prod.outlook.com (2603:10b6:610:189::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.25; Thu, 15 Jun 2023 10:58:26 +0000 Received: from CH3PR12MB8308.namprd12.prod.outlook.com ([fe80::e452:1914:1054:de79]) by CH3PR12MB8308.namprd12.prod.outlook.com ([fe80::e452:1914:1054:de79%7]) with mapi id 15.20.6477.028; Thu, 15 Jun 2023 10:58:24 +0000 Message-ID: <83a7b70f-d9ac-0420-ed5d-e4926ac08307@amd.com> Date: Thu, 15 Jun 2023 16:28:13 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH] bus/cdx: Move debug print before unmapping resource Content-Language: en-US To: Abhijit Gangurde , nikhil.agarwal@amd.com Cc: dev@dpdk.org, david.marchand@redhat.com, ferruh.yigit@amd.com References: <20230614102314.224579-1-abhijit.gangurde@amd.com> From: Nipun Gupta In-Reply-To: <20230614102314.224579-1-abhijit.gangurde@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PN0PR01CA0049.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:49::6) To CH3PR12MB8308.namprd12.prod.outlook.com (2603:10b6:610:131::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PR12MB8308:EE_|CH0PR12MB8507:EE_ X-MS-Office365-Filtering-Correlation-Id: f2457cfc-1b0e-4f14-1481-08db6d8f70dd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XXwcjGapxsT6TWYA8PhQ645oNbyR/lgW4/xJH+sjS8iYPoKYKt1Cw30t2i0YWXi/stIzmg/psY8jXmHUEBXnFM00VmIY6nmiZ2X2thn+bk/UxBV+oNs+95Dzo4fauf0INxoP/nMaIV6qS0WklBuw9I8NCPOCDMbvDR7tBeupiXR8jq3DbHE1qXz4MvwvCb3NS7xhV3DFz555aCe1enY/8crHToEGBFl5eEZMe7Y2dfLUrUzDylV/M9fI9Gz9BLG1HuG+ii/cukCFFZeYTZQvSC8D9EpYdQ4D8vPTnFC4/efLlDa8IIQ+Evv9ZSBkXPOiRmVkGNppOHWqxOH+TGb1jFGf4Ni3pfr0CZ2wL9GQJmDbQV8cmbZW0Mab2lKa9AXepaU7vuR7r/Mhq6vvDZ86uPAq00WiX4Ff09iTjY+e8comv3Ao4mXQEc0Rz3Tj7VWQQfwcFlNcCh0pTwfG0jN3AZ8sCtBsF5HP1ZPMXZIHH/7ecFzTXluIDgMCT3keIn/3QS1JTYnaqmpMOlzi9+bRm6m82RGeS8mgL9lmGqQxqShJIfWiL1x4/gDOvo1s2BEBO39m/L3AjpMmqeXmM+ndyyiHdhZ7swoVfWpMxEdqfYfucX64mxpAnRt5g9l/HGj3prfs8Lm5As+K7aHTPBiQng== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH3PR12MB8308.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(346002)(136003)(39860400002)(376002)(396003)(366004)(451199021)(5660300002)(38100700002)(2616005)(53546011)(6506007)(83380400001)(186003)(2906002)(4744005)(6512007)(26005)(44832011)(478600001)(6666004)(66556008)(66946007)(66476007)(316002)(8936002)(6486002)(8676002)(41300700001)(86362001)(31696002)(36756003)(4326008)(6636002)(31686004)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VGt6YUhUV21SUHFieHBoSHJvaFJBU2IrYzZqRTRXZldJMUFkUDI2NzhzQTM2?= =?utf-8?B?cEhRK2dFMUhXMWFld0hDYjBpOHpEUXJJOEJra1RpYnR3ZVkxMjVwSXJhcmhk?= =?utf-8?B?cGJKOEFNM2FoS2VobXNwVG94LzVGUUt5U1dEcjZmbVBOMTFjdyt3QWhFWFZo?= =?utf-8?B?Q2JPRndnbXFVYTRnRk1EWEJIbTQ3cGNzZW9Ec1gwbTFKY0dqZWtSNC9pck5v?= =?utf-8?B?V0J3YVBJMitFMlBqYWtxek5pek9XZ1d3ZXlUeUNxek5aaWhRaVlRVXJLWnRD?= =?utf-8?B?Mjc0N1JiZkF0MEh6L3lidmQwQUl2d2NzNUhzZUc1OFM5Zll3ZUd6clJCdlpE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4C?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: f2457cfc-1b0e-4f14-1481-08db6d8f70dd X-MS-Exchange-CrossTenant-AuthSource: CH3PR12MB8308.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jun 2023 10:58:24.8188 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: k7N1lx+0fI2PSkdqRm4gOz99e45BkYOgeYfkBWruw4TM01QMWw51GWHYJjRPYtWG X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR12MB8507 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 Please do not use first letter of the commit as capital ("Move" should be "move"). Also fix this for other patches sent for CDX. check-git-log.sh script report these errors. Please run this before sending. On 6/14/2023 3:53 PM, Abhijit Gangurde wrote: > Debug print is moved before unmapping requested address > to fix use after free coverity issue. > > Coverity issue: 385381 > Fixes: 45ef232af515 ("bus/cdx: introduce AMD CDX bus") > Signed-off-by: Abhijit Gangurde > --- > drivers/bus/cdx/cdx.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-)