Re: [dpdk-dev] [PATCH v2] net/failsafe: fix strerror call in sub-eal

2018-02-05 Thread Ferruh Yigit
On 2/1/2018 10:59 AM, Gaetan Rivet wrote: > Ownership API returns a negative value, strerror expects a valid errno > value, thus positive. > > Coverity issue: 260401 > Fixes: dcd0c9c32b8d ("net/failsafe: use ownership mechanism for slaves") > > Signed-off-by: Gaetan Rivet Applied to dpdk-next-n

[dpdk-dev] [PATCH v2] net/failsafe: fix strerror call in sub-eal

2018-02-01 Thread Gaetan Rivet
Ownership API returns a negative value, strerror expects a valid errno value, thus positive. Coverity issue: 260401 Fixes: dcd0c9c32b8d ("net/failsafe: use ownership mechanism for slaves") Signed-off-by: Gaetan Rivet --- v2: Fix coverity reference syntax in commit log. drivers/net/failsafe/fa