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 6F5FFA0A0A for ; Thu, 6 May 2021 04:56:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 653C640040; Thu, 6 May 2021 04:56:43 +0200 (CEST) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mails.dpdk.org (Postfix) with ESMTP id 8BB78410DB for ; Thu, 6 May 2021 04:56:42 +0200 (CEST) Received: by mail-pj1-f54.google.com with SMTP id gq14-20020a17090b104eb029015be008ab0fso2655517pjb.1 for ; Wed, 05 May 2021 19:56:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Uqhe2ecAtEBjH41xxXERJKGsLSj3/1MA8bAlBdzidzQ=; b=Vx5vjyzc6LVTMPiOZ7hr38a3yOaGa5KkCbKsXm9VpuxmSbCvsE/0uE4dd1WNYUSPPf qfaHkHVBTwuVKR0wqlTshucEdL9Vyg9HdJd0zrokfUDmSvR+1soPg/lnaRGeIUm4mmhS xdH2KTHAa55zaCbFnVxdeE7Vr51PwDfC0EIFirN1antIsInE6mQ6p013gxYn4EfkoBNW bEoIN96DgR7404rNOiF6B/zCc0HuhtdJJHicJy7C31ot9X5647GXPSkpaANgTbipcSxX /vP5IFPPlAOiLm0IC2KqZClaCJoJU7R7+DX7fQXKl2lRmr0kQ7psUV44fZXbOkBqQWY3 aqwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Uqhe2ecAtEBjH41xxXERJKGsLSj3/1MA8bAlBdzidzQ=; b=r9RliMLmsogjd+4ptVNT0hAxKjBx4zUoM/oQKomci44XSln4oEy8T7wUMbIYA3o4Mn ejJLZY3CNe8+kjxysOzmjkJ6fK9E/fgO0HmlutVktxiK23alYDYciiHWhAS7QyAj/BKy fl7ROa4uo4VUQgao7OIcOgPuhnx0z2eN4eqLhwlahlAW+ziG/aYtcUs/K1XaYTUJxeVu QtguYB3XJqCvfexMTMcIYEGENyld1S+Cnn8Z1AmP6PsCUKGAsG8/1TrNYw2P6np6/TQj gP3pgZ6CnNBFOvzN0zUdOhoGn2AqJgCsyz2W8mlWsO6I/E900gyagsLltu2VZsfWzHjA kZWA== X-Gm-Message-State: AOAM531HLTMBpxDZH0SkskxUtJEnyR5YmliiW3VQxxFht7Bdf20Kxcdc co353skhQEqyUBRvXqZ0FmURA8nuYenxag== X-Google-Smtp-Source: ABdhPJxKBoKgBPxgRAwuNmhUp9G3D66hmhtkXEdaW3EODfLWEGypayHz9l7Cj4k0MU6dnJ89xwzmpg== X-Received: by 2002:a17:90a:4615:: with SMTP id w21mr2019966pjg.50.1620269801741; Wed, 05 May 2021 19:56:41 -0700 (PDT) Received: from hermes.local (76-14-218-44.or.wavecable.com. [76.14.218.44]) by smtp.gmail.com with ESMTPSA id x10sm533858pjq.53.2021.05.05.19.56.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 May 2021 19:56:41 -0700 (PDT) Date: Wed, 5 May 2021 19:56:12 -0700 From: Stephen Hemminger To: Dmitry Kozlyuk Cc: dev@dpdk.org, stable@dpdk.org, Tyler Retzlaff , Bruce Richardson , John McNamara Message-ID: <20210505195612.347322b4@hermes.local> In-Reply-To: <20210505215435.22336-1-dmitry.kozliuk@gmail.com> References: <20210505215133.21818-1-dmitry.kozliuk@gmail.com> <20210505215435.22336-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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" 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