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 8E2D9A0C42 for ; Wed, 12 May 2021 21:37:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8198E410F6; Wed, 12 May 2021 21:37:22 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id 33F944003E; Wed, 12 May 2021 21:37:19 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7F5835C00C1; Wed, 12 May 2021 15:37:18 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 12 May 2021 15:37:18 -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=fm1; bh= 5fcK/vy6+oiW7STDUjxVXebN4BcDbZsriYAM3+xvo3k=; b=kiBw1/oZzDc+mGfI WBmaY3ovZyLxYrimdWBWfYxROQE6sGUFfXONhiZjbWZ1w1hteZVGz/3ruKDZCngr fs0vUaCzqISGzBPA6Gx3Q2UStaqpiali8y/sCCkb2xvVHOzSwHCOJzzAknePHwDS PuAN8i0cFy5kZCHxccUFSDMGWiB7CvBbeZxAa1nH2eaYiIJMkLqgzJQTP7xM4/QV m14klBAZTFJG6LbeV1qqN4brIlUC+qds+SPZkAAr4ygrHUdpqwq5s9w713pFxfvD qZAiNHBUpORRUCY2Xfc0dCsuAS0WpxQrMX3IhZ/biqJwyVMt2cnvusOWoTS98ISZ fJWwLw== 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=fm2; bh=5fcK/vy6+oiW7STDUjxVXebN4BcDbZsriYAM3+xvo 3k=; b=PIypEnYqIYfwyoTNrOhysNzD7DXQeNUCLP+9saD7iUNTKjW0BUG8IJjyz +vt3Dcz52pLfrtjiyVRaQP/rOro60Sxu/1yVYlkDWrmSnvBmd6YathIz7qiUUNzb z/9+h5neUa6D7Pf4zHIyz5Eb65BwCLnDuyyG1oAO4axpShzAGa/81qGHkAriY9e/ PSSuMNJv5bwc77U6J6bZKcdOevUsSWYji0zz08mvDmYrjT2f4vslX3r9qlya2CA6 9YuvJYkRE66/sRQvpZbJg4Z7sorsbMj9IOaUz7srt1VPwcqvUUTKd6QnsMkVdQw8 OzsJYRK+D80nC/hPhJNQUekjy8qJQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdehvddgudefjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr lhhonhdrnhgvth 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; Wed, 12 May 2021 15:37:16 -0400 (EDT) From: Thomas Monjalon To: Dmitry Kozlyuk Cc: stable@dpdk.org, dev@dpdk.org, Tyler Retzlaff , Bruce Richardson , John McNamara , Stephen Hemminger Date: Wed, 12 May 2021 21:37:15 +0200 Message-ID: <2088319.hoTfGMjtrR@thomas> In-Reply-To: <20210505195612.347322b4@hermes.local> References: <20210505215133.21818-1-dmitry.kozliuk@gmail.com> <20210505215435.22336-1-dmitry.kozliuk@gmail.com> <20210505195612.347322b4@hermes.local> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v3] examples/rxtx_callbacks: fix port ID format specifier 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" 06/05/2021 04:56, Stephen Hemminger: > On Thu, 6 May 2021 00:54:35 +0300 > Dmitry Kozlyuk wrote: > > > This fixes -Wformat warning with clang 10.0.0 on Windows. > > > > Fixes: f8244c6399d9 ("ethdev: increase port id range") > > Cc: stable@dpdk.org > > > > Signed-off-by: Dmitry Kozlyuk > > Acked-by: Tyler Retzlaff > > --- > > v3: PRIx16 -> PRIu16 > > v2: u% and a cast -> PRIx16 (Tyler, Thomas) > > examples/rxtx_callbacks/main.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/examples/rxtx_callbacks/main.c b/examples/rxtx_callbacks/main.c > > index b57b2fc6bc..192521c3c6 100644 > > --- a/examples/rxtx_callbacks/main.c > > +++ b/examples/rxtx_callbacks/main.c > > @@ -329,7 +329,7 @@ main(int argc, char *argv[]) > > /* initialize all ports */ > > RTE_ETH_FOREACH_DEV(portid) > > if (port_init(portid, mbuf_pool) != 0) > > - rte_exit(EXIT_FAILURE, "Cannot init port %"PRIu8"\n", > > + rte_exit(EXIT_FAILURE, "Cannot init port %"PRIu16"\n", > > portid) > > Ok, that matches what is used in rte_ethdev.h > > Acked-by: Stephen Hemminger Applied, thanks