From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7A1AEA0588; Thu, 16 Apr 2020 22:05:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 27F641DAA7; Thu, 16 Apr 2020 22:05:57 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 371991DA1F; Thu, 16 Apr 2020 22:05:56 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 6DFFB5C024A; Thu, 16 Apr 2020 16:05:55 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Thu, 16 Apr 2020 16:05:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=Vztoe1BoqQBYqOHHI35W4hUo3ijrSwSlQPDo1inOt7I=; b=GBM/j4Bg4qJe yeG9EylpM8+iu5dT1wNoTlCFfH3LbPmVu8v/eyWL7F1/SRGEoDiflKWcsfCo3U7d RtEWtaLo2fMcKw616u5hGg2q9aK6u6JWFJTd3LHwOnjltlREokJ8vUTMGSm3YQ5j 16i+CjCqLehx/1Cz8STiGghsLtck5os= 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=Vztoe1BoqQBYqOHHI35W4hUo3ijrSwSlQPDo1inOt 7I=; b=HnGPE9FBuKF8fjwiJY1L90p6hYWAnHYplxlOXZkg1bGrgb1BGpIfhGh5U g6BEBsQoaV5Va21UErgQ7R2sI8KDq/C+BpAu/szLvnH3H5UKHfXVosNB6PjUlOD0 pVO+Rb17bK7l8FN65vDytzkb6FQUnHb6cKQn2XkQqpKmYUeOP7CgzL/iGYiTgmKi GkkBrSugbQ/+MSSnAdwddQ43CGYzaka7iaXp/YRHUGRi+qux4v62CAfEN3e913GN 81gihyMIebSyyP2jds0I4y1MAvYQnizsCKEdB7QcwhPF/rqn2Tcgo0iK8Rxvhnj+ POKHLA9Fw6AjmoaRFh85Ncg3H731A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrfeehgddugeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id B345A3060066; Thu, 16 Apr 2020 16:05:53 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: stable@dpdk.org, ivan.malov@oktetlabs.ru, arybchenko@solarflare.com, stephen@networkplumber.org, stable@dpdk.org, Ferruh Yigit Date: Thu, 16 Apr 2020 22:05:52 +0200 Message-ID: <4183414.BaHzMo0RvP@thomas> In-Reply-To: <20200407224758.57459-1-thomas@monjalon.net> References: <20200407224758.57459-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] log: fix level picked with globbing on type register 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 08/04/2020 00:47, Thomas Monjalon: > When a log type is registered, the level can be picked > by matching saved options. > The check of fnmatch globbing result was reversed. > > The same bug was already fixed in a similar function. > This one is acting in log type register function. > > Note: this function rte_log_register_type_and_pick_level() > is not used a lot and could be merged with rte_log_register(). > > Fixes: 6ff0f81d0ef7 ("log: fix pattern matching") > Cc: stable@dpdk.org > > Signed-off-by: Thomas Monjalon Applied