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 2794E45C98; Wed, 13 Nov 2024 05:56:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F0876400D7; Wed, 13 Nov 2024 05:56:53 +0100 (CET) Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) by mails.dpdk.org (Postfix) with ESMTP id E4B39400D6 for ; Wed, 13 Nov 2024 05:56:52 +0100 (CET) Received: by mail-pg1-f173.google.com with SMTP id 41be03b00d2f7-7d4f85766f0so4654446a12.2 for ; Tue, 12 Nov 2024 20:56:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1731473812; x=1732078612; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=lXVTH7s2ugjnTGbDsStFggAl/vP5RSoLmVq7WwC2SP8=; b=VQvYcar1APw1S3SFbMr5upkjZqA7xsx+2BwdHWmOMuBCc8iBYMPwHTSsa/kvpQCNkG UUsbo291amvkP/9TO7Qjmf4r0o1IOHe8UrPzPEucD9oaJSCBDq4W520zXr+7AOK/+IPt mSTUv3asNjTgZpE+dknruDq7kcpRbZ39CGlQ0jRVPVBXyRJlsF7iG6lKRt2T9EpY0p/w 7OWHnPXuc31rpMT4uaahxsgnRO9WKOrKW2bUsXB28pKhGEY5HWbDc6Q6UqWt6/gh3wyO ClMoEaHjpb4wr9SJ3NQlZoT0enZ6oE0uukvOiPk7zqD5zVVHxYXNd+ABWT0uXDGcrVtj iCwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731473812; x=1732078612; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lXVTH7s2ugjnTGbDsStFggAl/vP5RSoLmVq7WwC2SP8=; b=grhauV4MztHJrfK94SZ8ooTywmVmZTzaYWbkokjOO7Ma2ulWo67Z+E0bNn0LXhaVkt j2KKInV0A5IQ6aj/Gki6NBC0TTmcEJBf2h45icJ60kb4T143j5T/OHsGVU2z9/9+GXpj SRc416S6V+xj2lLAur3yMecCOFjKOVxFynXm3UDhabbStc1eDSVcuGlsi0AZzZMrXNt5 nP4vIVW2+20ceQxVEWlHR7GkUetn/tUsws26u5YNvxK+Xew5K21jSKj9zfJ1vh2Yxx0b kjrV1bB7z17hYvSZFyuCq0vf1S4QAniv9aFVIyg0d+Eo5eWVvObk9FTD6ZqmP+rYrm4r du0A== X-Gm-Message-State: AOJu0YxTGh20GeFEn5iwphS3XZaXjyxj1b00JB0Qa9ekm/2NIdphhKjT 2KUWnQmaciBKBF4TnAv70Jt61vxLDtI6KVC11uVuUrO0+eLxJr6WaKf5mJJIt8w= X-Google-Smtp-Source: AGHT+IFBPVOo7uEsfqJ+3Z91w/ia2JcF3PhDiAlDfpNeZjsJnZ/6EEXhHR+0zl5yXiwWqLvXasWYLg== X-Received: by 2002:a05:6a20:7f97:b0:1db:dedd:fd51 with SMTP id adf61e73a8af0-1dc7033bef7mr1854028637.2.1731473811702; Tue, 12 Nov 2024 20:56:51 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-724079a3a8esm12108277b3a.112.2024.11.12.20.56.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 20:56:51 -0800 (PST) Date: Tue, 12 Nov 2024 20:56:49 -0800 From: Stephen Hemminger To: Ferruh Yigit Cc: dev@dpdk.org Subject: Re: [PATCH 0/3] unnecessary checks for null Message-ID: <20241112205649.56123625@hermes.local> In-Reply-To: <03775b2e-3187-4027-b646-c33ece294ef4@amd.com> References: <20241112173833.323934-1-stephen@networkplumber.org> <03775b2e-3187-4027-b646-c33ece294ef4@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Wed, 13 Nov 2024 01:25:37 +0000 Ferruh Yigit wrote: > 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. Right I wanted to check that one more carefully.