From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id CB59C3238 for ; Fri, 15 Sep 2017 12:47:40 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Sep 2017 03:47:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,396,1500966000"; d="scan'208";a="1195404434" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by fmsmga001.fm.intel.com with ESMTP; 15 Sep 2017 03:47:39 -0700 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.59]) by IRSMSX152.ger.corp.intel.com ([169.254.6.87]) with mapi id 14.03.0319.002; Fri, 15 Sep 2017 11:47:36 +0100 From: "Van Haaren, Harry" To: "Richardson, Bruce" , "dev@dpdk.org" CC: "Richardson, Bruce" Thread-Topic: [dpdk-dev] [PATCH] eal: cleanup strerror function Thread-Index: AQHTJ9+HcRV1ezNsM0eYj2hNNKMtpKK10COw Date: Fri, 15 Sep 2017 10:47:35 +0000 Message-ID: References: <20170907130956.157969-1-bruce.richardson@intel.com> In-Reply-To: <20170907130956.157969-1-bruce.richardson@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZmMwMWNjM2QtYTE3YS00ZTAyLWI3ZDMtZjIwMzRiNzY5MmVmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IjZreUtacktGek1cL3BNQ0V5WUhlSXBXWGhFVEVkM3I2MCtNamtsYmo4SkRVPSJ9 x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: Fri, 15 Sep 2017 10:47:42 -0000 > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Bruce Richardson > Sent: Thursday, September 7, 2017 2:10 PM > To: dev@dpdk.org > Cc: Richardson, Bruce > Subject: [dpdk-dev] [PATCH] eal: cleanup strerror function >=20 > 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. >=20 > Signed-off-by: Bruce Richardson Acked-by: Harry van Haaren