[dpdk-dev] [PATCH] eal: cleanup strerror function

Van Haaren, Harry harry.van.haaren at intel.com
Fri Sep 15 12:47:35 CEST 2017


> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson
> Sent: Thursday, September 7, 2017 2:10 PM
> To: dev at dpdk.org
> Cc: Richardson, Bruce <bruce.richardson at intel.com>
> Subject: [dpdk-dev] [PATCH] eal: cleanup strerror function
> 
> 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 <bruce.richardson at intel.com>

Acked-by: Harry van Haaren <harry.van.haaren at intel.com>


More information about the dev mailing list