From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 3/3] ethdev: fix negative return values in xstats Date: Tue, 24 Oct 2017 00:26:42 +0200 Message-ID: <23588078.4ocSR9eRyN@xps> References: <20171020000351.57868-1-ferruh.yigit@intel.com> <20171020000351.57868-3-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Lee Daly To: Ferruh Yigit Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 3E1C21B6DE for ; Tue, 24 Oct 2017 00:26:44 +0200 (CEST) In-Reply-To: <20171020000351.57868-3-ferruh.yigit@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 Acked-by: Thomas Monjalon