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 CE9E943CA6; Thu, 14 Mar 2024 12:02:05 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B459242E70; Thu, 14 Mar 2024 12:02:05 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2074.outbound.protection.outlook.com [40.107.237.74]) by mails.dpdk.org (Postfix) with ESMTP id 9053442E70 for ; Thu, 14 Mar 2024 12:01:39 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VqSQLofx+OtO6AoZdTlmaGU9DsW3o9Y3SCCRUMM++BTxuKWRt/S1y6fHJCeN+Y1fUGFqF/0zO4mUdVvGa0J2dm/MC67AopTJ5GlChVzdrzdCKTOg1NygsOzSkdoCYa3DuPl1itirmJ5k1dDvZ3180VSMCKu/RL0rLJt7kiCUff9GJdg/Q3mfC2fQhFfbDyrDs9A3acCj2lJ5gHTu7tiXCAWvO4kgwzEH7vBg6d66Ji12fMi2LvBj8gWxTpKpNU8YSnyN2FFuoZ2MD0o07kXaAzoIIxfY14ron1OO+Fue8D1KcBTWe6G9B/3YjGINF66ztHvyLbpdOpwvWr+/zVl03A== 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=nD7X6MpfmnhbD0ZYmr6bxO3TJzbqtO+K8D9fkbXRBK4=; b=HqOZ+0DbURTWGwY+oq4AHGvRRzXXjngm8CDLfVZNxR+yXf/aAclhituEVJQFtS7EICGysuJECX895VOUgJTqp2cY/BxME/r5IRxgAz6mjGr1B8Ej+YKVm0P7fD8Uz/mumjlcaHFe1aIXqLVb66P91TjXMfVmTc8310Grm0zOW9uCXdGorPJntSIHHwgNfQoPs/ps/BsYJcEAqhbuZjWJ/COlpQi61/gG8IXku7CG9CLhL+g34WmtG4eM2OVZ5WD3JHXotEPjnOrWObYDAXBymiYrvenbkxd7Tde6ZyF24cPNdyaNUmbTWaq7WbWs+RJlRqE4gX37TBHBcBGhcAEB6Q== 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=nD7X6MpfmnhbD0ZYmr6bxO3TJzbqtO+K8D9fkbXRBK4=; b=tB06ExznV7cVXgrNbQQHmS9WF82n8jMlD9PlY9xfe6gDQRSVARY8MWzvre2Phn7GgEBBKDm+gg67k7lmK8BNAdOZzOoDGTx6HVahLZU6QxHyO4t2LB/0RUeystvOWjE/OPmvUIOPcuXV6M3f5D6NTY7iJzo/KCqG+KBxoquFhIA= 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 DM4PR12MB8450.namprd12.prod.outlook.com (2603:10b6:8:188::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.21; Thu, 14 Mar 2024 11:01:37 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3ec7:6339:1c14:c529]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3ec7:6339:1c14:c529%5]) with mapi id 15.20.7362.035; Thu, 14 Mar 2024 11:01:37 +0000 Message-ID: <626dffe2-2c1e-4739-8006-3110dbc263aa@amd.com> Date: Thu, 14 Mar 2024 11:01:36 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/8] fix some coverity issues Content-Language: en-US To: Chaoyong He , dev@dpdk.org Cc: oss-drivers@corigine.com References: <20240314070536.3169210-1-chaoyong.he@corigine.com> <20240314074024.3199555-1-chaoyong.he@corigine.com> 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/6BQJkdyEEBQkE3meNAAoJE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ZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20240314074024.3199555-1-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0292.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a5::16) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DM4PR12MB8450:EE_ X-MS-Office365-Filtering-Correlation-Id: b9f85e72-cf9a-4069-4b34-08dc44161ec2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: p7t6ELbSCRFHO3DDnZmDdac7bVlAEKEIIRYqoUw1j7j8z+XVkbmjZASfPXLWiIc8gTWkqe1ofWBzZrxfK+gK3EM1EUDkB5t2ZwpAl2G6XNZhvUye4035rDOsP+Y7nXSFtxBYnqR4pwkG//hO0RnlTXvO3yFit4tzdR0zdKBNCtDOaRGGzj0sePw64r7LzYLfr1p0odpxywBC7oajFlN0eIgkxCLHqBFUjxOd1T3eHt3oQJ2DKgMtsMxCEfxa1EepE7kji8veU/mFwzWSJ5D1JIDbAYBjjdLvQacxe2f9RWd4X6upDFA0gy4AdZv7Tjy3SZc5h4bCXxvGkZE2er/mboX/0eoJcLseD98+lEWTtx10sz4NEqrdnixZlIGmu1M/e5dMwIQol5uo+Johcij4fjJySGor/z8BQjzHo6BW1RpqNm8G+97YULrZtqCa17UP9UdTxmf3ajS0yjYHWOlJPBrD1FTYmzPVFJKyxLF0YnK/Unr2woOTmdXRtfZLJaLZLTVsGzdWKPAeEfy8H6fRVhodZrxtMTPBWqGQum+lp5HtiYyo0SMbe4BaqM5ex1T+efAFI7wRVvzicsh/GsYhRkpj2mEq43WlBxN0Xk7dc4MoAtiGDETj72uClDVt7yE1HVpbtk6tGVjKc4IpeTVXFg== 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:(13230031)(1800799015)(376005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?T0ZGZ2p0b3JmWFRpT1FzU3RocGJMUFhST3B2bndJdWtPSkNVbnlyMzBlNm53?= =?utf-8?B?UFEzdnQxait5c25XN0YwN2MxeDUzYkRINGcwVHprZXZxZ01LYTk2THBYL2F1?= =?utf-8?B?ME5rTXVlM3NTcGpicXlJM1lkd2UvZ2tyeE56MU42Q3MyYkpTNUZkeVpiQitq?= =?utf-8?B?RCt6R05KTkNJVDFObWUzaEFCR2FJbHlnVjdGM2U2QUdESGkySkNldEJ5NzBR?= =?utf-8?B?aURKVWJ3RVBOTUdtY0ppRnRVRGhKNHZZTUJQWmZZRW0rUVUzWVpBMVlxVVN1?= =?utf-8?B?QlJGQkhTcTlFTGlocjRiK1VKeGp3cUFkRWNSNWlkRi8wa3UrTUhPZWI1ajJG?= =?utf-8?B?bGxORFlzeHRHV3AvWEpGMHI5cG9BQUUwQVdhdVRreGZwOUdncmZ1b2JQOThz?= =?utf-8?B?SlZnUFBNNjR5ZTVCQjl4a0E0VmRGU2h4aDNhVmJIb1NaV3NObmpMN09pMzRy?= =?utf-8?B?OEZ1WmhENzhVdHk0ZlpTcFpydnAwNUtHWW9vQ0NFZWdnNzlNdFpIYkVuODdO?= =?utf-8?B?UUFFeTQ1MWFJK3lhZVVVWldyd2FDaWQ3Vzk3WmJGYTJ2SlhTL2VCTHdVTnNC?= =?utf-8?B?ZHd1RVh6c1o0SlZRTmlOU3djWGN6VFBWaW5HZ3krMG5POFRWajR3cmxmM1lk?= =?utf-8?B?T0tZb051b1c0TEFlSVdoSEtXY3Zycmh3Y1N3UTBPamt0S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hrZ3dxb3VXakQwazRC?= =?utf-8?B?OG5tM0dkZlBOZHBkaXhweUxURk5UTi9DVVVqQUJYUVlNL1dEbnYrUjQ3V1hl?= =?utf-8?B?aUE0R3g5UnNYMnZTTXNoS2lhWldEVTBISnJsM2FjQnh0QTRDckNldHMrWlVy?= =?utf-8?B?cDBXNjhjUEQ5YTQ5K0dVTFM3VXlaMkgzcTBMYXN2ejFZV09ObmRnMW5VWXlo?= =?utf-8?B?Lzc4My91TDA1Ym1jUkFTc1ozVWlRUjlCQW1pUzZXNDEyM05ndlhvQ1ozR1VZ?= =?utf-8?B?MnlkZzFhdmtOOGp0OC9PK3M4M1VqWWxXMUhTcmYxNW9rTjQ0UmxiSGU0UkM4?= =?utf-8?B?c0Q3K3cxNk56NkJTdTBzMlFXTnBXMGxGRFNWdnlZalhtTU1VeTl6bmdlS2U3?= =?utf-8?B?a3FvZzVDdG8ySytrd2F3R25zYjA4NTZhdG9pU1BycVZRSnBhU3VNWVdKUW5Z?= =?utf-8?B?c0Z2MDN5UHhIcEJhS1hrUDBrM2V1My9IZkJDKzdSSi9KMzhuNFoxTHlzaXBy?= =?utf-8?Q?fH6MYJXV/NBMwNpk6Q1emwmb6?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: b9f85e72-cf9a-4069-4b34-08dc44161ec2 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2024 11:01:37.7132 (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: LqLagYbzTLumHtIdevEwagqhHmxXGmtC1szFZsHMWHzihDN9lGIUXUpNN32zQ1Ud X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB8450 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 3/14/2024 7:40 AM, Chaoyong He wrote: > This patch series fix some coverity issues, includes: > - 414936 > - 414937 > - 414938 > - 414939 > - 414941 > - 414942 > - 415042 > - 415051 > > --- > v2: > * Fix one imported uninitialized pointer problem. > --- > > Chaoyong He (6): > net/nfp: fix return value check > net/nfp: fix string overflow > net/nfp: fix unreachable control flow > net/nfp: fix check return value > net/nfp: fix unreachable loop flow > net/nfp: fix null pointer dereference > > Peng Zhang (2): > net/nfp: fix dereference after null check > net/nfp: fix tainted scalar > Series applied to dpdk-next-net/main, thanks.