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 6561343CA6; Thu, 14 Mar 2024 12:01:24 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4F86942E73; Thu, 14 Mar 2024 12:01:24 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2058.outbound.protection.outlook.com [40.107.94.58]) by mails.dpdk.org (Postfix) with ESMTP id 68E8642E84 for ; Thu, 14 Mar 2024 12:01:23 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RpNsc7G/YBhm5Id/PlzsB59rofl9FGiNRlYBYTgZQGgg+uZlU2C9f11n3EgF/uH2PcLIS0CRVkoRLk5Nad2J2ptGmixk7IM0K7o08+bEWXD2B/G6DOLo/nMIrtakvxKWERGpBmeIm6uQ+8XwUnB/AHxvoPT4j/1lP9SA0OoiGCQGppySBUqGswggoiZOON+1NJfuVvqupc5tByN+MuxZAQklsb+iRwE/09ckGBDnNxsQExwAOOWPGU8fWTI5OFtMryVnpke6aCVHu8+h9bnvKUh1LO2PWim5nouMVLRyBHps3go+l4WHn4NUZGRD16qMjrkUMXT84/mfQDv4bzJyWQ== 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=NfqMDHy9kzFH0HNpyMMtIwjLdFF8IAvAcr22kafJsUs=; b=LxEduKxo/ZDOyjULF7ZCJanGoF5/Tv46zf854bM7hi779PzBh0LbZpVCDPT9btqlUekvqirbS/pUNifCwnS82vXc+Hw05Gkyx99OHtmY0KQ1+F1+Nw0THtyIefoOQxZOomslHhoyIxu2PDwpyLLKjX5IP0Z1iFX2iF/gYyP0azr7kLPMF1USj18Kl3cUPeY6xvMU/jdQxT86yVdPGIXf/jDU0xpvj9xtIvTL1TVkMeWj86/cWrW/EC58RBEuyaJtsdYb2Og1GbZ/1oeV2FLhZVx6mj0NIvHXzFEbKbDP917acdOSGbt6HPFuqrUZNJUJYzWrst4piSCycrEUIcX7Ew== 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=NfqMDHy9kzFH0HNpyMMtIwjLdFF8IAvAcr22kafJsUs=; b=XGDpdFpgBwEnJ1S4QtxxH2seuek3ExpQo5rKLrbofPic2BXi2r1jYDjGXXl1Kb+VZA7HaZG492yMQJDdPRrv91/ppK3pB1b3nPlUa32JdfUUb+dp2JWNa3syyTGpQ+cNaYcGeAPYvOvsu686JgOky2wyVauwtxuCv1PD8dALUXk= 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:20 +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:19 +0000 Message-ID: Date: Thu, 14 Mar 2024 11:01:15 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/8] fix some coverity issues Content-Language: en-US From: Ferruh Yigit To: Chaoyong He , dev@dpdk.org Cc: oss-drivers@corigine.com References: <20240314070536.3169210-1-chaoyong.he@corigine.com> <1d67fe9a-b62e-4a71-8165-ca827ee39fe1@amd.com> 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/6BQJkdyEEBQkE3meNAAoJEFRTPtCK Km/6UdcP/0/kEp49aIUhkRnQfmKmNVpcBEs4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9a-b62e-4a71-8165-ca827ee39fe1@amd.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: 3d9df9c7-85f2-4b23-6e69-08dc441613f3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GZHh+f0C0ajAz1RR5uk4LWeHtfjbH6s2cBWkSB0wonYtz8lRzeycNwzX76mgWXoFMu0LBiGcvoj6lgcp/Ifd0xR3QE+qcyGfJnfa3hIPGYznp3OzofuTDKY8kZ2MuLZ4hTx5D3dvWl68/txDtTZoajOF78raJHTc5vwdUtgcr3/T00WsW1uXHrSvCMRVvLMu75DbZ2jCL0k4PuYbJYBzU74ddncRRtCF/Ao4E7UOTZyCOncXn9esJcODBf3L7mg39eXtLDphUesQxZmgRxDraC65RMafETDfwd0BRc9IKe3VkMdtKWLUAnV56HkS2YwjJh83iMCbdaPG5tR8WIEbrWhae0/BRpBWPRQIl5yNtS7X3Ka/8i+krRSsVhbtPaauSpBq7B44ddZE8Nx6hQicO7LsaY78rnTLLYG7Ua7CkfuHMBFLnCCvyU9LRSzqY5rGR1UHXcB8DFIbjApXbw91+pDSLvcCx2RIe+Q907kqeYATLzcPLh3qaxdNzbN2+a1fxhnF6wBuW+6wxCXPhD9oSCIbJ4LkB7HF0LPIM9k1UbFhHvYjD1C9HOEfpXJXDG9WEfSWqeUDX1B2j7Scf5GadRH7HB31wNtNLxm1aaYEVi3p0+JQ5oBNMMasAJlwxbx90tO4LdcJbbqEB86F9sZW0+K5ZWvffHUkchq1epyPruE= 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?YVpobkxoVHZFdmR1bXk5UVRwYTQ2eWNmZTAwOVlKclNpa01TUGlVZm1UQlB3?= =?utf-8?B?NEJCYmt0ek1WRlR2MzByMVl5QlFaa1RURFBCaURjTEoraC9KbGh6aTlTTTZq?= =?utf-8?B?V3F3SnA3blRTbS9uYkFIQU9NSnNFM3prS2l6ZzhwcDBod0lLa2lDT3JXZU80?= =?utf-8?B?SnVQaTR4TFY2bEZ2N3ZZNnhyVXRzSDZxcHd4cE8xWnNlcGgvUEtxUWFVOTVw?= =?utf-8?B?L0szVU9nVlFUWHlRUDR3RXhndXpWSThTbjU1bmZSaHpwYXRxREtDYzF1cHRr?= =?utf-8?B?SCt5MDFTb1ZxbUNhNHRaQkFhNjBTcEF6bStZelFJOXpROUx6dWovRERPVFJq?= =?utf-8?B?bDNONCtzd3ZsVi8vd3BBSWkwbmd0OTlUR1JLSGVrdFZLdGdPZkFUVExTRWRS?= =?utf-8?B?UW5FSEJUWlZMbGtFZXBsTys4WVF2RjdueFAzZHBwK1VINjVPZ0pJWnZVYWty?= =?utf-8?B?V3NNc1RoazhkQzBZcldoSUhKaElPQzNKOVNMR3FZelVvM254S0FDMXV2YmJz?= =?utf-8?B?SkJZUE4wU284Mm9UUXQwWnNVallSSmJQSU5XYjJKV3doYm1WTUd0MGcvZ0dz?= =?utf-8?B?NGhjdVExOERYNnpabStTNlJaenJlTXZXSlBmekVtMzQ1Z1JMcTRnRXFIbzh4?= =?utf-8?B?Wk8zazhpOXdoNkplUWxHNWVqaGVneFRBbmtpaXhGOFNWR0JyVnJhRmNDMXRt?= =?utf-8?B?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1Qjcz?= =?utf-8?B?dURFVGFjbzZzdEFvTStDZ0lETEVHdThxSlh5Q3RWUlQrbVQweVl3TW5jemw3?= =?utf-8?B?YmdFaEM4ek9mS2ZMKytKOElGSThUQUNzbTQvUy9iRmhkeDNMNTgvRUxES1pT?= =?utf-8?B?cVJ3LzFTV3dpRW1iajVxUjA4VW5rdmluTWdwKytKQ3VSNDNhWkVYWTBOUitr?= =?utf-8?B?UWdOTnRDT2g4S3NiRDFtbGwrSDdCNFBBN2FCK1RmelBBWEpRaHhybDQweVBV?= =?utf-8?B?cEdQSE9DNmtVK1h6NnNQRkpSZ2RCK05URkp0ZUNRQXFDR0JHaFpaNlJhb0p4?= =?utf-8?B?N0wzcE12ZU5vUUZPWkJUZThIZjF0Y1REbHpQWVZveWRVZVBxc2UxR3ZUZlFu?= =?utf-8?B?YVR0anE4U1J5eE5janFsYzg1aEJiTFdNWlI5OWFIcGMrR1F5YmJTWG5WN2J6?= =?utf-8?B?ckVnb0FkbDRrNkNBZ05FZUpMSTc5RU5TeThER3ozR3R0Q3o4RW1FbDdOMERt?= =?utf-8?Q?HynmSL9hDa7ydYnNtVgXyCUyO?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3d9df9c7-85f2-4b23-6e69-08dc441613f3 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:19.5374 (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: FsJ2SySiGMROsbJHNcsYtZG2+h4izK168Q6X/PYdapJDzQdDh/ORVqk5sMepi+8V 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 10:58 AM, Ferruh Yigit wrote: > On 3/14/2024 7:05 AM, Chaoyong He wrote: >> This patch series fix some coverity issues, includes: >> - 414936 >> - 414937 >> - 414938 >> - 414939 >> - 414941 >> - 414942 >> - 415042 >> - 415051 >> >> 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. > Replied to wrong patch, v2 of series applied.