Re: [dpdk-dev] [PATCH v1] lib/power: fix incorrect parameter to strerror

2019-11-25 Thread Thomas Monjalon
25/11/2019 16:00, David Hunt: > Should be passing errno rather than ret, which could be negative. > > Coverity issue: 350362 > Fixes: 9dc843eb273b ("power: extend guest channel API for reading") > Cc: sta...@dpdk.org > > Signed-off-by: David Hunt Applied, thanks

[dpdk-dev] [PATCH v1] lib/power: fix incorrect parameter to strerror

2019-11-25 Thread David Hunt
Should be passing errno rather than ret, which could be negative. Coverity issue: 350362 Fixes: 9dc843eb273b ("power: extend guest channel API for reading") Cc: sta...@dpdk.org Signed-off-by: David Hunt --- lib/librte_power/guest_channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)