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 85D5AA0545; Thu, 23 Jun 2022 02:43:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 272964069C; Thu, 23 Jun 2022 02:43:40 +0200 (CEST) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by mails.dpdk.org (Postfix) with ESMTP id 2D088400D6 for ; Thu, 23 Jun 2022 02:43:37 +0200 (CEST) Received: from dggpeml500024.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4LT1cV5S45zSgvn; Thu, 23 Jun 2022 08:40:10 +0800 (CST) Received: from [127.0.0.1] (10.67.100.224) by dggpeml500024.china.huawei.com (7.185.36.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 23 Jun 2022 08:43:35 +0800 Subject: Re: [PATCH 0/3] more null pointer check removal To: Stephen Hemminger , References: <20220622185158.397779-1-stephen@networkplumber.org> From: fengchengwen Message-ID: Date: Thu, 23 Jun 2022 08:43:35 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20220622185158.397779-1-stephen@networkplumber.org> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.100.224] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpeml500024.china.huawei.com (7.185.36.10) X-CFilter-Loop: Reflected 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 Series-reviewed-by: Chengwen Feng On 2022/6/23 2:51, Stephen Hemminger wrote: > Reran the Cocci script to check for unnecessary null > pointer comparisons before free related functions. > > Stephen Hemminger (3): > vdpa/mlx5: remove unnecessary null check > raw/ifpga: remove unnecessary null check > dmap/dpaa2: remove unnecessary null check > > drivers/dma/dpaa2/dpaa2_qdma.c | 6 ++---- > drivers/raw/ifpga/ifpga_rawdev.c | 3 +-- > drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 3 +-- > 3 files changed, 4 insertions(+), 8 deletions(-) >