From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id E2A038DA1 for ; Mon, 16 Apr 2018 16:45:51 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 584BC21042; Mon, 16 Apr 2018 10:45:51 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 16 Apr 2018 10:45:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=0jU/OdGH1BrUBIwdmZvu1xzQAO FeegP9Fo7OjBN0q5E=; b=RBN2rqT7R3A3l+wM1sEuZO3jrXeTDLGV2llCh4lxyT vxcLaCxBl41ahBtsv8TjzUsSaDbk4ZIyEDVO9liRAv6zcgDpe8XjoM2zGJqptKOt 5xNYq9fkgVdqVXkRf4h8xCN6FK3At6PhBMAV+b6wBhkBBZvrEfaiCZrFWBjn3N/H I= 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-sender:x-me-sender:x-sasl-enc; s=fm2; bh=0jU/Od GH1BrUBIwdmZvu1xzQAOFeegP9Fo7OjBN0q5E=; b=iqPl9zh1yRxZ0akLyuL37Z 4edkvHIu53kqfc/n+TSzgZ7a9BQa+J8sQhqrZUvdf3/RAWcQ20IgRrP7LpMxzp1Q nVJm9kvMd2xayqNnxyHOsqdaRHg082iUKVOT5KVTeQcZt2x+yPWb+JZjfsgv1BqK pGVSoiFwDfPwCauTg1kWJdX02Ot9jHff6fU9KbgY4gILM0eysztgdkqpaaqcwQQS +ZAAjo2C2EINUjL0oqlew1flFDiNmM28E/L8AY7gOa9L8zNY1G6HTra/UcsHCAfn Vyl6J1rCnV7/9TH6FOxK6RzYx7mA2SncIl+nPb3LgpunR7C+JT5zxrsCPTeRCpTg == X-ME-Sender: Received: from xps.localnet (62.14.136.77.rev.sfr.net [77.136.14.62]) by mail.messagingengine.com (Postfix) with ESMTPA id E6FE6E43E8; Mon, 16 Apr 2018 10:45:49 -0400 (EDT) From: Thomas Monjalon To: Gowrishankar Cc: dev@dpdk.org, Sunil Kumar Kori , Shreyansh Jain , Anatoly Burakov Date: Mon, 16 Apr 2018 16:45:47 +0200 Message-ID: <7697161.E7VujqbLYQ@xps> In-Reply-To: References: <1103cd020ba0357f46650c6de1807cbf35d2a83c.1523595512.git.gowrishankar.m@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] event/dpaa: fix integer overflow on max_event_ports at compile time 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: , X-List-Received-Date: Mon, 16 Apr 2018 14:45:52 -0000 > > From: Gowrishankar Muthukrishnan > > > > dev_info->max_event_ports is uint8_t. dpaa_event_dev_info_get assigns > > DPAA_EVENT_MAX_EVENT_PORT (which is RTE_MAX_LCORE, upto 256 in > > ppc64le) into this variable, which breaks compile in ppc64le. > > > > Fixes: 9caac5dd1e ("event/dpaa: introduce PMD") Cc: stable@dpdk.org > > Signed-off-by: Gowrishankar Muthukrishnan > > > > > > Acked-by: Sunil Kumar Kori Applied, thanks