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 63CD143CA1; Thu, 14 Mar 2024 11:58:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E06D242E7A; Thu, 14 Mar 2024 11:58:56 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2041.outbound.protection.outlook.com [40.107.94.41]) by mails.dpdk.org (Postfix) with ESMTP id BDBD240297 for ; Thu, 14 Mar 2024 11:58:49 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kb7/rTt84/ak1S13AqcQC9eznV8SnNVcCkqxu+f6rTY3VgkoQaFOVt0jel0zcG8rv+7CY2C3pYGQ7S5BTsQXl6JKIB7yCpdhiWGwfxOFz5ZtcH+0YSc0P82LOlKtdEZ7SGTzo9PpIppzh+zGaG++FByw3L7wGJ9c6YarN6gqx4pA5Ya03sJ02is2qahls6IGz3irR6REIlFqoegRjZb/ZeEe6xVjYhnLGQ7NQ5NHwxVgqNkAUFFvc5Ep90UNtpHam54nheQBTQwVO47MuwmTYeOp9tr3yE4sfhfv+pX6IOAwUGoCxxtPWf+sxoIo7MZZ6xBm6hG+ME0E+uM6dfifzQ== 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=RJMrlKDlL1xICqGTYw5onoSw92Z2Y6vFph3Dzvev+dw=; b=WzOzcJUWRtNpSD4zEfnzrDDmmrPpkSuqi8xCWNSGOk+AfKGl8Pzl3iTK+XqZ3X1DD2Rlvv0Y2bU9SGV4JGa8O+hIFgmGVu7/jxGRG2A3SNIVmE98uxnP2bgJfYgC+5WZH7MXTwyH49D2u4Zmr6jgIHhGEIdceo+dRJOZedqqq5fReVg0JyvvPv1LDgwdcVpEJVTp6t/t24eJZNQrI5y6Aq9IeJJKU+xadvf5/zyuFwqziPZviBXzDgSKTfwEkiCqmOe+ku43d2iMMi6B4DQraaANFr9PUhzKERbmBJOAGTQjVPe4HxTAsVZF9Gzilc8gL7pFw+BebkD/ZfzQJA2KIQ== 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=RJMrlKDlL1xICqGTYw5onoSw92Z2Y6vFph3Dzvev+dw=; b=5QKaDFu0beCQ7lHoXfMBwTfAyqogspVS9Wy2pSnSgbWb0XpsFO/mGYi5HsxHlmtHoma0C07ZwfqP9yVe0JlmXZ67eH5IR6xNf+EjP4B+l+VSoyB70SawRinuFh361W7Jullru3S8nvsXz5gS4wm0TYBlCdJZhZwzHj8GgBRZ024= 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 10:58:48 +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 10:58:47 +0000 Message-ID: <1d67fe9a-b62e-4a71-8165-ca827ee39fe1@amd.com> Date: Thu, 14 Mar 2024 10:58:43 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 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> 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/6BQJkdyEEBQkE3meNAAoJEFRTPtCK Km/6Udc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HqNxKuyO 8Zk= In-Reply-To: <20240314070536.3169210-1-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0070.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:153::21) 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: 4c3e65fa-357c-4d2f-f9d0-08dc4415b96b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GQxC33aGIQhk4NdirxrDh5+pbYF1ojoy8IB5M86TnYMrk9jV/R4TUMtrDY2BoLlmHRuGSOIrvpqTpR0TlWNaPUpOZC+ALRq6YkmJ0POXqMafG+FH7noa2hcp4uN8VasnZadulnUKWKPB28MKu3hJpqaMQgGah7UEKrHtqXzR/HyhRSlkZEhFIQh8A7F7ED5Kap8AIpQrHFKuYjt/0IEQEztpPNddrflqFfdx50TC/jK26WPYfsWiBMQwBf3Ry6KuDDHPQhjex011bFGb9LN87QzA4n8GanqQVbdkUqliVvSwhv7qkCIbYOC01r3AfCuH4xsgQCU4KOljLgXOe7JW29doCJlIv02fq+h88TNbmqtPPCbDJZC/GSEJalywUrE6FQ01g3wappQ73oHEwN4Ywxvu8CAsb2UX/WB+72PWBd1udmqo2LkCkFxuyTQ0LXRB0V5ATAnBkdUx2P7qGaViCqKxspUTfi5Gt3qRZTkcgVng7D9xh9nmYZzDUouFjyiP/NtqkIWivgdT5Rhty5ZcrYiphiJSYlfbQV5KLsB+SyGumg5Mi0QXJz1ITL+0AWl5HHgyY1c9Iwe+rMhAEt4lxrPD1tt6ubT3MxFxYWJzVYF2kNRsGdz4iXanNDOGqhJyIzJhYoqwt0pf51sbM+GOCuhMf4p38X1Jdnuf5FcGd3w= 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?SVZSNzRQMFVxT0pWNlViQ1ZlSkN1Nk9jR3RYVGpSOFJZYUpFb0R3azRoZ2JI?= =?utf-8?B?RU5VZjBTdjM2MW9IUXBvNmpJazc4NzBab1o5Rmt2dnVncTZHLzlQdFo5RURD?= =?utf-8?B?YlZEWjN6VGlUdlVwRE1OU0tVTTNITlMvV2RneHBEMmpkNzBYOWJra0Nzbktv?= =?utf-8?B?TER5VE9HckJnR1cycjVBVE9veE1WL09rV2w0M21FV012eGFJSWhOK1hUaUdN?= =?utf-8?B?MmRRVmx5bnRrTVFUQnBvNWphZjFFRk1KekFqNGdlMGlWQ3hydHEzcDZIK3JG?= =?utf-8?B?Q1JscUFSdHIyTDRWSmorYmZxY1RONnoyZkQwYnoyV2kyeC9ybTZkakxXZHMx?= =?utf-8?B?eHptWUhZaWZJMVFPaXliUmsxT3hOcUthR1JxdktyVkRNV2N3dytZZ1k4bTZM?= =?utf-8?B?RFZxQ1ppd1NkV1N3Y2dmRURsN0k1Z2xWbGwybE1EMGMwbXQwT2J1aFJtdEMv?= =?utf-8?B?NU1KaW00R2xJbmRWNGMwQlJkSUdkMStsclFRRE1GRkxkM3EwY1JQWHAvVXlx?= =?utf-8?B?dmRRQnNBWjF3NTljSkNuU3F6LzFNUFZBUjQ5NER3OFJlcFVERTh6bUt6OFhH?= =?utf-8?B?T3JjY2tNdmhGTktINFRTS1dlZXJoZDN6NzJabG94SVl2aEcwVTRBa204anov?= =?utf-8?B?WXRkRFZncGRzMnRLVzNFb1ZyMTB6elhDbW95RjVYc3hGY1h6WjI1R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HdzF1RGpHK3ZX?= =?utf-8?B?aUxFU2JBd2NIWnd1TFRqN1lBSkZrRGp3TVJXenN6U2R0UUVGM3Rlb3FuTjUw?= =?utf-8?B?U1Y4bEFKVXVpYlpHMUdyTit1ZHZTdFEvbC9jVTh5ZTNGRklsNU5UYy9JQXNR?= =?utf-8?B?Nk1NU0pNZDViVHZHNDB1VExzczdwSUFJQm03ekc0ZklHQVVRaUVJL1RRWkdm?= =?utf-8?B?eUF4WjlpRmZIbGptemFXQkkzQU5SQ1JFWGtzNjRUTjB6TUVRUGhMR3FDNnRh?= =?utf-8?B?N2tHTDBvang4ZjF6dXpZZm0zeit5OVowM0JNZnFrY21oZ05FTk1LOGFSMlJQ?= =?utf-8?B?VTZnYW9MQTA4TlF1c0FYanJiRkthZXJTVVk5TXRlM0xPWldRL1o2cDZDclBZ?= =?utf-8?B?SFliVTErQ2xRY1k2b3JIL0ZLRTFFSzF2ekcra0x2TTc0U1RNN3BhTUZpdnk0?= =?utf-8?B?d1NxcjNFWlVMeUt2QnFpM2l0Z2NEaEcxeHhrclhzSnJna1pPREJTZjc4cnNE?= =?utf-8?Q?fVYfOdW1rp+UQ7G6AjoJZnktA?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4c3e65fa-357c-4d2f-f9d0-08dc4415b96b X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2024 10:58:47.7439 (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: fME2cLovATQ1L0zf2GoG8OFeahqtaNUFrKWvGr5aLL0EWyZryrGAMTTZFSifn823 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: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.