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 B168FA0032; Fri, 24 Jun 2022 14:36:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5380B4069D; Fri, 24 Jun 2022 14:36:00 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id B4EE7400EF for ; Fri, 24 Jun 2022 14:35:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656074157; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Ap25RMpdCc45B2/OnW32AIOX7IhZfGBKNuea+RNkFN8=; b=fd/qHcD9GZ13fcwxbFuyEhQbwYs5+Kby1GZl6Bg8Y8DtgvIfKqMuqmmRzNDRHDg2rE4oJE DsFTR1uNWCEo02N0WlfI+GZM1OC2/oWxBLQvYOrkJrTjI9mA4Dqi9by8baNQIAWhFiCX+/ MoXTY5Byq7lfM/QAVhEZyhSgnfjiJQg= Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-374-riq7kTUZP4GVdzSpkIPzTw-1; Fri, 24 Jun 2022 08:35:39 -0400 X-MC-Unique: riq7kTUZP4GVdzSpkIPzTw-1 Received: by mail-lf1-f70.google.com with SMTP id 10-20020ac2484a000000b0047f9f9c81daso1324789lfy.16 for ; Fri, 24 Jun 2022 05:35:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ap25RMpdCc45B2/OnW32AIOX7IhZfGBKNuea+RNkFN8=; b=Khirr4TSoAj6KxdBfYja3Ggrh709gEYlvOkKHzp7b2mLFFtGmm17BqJNHxL1n2xZCw x1X929vAb3PW1oxz9CRPZ2dx5+brzwdFs6aFeX+w96hgKrMwW8eafhSEtIsY87enYMT2 zRbxbslbWRXHhgtatMAgS2UcFjKWRtwW6DQk1P4rdobw5FCVRxeTkD/LcoPhmBAUt28Y sUd8XBHbJlU6ukYa/FpZu5+V7f5nkSU8osCQOLx7tiORdTNumT4ub59LEvACRz9YfomF Ms461HXikJEqs/L4toNggYDEkkcOaDpN/uYRsQ86zoDNUC97hJKFIGPH88JGLos/McrV miyg== X-Gm-Message-State: AJIora9jnzr3pbP57A8UtPP8plEi/7mavO0egjfndT9U/+dtp/NhwCYQ 6SBLjivWAm4AdBsktk92wi2w8dZ/2nPJx+ekWdUM+H/Q9ToshV1DlnaAzEdYtsJd3OmVYFrXTYx JzYTKH8T0+36qyzDGqGA= X-Received: by 2002:a05:651c:17a4:b0:259:d79:1d33 with SMTP id bn36-20020a05651c17a400b002590d791d33mr7377080ljb.477.1656074135981; Fri, 24 Jun 2022 05:35:35 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tlQbFILlFkg2dzWY2zUOl9o0KWb+TsDbxREiG9vl2XEZ14ATqUTaL5nVbv2frTv2tiibtCS84wDmAkkJRaUpE= X-Received: by 2002:a05:651c:17a4:b0:259:d79:1d33 with SMTP id bn36-20020a05651c17a400b002590d791d33mr7377064ljb.477.1656074135773; Fri, 24 Jun 2022 05:35:35 -0700 (PDT) MIME-Version: 1.0 References: <20220220182147.9750-1-stephen@networkplumber.org> <20220622205257.404945-1-stephen@networkplumber.org> In-Reply-To: <20220622205257.404945-1-stephen@networkplumber.org> From: David Marchand Date: Fri, 24 Jun 2022 14:35:24 +0200 Message-ID: Subject: Re: [PATCH v4] lib: document existing free functions To: Stephen Hemminger Cc: dev , Fan Zhang , Ashish Gupta , Akhil Goyal , Harman Kalra , Byron Marohn , Yipeng Wang , Jerin Jacob , Vladimir Medvedkin , Sameh Gobriel , Reshma Pattan , Cristian Dumitrescu , Jasvinder Singh , Olivier Matz , Ciara Power , Chengwen Feng Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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, Jun 22, 2022 at 10:53 PM Stephen Hemminger wrote: > > Make sure all functions which use the convention that XXX_free(NULL) > is a nop are all documented. > > The wording is chosen to match the documentation of free(3). > "If ptr is NULL, no operation is performed." > > Signed-off-by: Stephen Hemminger Squashed similar updates for acl, lpm and pipeline API that were in https://patchwork.dpdk.org/project/dpdk/list/?series=21752&state=* series, and applied. Thanks. -- David Marchand