From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BDAA2A0548 for ; Sun, 28 Feb 2021 13:54:37 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 03E6122A2E8; Sun, 28 Feb 2021 13:54:29 +0100 (CET) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by mails.dpdk.org (Postfix) with ESMTP id B635122A2E3; Sun, 28 Feb 2021 13:54:25 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 69B7D5D4; Sun, 28 Feb 2021 07:54:24 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 28 Feb 2021 07:54:25 -0500 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; s=fm3; bh=Tng9biq6UIYWa AVboArNrq+zZmgfHLM7Fk7rOEuu0lQ=; b=aBdKSS84RkXbzMajVGJHCkkGBdyRx 2yf6mo5DE2++NusGR/6ukSb3vmMN1mm7A4o7pIEpzHCV4UpnNNIaUmFqNaiFrK2q SqHS8z/8L6H/aZlbUrYb5ACR2xvQPJMtR1OLf2LKV/f3PuxBaGTpbZUrvyikuDgi zR4Eu0Qn0SugflMh3DpGZLyMCzgFu+D0m/HH41qdmVfoz88SzSsGTrOlzMsGfH1A 02BdKNENkrbPzU/W/+JP8xLQ0tgBI6lPNOwzofe+Gu5c8OGRzWjfpJRFjxZAqSJp uuhm/zqwCwxPSWhsqv9LrVC3T3tYXnU8A7BYYvRUazSwxv2dxTX49Q3fQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=Tng9biq6UIYWaAVboArNrq+zZmgfHLM7Fk7rOEuu0lQ=; b=Yba8aylv zciaWjES4swsQ+I6aTXdpHu65yqikf0ya5iLOwdqSo6Uvi2C8ym7Y7sTpoNIx6O2 n/pz+RH81J9qqwSkCTe1su4FxkE91xLmixqj2cIercv/MGFZOPptoyWVjvY64v1Q RPONSSTnRfSuQxDIGOQqZiW14/cYb4Tc6+LH14YNGJ+fX0CrscApzG3iG9Z1ler2 dPX6hvq5wXUYbTzsmsTH0JgonNQMRSuBQdftkMO7ci39JxW9PcH9vTIhjMgLNpQC UUApCcIn7og98pbgFrJWOq+zNJd1NJDR6j/K7wrc49cNTqBxlQlUXSFUm/7Z/7MX HFQbJovysEGdZg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrleeigdegkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedvhefgiedvjeegtdevheefhfetleefgfeivefgffevfeejgedtgfeu tdehtdegveenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuih iivgepgeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvth X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 131B71080059; Sun, 28 Feb 2021 07:54:22 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: ncopa@alpinelinux.org, stable@dpdk.org, David Marchand , Haiyue Wang , Jeff Guo , Alvin Zhang , Ferruh Yigit Date: Sun, 28 Feb 2021 13:53:49 +0100 Message-Id: <20210228125353.2436562-15-thomas@monjalon.net> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210228125353.2436562-1-thomas@monjalon.net> References: <20190313170657.16688-1-ncopa@alpinelinux.org> <20210228125353.2436562-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [PATCH v6 14/17] net/igc: remove use of uint type X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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" Improve portability (especially with musl libc) by replacing the non-standard type 'uint' with 'size_t'. Fixes: 746664d546fb ("net/igc: support flow API") Cc: stable@dpdk.org Suggested-by: David Marchand Signed-off-by: Thomas Monjalon Acked-by: Haiyue Wang --- drivers/net/igc/igc_flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/igc/igc_flow.c b/drivers/net/igc/igc_flow.c index 1bb64d323c..66053060af 100644 --- a/drivers/net/igc/igc_flow.c +++ b/drivers/net/igc/igc_flow.c @@ -656,7 +656,7 @@ igc_parse_action_rss(struct rte_eth_dev *dev, * Return the pointer of the flow, or NULL for failed **/ static inline struct rte_flow * -igc_alloc_flow(const void *filter, enum igc_filter_type type, uint inbytes) +igc_alloc_flow(const void *filter, enum igc_filter_type type, size_t inbytes) { /* allocate memory, 8 bytes boundary aligned */ struct rte_flow *flow = rte_malloc("igc flow filter", -- 2.30.1