From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8EB3DA0542; Thu, 13 Feb 2020 15:01:04 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6BBA41BFEB; Thu, 13 Feb 2020 15:01:04 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id AE4CD1BFD1 for ; Thu, 13 Feb 2020 15:01:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581602462; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TcnOnyBuuy7tKI1Cl+OVSLW91/vanCtVcMQP6e688Ag=; b=cZQ/TjN8/uPVt1x5spa9nK65cpbgsUN+95KtLjzBHHCrOJEmUPS7h0YJlV2SJ99HWByfby CFOPFRt4opsnSOqewW0UEtba3XSgcwTGpQV3aYhn1rTwuA3ZIzPoV8tjymLmUaArSPL055 gQZs0KfSIIz/knpSZO29lfUesRfViVY= Received: from mail-ua1-f70.google.com (mail-ua1-f70.google.com [209.85.222.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-176-uNCs_c8ENDGnp_VVQAkHOQ-1; Thu, 13 Feb 2020 09:00:59 -0500 Received: by mail-ua1-f70.google.com with SMTP id o13so1389803uad.7 for ; Thu, 13 Feb 2020 06:00:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4qPUzIXQle433HqajQ1cNx4PN1niO44SOMvLcHkbprQ=; b=QRhbgSTYoS+DguuoFDWV87hdDaiT+nhDRVSeRZF2Zjvqy9qtJQ4Ykzy68yZ4QMzRhN AbFUUjnl9dNf11tM6CgkURV6FObSiAnLd6Ayo79exrIT0p9YPicAY4d3cnXQ4ykWeNos XHnGnjsRI2+pOq+hG4bMz8Nf/VMziIj0AEdUicn/M3UOzWoVpIZWwloQRVozRZ8onw+A huSwtpDJSWybHVq9iJ/JCt42FhUWAfnLHL/3a0hp54Q7kFVNZRgenji/W3pE01qfnO+X /yqlvXDHQSkbKY5eiWkWOC08hJfrbEGSuB0z2aWwmtzZZDpxtbE0KVyoIv0gameQaBgr WOzA== X-Gm-Message-State: APjAAAXW+TBtTAS3YoVW9JZR/VH/xqVoM2IJoJOg0cNiryJRk/38udm6 1C21UowHJDz8qarGPhndRBESaIyFlx6lkE4tnAk2zGszkCbqFyk0XvF2SD1kdcZVjdreAsa1NWB 9U9zW0hGGMeBuXakWtBs= X-Received: by 2002:a1f:72c3:: with SMTP id n186mr10337547vkc.12.1581602458803; Thu, 13 Feb 2020 06:00:58 -0800 (PST) X-Google-Smtp-Source: APXvYqxOIunGD2kzgeGUrmfTG2f1pnEgJKctbNBtIIEZ34RjST1xqJhErib73P/hHyTMfW/82PwHatMrCDkOV881IvE= X-Received: by 2002:a1f:72c3:: with SMTP id n186mr10337523vkc.12.1581602458446; Thu, 13 Feb 2020 06:00:58 -0800 (PST) MIME-Version: 1.0 References: <20191128100325.25003-1-praveen.shetty@intel.com> <20191128112715.26283-1-praveen.shetty@intel.com> <20191128113209.GA2386@bricha3-MOBL.ger.corp.intel.com> In-Reply-To: <20191128113209.GA2386@bricha3-MOBL.ger.corp.intel.com> From: David Marchand Date: Thu, 13 Feb 2020 15:00:47 +0100 Message-ID: To: Praveen Shetty Cc: dev , Pawel Modrak , Bruce Richardson X-MC-Unique: uNCs_c8ENDGnp_VVQAkHOQ-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 12:32 PM Bruce Richardson wrote: > > 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: stable@dpdk.org > > > > Signed-off-by: Praveen Shetty > > --- > > examples/ioat/ioatfwd.c | 6 +++++- > > 1 file changed, 5 insertions(+), 1 deletion(-) > > > Acked-by: Bruce Richardson Applied, thanks. --=20 David Marchand