From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 1EFB45A92 for ; Wed, 18 Nov 2015 16:58:10 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 18 Nov 2015 07:58:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,313,1444719600"; d="scan'208";a="853965742" Received: from sie-lab-212-209.ir.intel.com (HELO silpixa00377983.ir.intel.com) ([10.237.212.209]) by fmsmga002.fm.intel.com with ESMTP; 18 Nov 2015 07:58:07 -0800 From: Sergio Gonzalez Monroy To: dev@dpdk.org Date: Wed, 18 Nov 2015 15:58:06 +0000 Message-Id: <1447862286-13029-1-git-send-email-sergio.gonzalez.monroy@intel.com> X-Mailer: git-send-email 2.4.3 Subject: [dpdk-dev] [PATCH] mem: fix incorrect doxygen doc regarding memzones X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2015 15:58:11 -0000 We can free memzones now, so remove incorrect doxygen documentation stating otherwise. Fixes: ff909fe21f0a ("mem: introduce memzone freeing") Signed-off-by: Sergio Gonzalez Monroy --- lib/librte_eal/common/include/rte_memzone.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/librte_eal/common/include/rte_memzone.h b/lib/librte_eal/common/include/rte_memzone.h index 53f4232..f69b5a8 100644 --- a/lib/librte_eal/common/include/rte_memzone.h +++ b/lib/librte_eal/common/include/rte_memzone.h @@ -100,7 +100,7 @@ struct rte_memzone { * * This function reserves some memory and returns a pointer to a * correctly filled memzone descriptor. If the allocation cannot be - * done, return NULL. Note: A reserved zone cannot be freed. + * done, return NULL. * * @param name * The name of the memzone. If it already exists, the function will @@ -151,7 +151,6 @@ const struct rte_memzone *rte_memzone_reserve(const char *name, * boundary, and returns a pointer to a correctly filled memzone * descriptor. If the allocation cannot be done or if the alignment * is not a power of 2, returns NULL. - * Note: A reserved zone cannot be freed. * * @param name * The name of the memzone. If it already exists, the function will @@ -207,7 +206,6 @@ const struct rte_memzone *rte_memzone_reserve_aligned(const char *name, * Memory buffer is reserved in a way, that it wouldn't cross specified * boundary. That implies that requested length should be less or equal * then boundary. - * Note: A reserved zone cannot be freed. * * @param name * The name of the memzone. If it already exists, the function will -- 2.4.3