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=-3.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS 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 8FDB0C10F11 for ; Mon, 22 Apr 2019 22:20:32 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 17AAC205F4 for ; Mon, 22 Apr 2019 22:20:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=monjalon.net header.i=@monjalon.net header.b="c3caAsEX"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="4c+58Xn3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 17AAC205F4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=monjalon.net 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 AC0061B49C; Tue, 23 Apr 2019 00:20:30 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 75EC91B48F; Tue, 23 Apr 2019 00:20:29 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 12B5821FE8; Mon, 22 Apr 2019 18:20:29 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 22 Apr 2019 18:20:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=K2vdwDGroCnX6EaV1gTk9qmxenkAtNeFoTsZ9HwBmpw=; b=c3caAsEXTXwz QD8hpx6BL0Pht1UfZ2oIe8pEyZRbBUqvAjzKWzrT1GqAkHQKxQVuUMjF35q/v/GJ Eajzt0vh6MD5pXe7paAEF+fF+juDPzG7BWkE4cLOTxgQPj57mAXktCce0TQVwysS WsYcc1Wx4xd9Lqhey5ZwFhZHQWyPTSY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=K2vdwDGroCnX6EaV1gTk9qmxenkAtNeFoTsZ9HwBm pw=; b=4c+58Xn3MYEAUBt8zkFi6zStGN1ixoP5QzuHnvoiuyTnFVOkZfIUN055z +rrvhLSu3klXSQr9l5M9B0Xo9NdpU+FByNnQzCP/322qvAjVRGqtpHAStwebV4Vk OGjdmSD/Xz5AWVsez5/0+bhEoi9NgWy7HzQY7nEPyF9iBtYwIGFuHbeZQV0Urlhm LJG+Vd+JJCRXqVgG9ZweDSk+R4EmApjmr99QEwt12Ir4Nhp1PA0ALbGQ1hmO1TGm 3EubKwhRGH3lM2L9Ux6pjkj+Vv1L5kc3H1xTyK5o6PWeC6vA+Gqy0M8b5x143vQS EbeKcsyXlr3iIIdymYu82BkGOvl9A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrgeejgddtfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epkeefrdduudehrdduheehrddufeeknecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho mhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from xps.localnet (acaen-257-1-30-138.w83-115.abo.wanadoo.fr [83.115.155.138]) by mail.messagingengine.com (Postfix) with ESMTPA id 770D0E415C; Mon, 22 Apr 2019 18:20:26 -0400 (EDT) From: Thomas Monjalon To: "Sirvys, Andrius" Cc: stable@dpdk.org, "Mcnamara, John" , "dev@dpdk.org" Date: Tue, 23 Apr 2019 00:20:24 +0200 Message-ID: <1708946.S1UqcUaSvh@xps> In-Reply-To: References: <20190418085206.86048-1-andrius.sirvys@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v2] lib/bitratestats: fix 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" > > Checking the return value of rte_metrics_update_values, if failed > > returning that value. > > Coverity had picked up that that the return value wasn't being checked. > > > > Coverity issue: 336863 > > Fixes: 2ad7ba9a6567 ("bitrate: add bitrate statistics library") > > Cc: remy.horton@intel.com > > > > Signed-off-by: Andrius Sirvys > > Acked-by: Rami Rosen > > Acked-by: John McNamara +Cc: stable Applied, thanks