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 EF4324541E; Thu, 13 Jun 2024 15:44:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D5FB6402F0; Thu, 13 Jun 2024 15:44:39 +0200 (CEST) Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2083.outbound.protection.outlook.com [40.107.100.83]) by mails.dpdk.org (Postfix) with ESMTP id BA259402CB for ; Thu, 13 Jun 2024 15:44:37 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ObNR7GcGXMqdJaMSkF7Ld0qt0RwDgcDA4eJapuP7mBZNnb2cFMseLjl18XA8AyJ8qamTTbZwU6TRaCwN+IVLBHdnSPKTxEybwHt2YqNowufLRwaxIai1SQBWy1sGZuIeIutzddarjr6HWlChpmDat+5X9uLQMRPjSqdDtI5tsOHI+YTysXT1qBxuYyJFeYm9hETx6UwPb0M8hT14bT6YZZWv8eFaKhTjq+yhTCkIcd4mpXa6En7tKQ057I6kof6Cgq7GfSK5kYx6QaXmPCUZWY745wGWf+O20PabYDkk9eDqcJqsBA5t68NnmannAs09k6mDLnlSDDB6OWv7Ugo8XA== 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=AZvHqCqM+AD02b5qiUKLhlCdOzSEHRzVitmMH8N4U7k=; b=h779QhQDoD2fT4DJMURjMxJftmhmtK49knMC0lPkcuTGddPiKAxrSR57R6TZW50t1RTYI/adhLl1AkbEdkigYbaKLdxnPmFcKrPm257+SZuGRKuUSoqj0iDFqyO/ZP20ZqmVqfoI6W09dkmV1FD7bztgAwSa2iMvU7jnKLNIL7nfc+dQn8l9jFyKpQWIqIaVB0ibLqceI1g8rBExPXY4hxOPd9LGyMqc/S5N1Ykzx8FcqHodOnyxXDjV1fkh47JltZJDzQNlM0IcD5rWW7sARyL/ibfszPqLfJ1rJYAIc66yY9cYJutsNATspHsRf4i0pWeJe8Dws/hNVqSYuXRYDA== 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=AZvHqCqM+AD02b5qiUKLhlCdOzSEHRzVitmMH8N4U7k=; b=Ige83IcBynx8p5cTVVAOGTJZPfs59L2pGS2VBCbUZA7WtJpNbg+lTmdCREo+7yONWZPNCYL0D13758RaLXuFp4ettoDAp31Z5daSOrAYIV8PWrlVGcMZd+I/KkKDM2mI/I20T29b9PZxJp+BvmoH1liUoiA6Hj4yIHpS6UOjNdI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by MN2PR12MB4287.namprd12.prod.outlook.com (2603:10b6:208:1dd::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.36; Thu, 13 Jun 2024 13:44:33 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd%4]) with mapi id 15.20.7677.019; Thu, 13 Jun 2024 13:44:33 +0000 Message-ID: <46850dfd-fcb9-4299-8ef6-14309f0441d8@amd.com> Date: Thu, 13 Jun 2024 14:44:29 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3] net/mana: fix uninitialized scalar variable To: Mahmoud Maatuq , Long Li Cc: dev@dpdk.org References: <20240610214320.676239-1-mahmoudmatook.mm@gmail.com> <20240612182332.804748-1-mahmoudmatook.mm@gmail.com> Content-Language: en-US From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJkdyEEBQkE3meNAAoJEF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NVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20240612182332.804748-1-mahmoudmatook.mm@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0173.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:312::18) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|MN2PR12MB4287:EE_ X-MS-Office365-Filtering-Correlation-Id: ebe044b7-79aa-44fd-c269-08dc8baef53a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230035|376009|1800799019|366011; X-Microsoft-Antispam-Message-Info: =?utf-8?B?Qm1OaCtkMVRNV3VxemhuMTZPUHdhNFUzdzc4SHhTUzBGS0ZYek9MSjFnaDR5?= =?utf-8?B?QldMVlVZb201clRLQmNTUXVWYmpRQnZvVlZrODlDQlJkK2pLR0N0OWdnVENq?= =?utf-8?B?UW5aNGlqTnZuOElXNHhFZ3FSMDJ1ZlhQOVlIdjU3YVhxMXlHdmZicFp1SmNy?= =?utf-8?B?a25aYnphVFExSzQ2YTdNTGFIRDNCTDVNTHBnQnZXT1FZb2JVTk1uL1loM1FI?= =?utf-8?B?azY3NlF5bGF3SVhEVVRjMjE4MWFsMGx6QlBwNTg4YkFSNFlaUW13Rmx4SktS?= =?utf-8?B?RFM3M1JSS0U1V3Q1R2l0cDRTTmlkZElUUlVLZTdVVFdPYWdVc3dBQm5nNHF0?= =?utf-8?B?MGY1QW5OdS80UGprYzYwMDFpSG5CU0Q2d0xSSEV1V2hCNjhSVGNOWmhFOTho?= =?utf-8?B?MUZ4eFp3MGM5TUh0M0pNbTlHTUdNYWM0MWZjbFZuSzYvNEp6YVU0RlZLM05s?= =?utf-8?B?MG9nSlhGNzRzekp1T3QxS2lOMkszZytOdVU1R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ltTEtZU3ZkRXlSbVdPc3hPellMNGM3cjZVczEyYXViMkdz?= =?utf-8?B?VlAwNHZHdklWQjFjcFFwenNRVjBQblpVaExrTGVZTWZHaTdObFRWMFAzVXho?= =?utf-8?B?NTZEcnRlUVB6T3M1alF5b0kwTEpUYVpjanBKSWZpZTY4ZmhzOVpYU2diajdx?= =?utf-8?B?Q2lEZlg4QUFiWFN5UVJOdk5KRTJMUGdZYXByZ2twT2UzMDljSEFjT2FORVlL?= =?utf-8?B?UmhSSWFDM2VGSzJTZFh6ZGZFMXdhaUFJT0E1anRPaHFlYTRYNVprTkVFRVov?= =?utf-8?Q?YQ4Rr4JApsLr1VwvC3B3?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230035)(376009)(1800799019)(366011); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?b1Q0N1RUa3NBSUlmSmtzSmFIRkxhNUxMM0drV1NOQXV2NGZkLzRNdTN2SWFY?= =?utf-8?B?VVJpRCtaYWJXVVNhQVAzS1hhSEF0UU95STBGc2E0ek9kNTRNOGZoaGZpc2My?= =?utf-8?B?NVpXYXdpTDhZQUJ6RDV0SGIwM1JhSXNoMlYvU2xnRGs1UURPMXBMZ3pjdUs1?= =?utf-8?B?TjRIbnZWdURyMDRqQktjUFptRmI5bzN0TjZjRlphbW1GNksyOFEwVEhwVnQ0?= =?utf-8?B?MW9xL29kbS94U3R4dHZUbGovQlVwYzZydy84R0F3cjh0Wlo1QjlnSk8zV281?= =?utf-8?B?MS9jT0duNm1MUlRITlBFaWNwT0J5ZytPZnRjZlRpQzQ1Ty95NmJPdUM2MDZD?= =?utf-8?B?UldHaDF3cnJBSkRJYWFoRXFwS01DLzhoaFBoVkt3MFRBL2pGU2Eyb0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79aa-44fd-c269-08dc8baef53a X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2024 13:44:33.6677 (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: 6ReYFxDxOV/xPX3xX1+fj921B7eAK234vjs+nKEGhx2nTEyoSah1ABTbbsvnE31k X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4287 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 On 6/12/2024 7:23 PM, Mahmoud Maatuq wrote: > From: mmaatuq > > in case we didn't enter or finished the loop without getting ifname we > ret shouldn't have an arbitrary value. > > Coverity issue: 424690 > Fixes: 84497839d9ca ("net/mana: support MTU update") > Cc: longli@microsoft.com > > Signed-off-by: mmaatuq > Hi Mahmoud, According to Developer Certificate of Origin [1] that DPDK adopts [2], please use full name in the sign off. [1] http://developercertificate.org/ [2] https://old.dpdk.org/dev#send > --- > v3: > * add Fixes and Cc tags > v2: > * Fixed typo in word "arbitrary" > --- > drivers/net/mana/mana.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/mana/mana.c b/drivers/net/mana/mana.c > index 68c625258e..c37c4e3444 100644 > --- a/drivers/net/mana/mana.c > +++ b/drivers/net/mana/mana.c > @@ -715,7 +715,7 @@ mana_dev_stats_reset(struct rte_eth_dev *dev __rte_unused) > static int > mana_get_ifname(const struct mana_priv *priv, char (*ifname)[IF_NAMESIZE]) > { > - int ret; > + int ret = -ENODEV; > DIR *dir; > struct dirent *dent; > > -- > 2.43.0 >