From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal: fix log level check Date: Tue, 28 Apr 2015 15:46:35 +0200 Message-ID: <12547367.7Q7suqn0lR@xps13> References: <1428347660-9861-1-git-send-email-david.marchand@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Jean Dao Return-path: In-Reply-To: <1428347660-9861-1-git-send-email-david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" > 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