From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2C0EEC432C0 for ; Thu, 28 Nov 2019 11:32:18 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id E5A4821781 for ; Thu, 28 Nov 2019 11:32:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E5A4821781 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AE38C293C; Thu, 28 Nov 2019 12:32:16 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id A374D28EE for ; Thu, 28 Nov 2019 12:32:15 +0100 (CET) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Nov 2019 03:32:14 -0800 X-IronPort-AV: E=Sophos;i="5.69,253,1571727600"; d="scan'208";a="203410565" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.46]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 28 Nov 2019 03:32:12 -0800 Date: Thu, 28 Nov 2019 11:32:09 +0000 From: Bruce Richardson To: Praveen Shetty Cc: dev@dpdk.org, pawelx.modrak@intel.com Message-ID: <20191128113209.GA2386@bricha3-MOBL.ger.corp.intel.com> References: <20191128100325.25003-1-praveen.shetty@intel.com> <20191128112715.26283-1-praveen.shetty@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191128112715.26283-1-praveen.shetty@intel.com> User-Agent: Mutt/1.12.1 (2019-06-15) Subject: Re: [dpdk-dev] [PATCH v2] examples/ioat: resolve unchecked return value X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Nov 28, 2019 at 11:27:14AM +0000, Praveen Shetty wrote: > patch checks the return value of function rte_eth_dev_info_get, > if return value is negative error message printed on the console. > > Coverity issue: 350361 > Fixes: c8e6ceecebc1 ("examples/ioat: add new sample app for ioat driver") > Cc: pawelx.modrak@intel.com > > Signed-off-by: Praveen Shetty > --- > examples/ioat/ioatfwd.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > Acked-by: Bruce Richardson Thanks for the fix. This is non-critical so merge can be deferred to 20.02