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 4C715A0562 for ; Fri, 19 Mar 2021 15:58:17 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D80B4140F7A; Fri, 19 Mar 2021 15:58:07 +0100 (CET) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by mails.dpdk.org (Postfix) with ESMTP id 213FB140F70; Fri, 19 Mar 2021 15:58:05 +0100 (CET) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id BAE571355; Fri, 19 Mar 2021 10:58:03 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 19 Mar 2021 10:58:04 -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; s=fm3; bh=OUXqsyyU8awVr NJCoTHruMOaFjJm6TZPW3ZjZ7sEcDY=; b=h5XmZvXC5obpVx3y3FM/faHT2oGkx 3kfFpIAqq1uCtpo8hNIA/MtvHtmDmHlzs8rCtLBRPmYJTeP1pOQw4WPnqr7XTHrd s5J0G2cBQK8jNsXyGtWARzopgx22XpGGN0E+Y2N5MuYFP0V7qnl3VKylOpatNmcW 12TooxgRFMVn8Zn9rnSkGwgofx6Ca4DcE36o+JtTjTkJMw0DcJzBsEDbPPqoB5x/ akgT0ji/DmAweO1qKn6ftXAPUGhz74sSQLMp4xrX4+YS5YZL877mFtkvomL3SbKs kpAtRuuLgtTSvk2/5wGq9aV3Pewn8/0NkOL9pL3s8yW5va5KmSn67ZQdQ== 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=OUXqsyyU8awVrNJCoTHruMOaFjJm6TZPW3ZjZ7sEcDY=; b=dY6E5FA+ 69nUsnmDY3YHMv6iJS67vhWFyzzQgMmhSQofyhW15fgHKoebGXngH9CPYL0auIr6 ft+XK4gsMiQKbK+09DA2g8rWGYwFBiRlUb3CqBQMrz7qRcyjvSjApRFWLJ2HKeIQ uSoflLQRFtz1i1Vi6IgyDqqRM7AA03ClwAVYNU1YbSaXGiDltzN4PF1x1AGzu1eX kbgs6f8lV3zeXNaR1CLbspAvQFsVaTz7q4HNrtQ189z3WVYC9dCrmkLMUeDVNHa0 eyP07LBIrDQz2/tjTW4wjvF4v+jN5X07ZYi16G76ZZwfC6kIkTmOOD8PZPV4E6WS 7pSIf4633oVBmA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudefkedgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepvdehgfeivdejgedtveehfefhteelfefgieevgfffveefjeegtdfg uedthedtgeevnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl 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 67110240065; Fri, 19 Mar 2021 10:58:02 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: ncopa@alpinelinux.org, stable@dpdk.org, David Marchand , Haiyue Wang , Andrew Rybchenko , Jeff Guo , Ferruh Yigit , Alvin Zhang Date: Fri, 19 Mar 2021 15:57:26 +0100 Message-Id: <20210319145730.3555384-14-thomas@monjalon.net> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210319145730.3555384-1-thomas@monjalon.net> References: <20190313170657.16688-1-ncopa@alpinelinux.org> <20210319145730.3555384-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [PATCH v7 13/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 Acked-by: Andrew Rybchenko Acked-by: David Marchand --- 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