19802aaf7c
Should be passing errno rather than ret, which could be negative. Coverity issue: 350362 Fixes: 9dc843eb273b ("power: extend guest channel API for reading") Cc: stable@dpdk.org Signed-off-by: David Hunt <david.hunt@intel.com>