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 64B9845CC8; Wed, 13 Nov 2024 02:25:47 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5226440290; Wed, 13 Nov 2024 02:25:47 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2086.outbound.protection.outlook.com [40.107.93.86]) by mails.dpdk.org (Postfix) with ESMTP id 2661540265 for ; Wed, 13 Nov 2024 02:25:45 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ZaViwLC56NuLFJzGV5QtESwhvN/ICrdRHQ2topin6iqYyfj67yKpimWGPsLN4xSrWX3yYQC2u3aN6URaeSlST9peFpfggXQu/rnKFiBhX+NzCpNWfYBGK3iHbjEY5YcvU5cmIzmcZ2d6G4Sk0/+Z43Dj9z8YkWHmDT2uuJJYm983do1dwlNF+ATHurzir0PoqXg0VAH1+qTkPyaMwCXqHSLfESZPk9b0vzDpBQ/eSGw4r12HYZ9M3WPxHy/f4woj8vwT1oScvUnU2sBBK9TW6mkzF5Nxx3Q/RM2gN6/e6sqEFak5OOPCBBHfIvCPNTC3nl+Nn/FrfJ9Rd70qwFMmFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=b/q/fY8RgUlU3VIk1stasHlMWO6b4kzgUzqwl53niwY=; b=VjXoDXwg274uKTdXX4AZQUa+lNR5M/efKpgTgXSYK66jwYmuQjk87Lhg6bEFV7+xElaSvBpNJHllCTUibg6SQ28TpmsJC5aDm4HmbM7cDS+tjUSBzX3yLUMa3cuibzKTTEC/q3WYGb9X0A2WlAWxmZeiLAVK9qJnuoS0odm1TeeThezVRqKL1+m22Sfc94elFQo2Oi0OJfkbWGuFsIurdfRDC9NThkF0FH4n6yb4lnVa0mbZ57V+ypAYaUq57aPUL0bbnPdSm0GpNBCOu3R6KrHVuyttIzIqyccWOI1sCxGHufw/AVSBabh4XxSTsgbb6XDfG+brILNlWdX/QKcsPg== 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=b/q/fY8RgUlU3VIk1stasHlMWO6b4kzgUzqwl53niwY=; b=XeRegg8o1d17hhois6ilD2NYZpyecUyNRvSDoJV503SoT4qX7yk0PlhzqmTtopCYKwDygolBH20MU22Z4NjZy9Z4aw9s0A/T8ox+3D8DgjBkr56UlXe9eHVWbNQDLkSoSNttQKHgsnWRV/Ep+Y1dkJZ8Iu+qrSdtiUUZ02IZ9b8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from SJ2PR12MB8830.namprd12.prod.outlook.com (2603:10b6:a03:4d0::9) by SJ0PR12MB6877.namprd12.prod.outlook.com (2603:10b6:a03:47f::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.27; Wed, 13 Nov 2024 01:25:42 +0000 Received: from SJ2PR12MB8830.namprd12.prod.outlook.com ([fe80::c3eb:df02:eaa9:2055]) by SJ2PR12MB8830.namprd12.prod.outlook.com ([fe80::c3eb:df02:eaa9:2055%4]) with mapi id 15.20.8158.013; Wed, 13 Nov 2024 01:25:42 +0000 Message-ID: <03775b2e-3187-4027-b646-c33ece294ef4@amd.com> Date: Wed, 13 Nov 2024 01:25:37 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/3] unnecessary checks for null To: Stephen Hemminger , dev@dpdk.org References: <20241112173833.323934-1-stephen@networkplumber.org> Content-Language: en-US From: Ferruh Yigit In-Reply-To: <20241112173833.323934-1-stephen@networkplumber.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0441.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:e::21) To SJ2PR12MB8830.namprd12.prod.outlook.com (2603:10b6:a03:4d0::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR12MB8830:EE_|SJ0PR12MB6877:EE_ X-MS-Office365-Filtering-Correlation-Id: f7cacd3d-7bf6-4b74-b601-08dd038216fb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014; X-Microsoft-Antispam-Message-Info: =?utf-8?B?VmFjL1lCaTdmN0J4akNrYVY1T25OZ2pLRjlCTmxvL01HOFByUzBxb3hJbjVV?= =?utf-8?B?MXQwaFRyL2NMaGsya1k0RUZRSXN4TTQ1SDFoMHBrYUlMQUFWN1FkbTNTampy?= =?utf-8?B?Sm9ESGZ1UUpUZi94THRvdUszdm1Gbm02YnA5U0JKaTE0V2JNek1FTndWWkY1?= =?utf-8?B?Mmo3d1dmakpSd0RoZjN2cS9UVFYwUU9WZFBaeXdGdXdtOGVBOXh4aU9qZ2pD?= =?utf-8?B?M2ZwLzJwb2I1T3RWVWZqR3AvNU1FTGwrMW5CUHd3TDRKQksyNlpMZE1QaitU?= =?utf-8?B?cC85T2syVGFhbmRVM0Rad3VwZGlPR0l6NTZNbXFkb3FsSjRSSVJFQkZyYnB4?= =?utf-8?B?TlFzN21QQWNrOFNzSys5QXFLQjZaa1Y4UXpQbmJRN2VScWZWL3JzMktvVC9X?= =?utf-8?B?b2YrUD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i?= =?utf-8?B?clhLckRTNWVtcjNwV0c1TjFoNWN1MnhjdUdYQTIrNFE4bDRTMmdWWFdBZXRU?= =?utf-8?B?SEZRTnRHQ3NMQkFSc0JrdHg0Y2dTdnpYakMrdjhzdVNkNGJJcGttelZlN2hn?= =?utf-8?B?VnNhZS9LbXlzWUttaTZ6aUFpa0M2L3Qya0F0WVc0dVBjMnJ2TE5QT0VxVWxC?= =?utf-8?B?ZFlUOERnMGZySXM5NmRPVGplakh6TmlxT2tKT2xCNk1NVlVtdnlmd0ZWeTVC?= =?utf-8?B?QTRsVXFHK0VuUXVCMGlLUlhSNGdoSXo0Mko3QWZaZzMrMjkybWV0OUp3Ujdl?= =?utf-8?B?YmlJWGtRQmhBeDlMbDI2cm1GcGlVYUJwbE9QRVVDQllXTWxlbEVhY25HUEJC?= =?utf-8?B?dVl2Y2RpdnlGYVE2Q0cvWTZRTVNSd0dTTEtQUXVkZFVGK0JoKzV3ZnhjWnFr?= =?utf-8?Q?xDnZpm8iF7JJ/9Aiq11ju5EeARjJzN2FxLkM8lM?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ2PR12MB8830.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RHhKQVZrK1ZHb2tVUjMxMWNHQ29hR3Z3b1ZVQjdwMFUrY09iVGhPbG13NDFq?= =?utf-8?B?ZWdYSXN3RkxVWFYvaktSbjRITkZGZzlkMURrdmlFdlA2am4rYStlZFpWOTgv?= =?utf-8?B?SGQ5RDhhOVFBS2tiWjFXb1ZqQVp6a2I4MjhCZit0MTlBM1lDS2YyNlo1KzR6?= =?utf-8?B?ZUErbFdUTjR2azlwRVErMlU5Y1o4MmMvZ3BLOWVYYmdLZjhPR1NxZW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mZTIyd2hPdktPK2NKQzFDWUw4?= =?utf-8?B?d0J4SUlJL1YvY2RXSHVlMnZTODVHalJzVTJ3aTRZdTZGSU1acVRDZkZhQVBW?= =?utf-8?Q?qh/HY0KLrqgdrWhUBnEOJE9pD?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: f7cacd3d-7bf6-4b74-b601-08dd038216fb X-MS-Exchange-CrossTenant-AuthSource: SJ2PR12MB8830.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Nov 2024 01:25:42.3906 (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: P5a7i9jDhnGnlqXPCmb6vl8oi7Xnrpnofn/dkHXNxndmOKUKUVjOIOdvnEYn1v1V X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB6877 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 11/12/2024 5:38 PM, Stephen Hemminger wrote: > Found by running nullfree.cocci on 24.11-rc2 > > Stephen Hemminger (3): > bus/fslmc: remove unnecessary null check > net/dpaa2: remove unnecessary check for null before rte_free > net/ntnic: remove unnecessary check for null before free > For series, Acked-by: Ferruh Yigit Btw, script catches 'rte_openssl_pmd.c' for 'EVP_PKEY_free()' call, which seems ignoring the NULL value, it can be separate patch for crypto tree. Series applied to dpdk-next-net/main, thanks.