From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id AE56021785; Thu, 26 Jul 2018 14:31:23 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 26 Jul 2018 14:31:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=bLjp3kF6govYi2gI6Vslkwbnkp /sPO9Ihl0qmJdknN8=; b=d0b+/8o+jQZSw8IoTkA5jBgOsdm2HnLQO3R9kixeCa Z9inVY/1O7Wm6PZheOFVU/o+GIkmL4VqLiIqOZqQBKqIzooKGAQWhT2iNWQcMLk6 QbaHFdRe0bpNWInDdt2J2V0No5sG+vzxlygYk/TIIeqcwBdGP8fCg5g0DylkExU5 4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=bLjp3k F6govYi2gI6Vslkwbnkp/sPO9Ihl0qmJdknN8=; b=vW5hc+/U98ISLQDYSd7mQK 39wln5+7e5RQSBjlqk66EmNE3OjLSVnLE9pqXGwLSVoF6Jwn8IXwBKkzRIRJvXyD B9XsL76m2Y7ZY4KqtydoLrOTQN8T2zcLZgjt6YfSPKXksDbQ4ue0K5cz4Q8xL9Nl +0dZ77rkJOC8wl9nIuEGCZh0FjNgF+gq6itnlnGFsS7fLOVd/e5LsUd+45DC3GPD MhtKURfszmRjwBSLHYwSyefyxo/E30jUyKHWA+es4DuC29IAJ5mD4UL4SYY6z1dW ZIJEKLTwOphx01EEt/h+MmmgReqHwZcEXIVOgheAA+2KsXMH2jxF4aWE52xIKjag == X-ME-Proxy: X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id CE27C1025C; Thu, 26 Jul 2018 14:31:22 -0400 (EDT) From: Thomas Monjalon To: Remy Horton Cc: dev@dpdk.org, Ferruh Yigit , Reshma Pattan Date: Thu, 26 Jul 2018 20:31:18 +0200 Message-ID: <18691437.LidVmR8x10@xps> In-Reply-To: References: <20180702134608.6805-1-remy.horton@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v1] lib/metrics: disallow NULL as metric name X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2018 18:31:24 -0000 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