From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v1] lib/metrics: disallow NULL as metric name Date: Thu, 26 Jul 2018 20:31:18 +0200 Message-ID: <18691437.LidVmR8x10@xps> References: <20180702134608.6805-1-remy.horton@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Ferruh Yigit , Reshma Pattan To: Remy Horton Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 1631125D9 for ; Thu, 26 Jul 2018 20:31:24 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 20/07/2018 17:30, Ferruh Yigit: > On 7/2/2018 2:46 PM, Remy Horton wrote: > > This patch adds a sanity check so that names passed into > > rte_metrics_reg_names() and the wrapper rte_metrics_reg_name() > > cannot be NULL. > > > > Fixes: 349950ddb9c5 ("metrics: add information metrics library") > > > > Signed-off-by: Remy Horton > > Acked-by: Ferruh Yigit Applied, thanks