From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal: cleanup strerror function Date: Thu, 05 Oct 2017 23:55:37 +0200 Message-ID: <3122038.lc2pOkioPz@xps> References: <20170907130956.157969-1-bruce.richardson@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Van Haaren, Harry" To: "Richardson, Bruce" Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 645701B1BF for ; Thu, 5 Oct 2017 23:55:39 +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" > > When compiled on Ubuntu with extra warnings enabled, the rte_strerror() > > function triggered a warning about an unused return value from > > strerror_r(). Rather than always have this warning disabled, we fix this, > > and in the process do some cleanup of the code so as to reduce the > > complexity of the fix, e.g. not having the #ifdef macros inside the > > snprintf call. > > > > Signed-off-by: Bruce Richardson > > Acked-by: Harry van Haaren Applied, thanks