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 A3672A0487 for ; Thu, 4 Jul 2019 15:53:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 93C451BE40; Thu, 4 Jul 2019 15:53:38 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 6EB121BE40 for ; Thu, 4 Jul 2019 15:53:37 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id EF0CE2015D; Thu, 4 Jul 2019 09:53:36 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 04 Jul 2019 09:53:36 -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=VspRVvHxFbyHSto+yKQOWy8+C7UNSSq5qRIiaN/Yw10=; b=Gb9w3N/Ij55B KLEy2XS88VSn8Vpgeve+jylMr4kI/l6OXkCpGa7Eg4kJUn90guphiTGvVDw8/bw0 eIzHlh8N5lsdSrzeOnXA4rShKL1qXPYbtsMqj16rUZlaGQH/IYxHN6gNkXm05nI6 rvvWsr/Z/i0ypk0gixBSvUTvX53++FM= 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=fm3; bh=VspRVvHxFbyHSto+yKQOWy8+C7UNSSq5qRIiaN/Yw 10=; b=nCQL26fz3qbXTxp0stOsZbW1vZPl3aK+4rOhxpxAsPFooXW1g3HAPwV4b WDtqapu7NgbPbglKnK6kRJvV4yrHTmlpYzatmDPQdnyr9+Z+rKryE8KAYYXzzkYJ CFMv0ATu+FhUEqzNmNXnDvEx7MHgNkWUPF1a3bu2GZ8YVt4Q1qf30xk00cvfitj0 ktqJbCggyx3HDtJZPxLPDQFF2Lotz+LQgzT+MjrqBHycWpbQSiHbB483ja9S4Z5P 5ajRt2LwAD1GMUXWvnb+vCSt6NQn33y7GxZ9AluD1MMKyjV6F/6D5cUbNHFBy83N AQcG/+h26hr3QEIWR4DS+yRbEuJ4Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrfedvgdejvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhho mhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id BBA988006B; Thu, 4 Jul 2019 09:53:35 -0400 (EDT) From: Thomas Monjalon To: "Xu, Rosen" , "Pei, Andy" Cc: stable@dpdk.org, qabuild , "nipun.gupta@nxp.com" Date: Thu, 04 Jul 2019 15:53:34 +0200 Message-ID: <40059125.hhW5lyQpyE@xps> In-Reply-To: <0E78D399C70DA940A335608C6ED296D73A76E9FA@SHSMSX104.ccr.corp.intel.com> References: <1558506994-350578-1-git-send-email-andy.pei@intel.com> <0E78D399C70DA940A335608C6ED296D73A76E9FA@SHSMSX104.ccr.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [DPDK] raw/ifpga: fix unintentional integer overflow X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" > > cast unsigned int ports_per_retimer, unsigned int nums_retimer, unsigned > > int nums_fvl and unsigned int ports_per_fvl to uint64_t before multiply > > operation, to avoid Unintentional integer overflow. > > > > Coverity issue: 337924, 337926 > > Fixes: d1cd4eb2d48e ("raw/ifpga: support ipn3ke") > > Cc: rosen.xu@intel.com > > Cc: stable@dpdk.org > > > > Signed-off-by: Andy Pei > > Acked-by: Rosen Xu Applied, thanks