[dpdk-dev] [PATCH 3/3] ethdev: fix negative return values in xstats

Thomas Monjalon thomas at monjalon.net
Tue Oct 24 00:26:42 CEST 2017


Suggested title:
	check more errors in xstats retrieval

20/10/2017 02:03, Ferruh Yigit:
> Some function calls in xstat functions can return negative values
> to indicate the error, check return values for those cases.
> 
> Coverity issue: 195028, 195026
> Fixes: 8c49d5f1c219 ("ethdev: rework xstats retrieve by id")
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>

Acked-by: Thomas Monjalon <thomas at monjalon.net>


More information about the dev mailing list