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 645701B1BF for ; Thu, 5 Oct 2017 23:55:39 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E74C520BF6; Thu, 5 Oct 2017 17:55:38 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 05 Oct 2017 17:55:38 -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:x-sasl-enc; s=mesmtp; bh=0sWB2eOS6XEB9Rx JEKR0UdCYJ1O6U/fuL+wWJ1P8Xsc=; b=L+1jnxWhFYXlEwSPJV5Uy/L59aQki5x y17AxEb9wm7J+G3los7+JEY2NJxzf3CO7ovh8FjWQoC7lPOuPJn1iCCGUSu5u8JB 0oL93qNeG8X5K74wBTs4cDuHpB5TEC4JpPRnn44nviwQnsA/UsMPCV/DzcjOs88p M82IU1Kr6b8I= 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:x-sasl-enc; s= fm1; bh=0sWB2eOS6XEB9RxJEKR0UdCYJ1O6U/fuL+wWJ1P8Xsc=; b=RQ33LOIA GNCtcRdKXHvpZB4ulZ3sTmCPlIspeEW0X8Xkw3W2Z176hHq8pDNbaMz4Yx7P9+7Q TCYtpaxvVozvIqiltxAszRHURUCRv7EMxwU88jvHrkKEkYEKja5AGWpEpRrVwUDD 1x7zh6qeQJxf8RvZJ85o5GLicF51IT7uA3HDVSt/9KiDXMyGv+tg1eeiPVIQXI78 fr95FPcJBCLk2MpOkwrg1CyE6oVYWT3dVO0TrH4dUAvBv0Uthga3mjLrMvgWLEdi 7utnJwJ1pDCqV6UjRdlkY1CiOBS5s+9lVtxeokuTolUMQNCMbw0g0xfaUbIcNYg0 8b4mso0a84oiCA== X-ME-Sender: X-Sasl-enc: xXZx/msc2P4y/raLfh57xogrv+hhd4JzpLiv8n1HhA0A 1507240538 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 9BAEC7E4ED; Thu, 5 Oct 2017 17:55:38 -0400 (EDT) From: Thomas Monjalon To: "Richardson, Bruce" Cc: dev@dpdk.org, "Van Haaren, Harry" Date: Thu, 05 Oct 2017 23:55:37 +0200 Message-ID: <3122038.lc2pOkioPz@xps> In-Reply-To: References: <20170907130956.157969-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] eal: cleanup strerror function 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, 05 Oct 2017 21:55:39 -0000 > > 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