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 B5BFBA034F for ; Thu, 25 Feb 2021 19:24:10 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A796F1608D0; Thu, 25 Feb 2021 19:24:05 +0100 (CET) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id 58C5A1608B8; Thu, 25 Feb 2021 19:24:03 +0100 (CET) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 01FB25C00AE; Thu, 25 Feb 2021 13:24:03 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 25 Feb 2021 13:24:03 -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=uu8aiLROoSxfs 9RGUBtOq4CatSVqm0Yc+cuPt5IiRz0=; b=iCRTdFyrXMh2VjkPTRfmtCbw2qCg0 780go7bFJB1g5kc1Kkhq4AO9d7lGpaZMU5cSBDwQ9EpGbNTyVbUE/nBe+fEDDChE Eb8Mg579PAjxFHbhxFgT5z6lGDp3QZ+kxoSokomX2zmNebRYGXmeyObW9mSgU0ZG P0x1TwtJ2OLquaADbCnrpKT+AI68sEI1o/RiZUpzmQtXB9/gfmgcBzRUkwN/vstt YqxBUIPakZrAX/PVElxSuH69ydtR/ej809mpRuGVj7qbXCdNQcXQTC9FDk+H5S+b At+11iXkeZmflmrpBrwOsltDYxhVdB1UQD6RNSU/Zsrq/g6Oxu/KBRhmA== 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=uu8aiLROoSxfs9RGUBtOq4CatSVqm0Yc+cuPt5IiRz0=; b=QxL86WAL 6KeYCSOwA4I7YCg43navvITvqBxROAmnY43gSURpXF695rn1BnmLxk+BtyvkVj7g HnerLCeJ6Fp+Eto6exbJNSUmQL0Nz1YHt5hNBo6B+eDTj36CQgE4YEIVfeZYUYF+ WcjaZfCeknlTT1qUWIp/5G+c8CgepH6qG8QUpiBmYQckAVKpR3WWeogfHBZ8ug8H qPKRN3jVvq0WfBJfdgqrknyuNyzKp7JphWmUNRIVxCtGvpoGD93NNHxZD7UIyKGJ g2aMmAgy6bb+bNBCv1SgwV2m9DbCXAz/o5PMIRwhImMWryUvdMIEPmUvomclIBch yqqX15wJyJaRbA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrkeelgdduudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepvdehgfeivdejgedtveehfefhteelfefgieevgfffveefjeegtdfg uedthedtgeevnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght 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 955A8240066; Thu, 25 Feb 2021 13:24:01 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: ncopa@alpinelinux.org, stable@dpdk.org, David Marchand , Jeff Guo , Haiyue Wang , Ferruh Yigit , Alvin Zhang Date: Thu, 25 Feb 2021 19:22:47 +0100 Message-Id: <20210225182250.1149592-15-thomas@monjalon.net> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210225182250.1149592-1-thomas@monjalon.net> References: <20190313170657.16688-1-ncopa@alpinelinux.org> <20210225182250.1149592-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [PATCH v5 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 --- 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