From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by dpdk.org (Postfix) with ESMTP id 6263CC5B2 for ; Tue, 28 Apr 2015 15:47:21 +0200 (CEST) Received: by wicmx19 with SMTP id mx19so108560400wic.1 for ; Tue, 28 Apr 2015 06:47:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=q23IZeVFwR5zJzJq9OLsiRz5XcgzKuF5sURYo2RMrIQ=; b=fXr8vqhILSIQfer6MHteC4QfxEzGqoIFp/0ToisbToLm7e307b7h1hACPvIG5LGe+1 fmdmWM1kORWDQsj5v4hMvG92AX//QRD/mpJ39FQODDuwehDQ9nquGZghfneN4sx8JPfS yiAiuJp8yoaF2lmALZUbbbMa9LNYkxCbl6zkXTmZJWZjJXryISLxORIo8VM5MBO+4w4y tgT3f6vhLjjfI8sKcsd2Yz00nVZsHMP7rS1TKsvnrxwUgbVJuJGayZtpEQ6a9Hl/nSua kCuwZo/KGON0GBA+kFcsdkZQw3thq86LvOlT3fQEftWofNPaVSD3Zdgm29NsAoU2sYJJ Z/Sw== X-Gm-Message-State: ALoCoQkHEM7C/4ntLwlbO52ux7pqRfBcvmgS3ss/PUrjCRCWBvWVQX03VBEseuDRj+u/zy1wiLF7 X-Received: by 10.180.74.102 with SMTP id s6mr28948372wiv.37.1430228841201; Tue, 28 Apr 2015 06:47:21 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id k2sm16519033wix.4.2015.04.28.06.47.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Apr 2015 06:47:20 -0700 (PDT) From: Thomas Monjalon To: Jean Dao Date: Tue, 28 Apr 2015 15:46:35 +0200 Message-ID: <12547367.7Q7suqn0lR@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: <1428347660-9861-1-git-send-email-david.marchand@6wind.com> References: <1428347660-9861-1-git-send-email-david.marchand@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] eal: fix log level check 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: Tue, 28 Apr 2015 13:47:21 -0000 > According to the api, rte_log() / rte_vlog() are supposed to check the log level > and type but they were not doing so. This check was only done in the RTE_LOG > macro while this macro is only there to remove log messages at build time. > > rte_log() always calls rte_vlog(), so move the check to rte_vlog() only. > > Signed-off-by: Jean Dao > Signed-off-by: David Marchand Applied, thanks