From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 30108A04DD for ; Wed, 28 Oct 2020 11:51:55 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 281594CA7; Wed, 28 Oct 2020 11:51:54 +0100 (CET) Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by dpdk.org (Postfix) with ESMTP id B50C84CA7 for ; Wed, 28 Oct 2020 11:51:52 +0100 (CET) Received: by mail-wr1-f68.google.com with SMTP id y12so5149420wrp.6 for ; Wed, 28 Oct 2020 03:51:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mc1AhUdRmIvD84KFBTTMxbqcQlziKABrrI7rLOBnnXg=; b=nk0+QQlTgMTCtha2OpNSdOzfqgAMRsTapX4Ot83P+epgEE3yjcIl2suKoJFsW79ACN CBJXXt6vrHp34visi1MgBbwdj0vPOw4FEyW9lzaaEoASHc6azMhPyIf6/bXzAdcJFz+h h4MKwcWGY/o51HNgADttbHIuh6dQUcuxwgGvDYbt9MfZYEIAwrvvHx5qfpRWVfN3NYzf mR6ZNG0r/+iYj/cxFhRZYs/8STNYPPwH7pRrhnOphmN4qRPxmSsq20lvSV3SX77jEHRN shK+afdaeSI2GBfM4+zV4TX/XXm49F7oo6Pd0OWdVD5SJfie1vIzMUfH3p/Nz1GvuX0v 4ODg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mc1AhUdRmIvD84KFBTTMxbqcQlziKABrrI7rLOBnnXg=; b=mb7dHG3Y5ervx+q2AH2N8gZJdBpFGScY4pVxirlFA1DMVEj1lQY61koUkQWJyKUFRF KGI0xDZyZtuosUevYkQec3TO476nfJSrKIpfOIkcdB1qFaVVlD/XRDzYeWZ3/yHiLOYY 12/cteONab1SqL+w4Jhv44UUHjdBT5RSbeZw4BqVSlNhx1YsBh0n+GNLelqPks11YFFo /CWFHBUWjj0cqyPOIedMchn4pATDa9XFse1rjBNLHkJuyhtVhBsDp0N04Gh+GhlwZZNV /eKsO4YAPUM0FcoK5K81cw/T3DxQ6XITaYxfyJ7yeFpyVGT2mMhyOIwFv5mwLhN7FixN Usdg== X-Gm-Message-State: AOAM531pAemEBDdf+XeBLbO2QuvAp/ie4EIJFj863XxECLzumzzIcBiG TafgGr63EwQlL3ASKXilvv0= X-Google-Smtp-Source: ABdhPJzQUUoqv2STFxf8eDqYRdlFwAZtnO3Lht0J1FfsevYAQUQkqTu85RrNOcZsNU/JsQ4fUb4YVA== X-Received: by 2002:adf:80cb:: with SMTP id 69mr8030797wrl.325.1603882311474; Wed, 28 Oct 2020 03:51:51 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id l16sm6528521wrx.5.2020.10.28.03.51.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Oct 2020 03:51:50 -0700 (PDT) From: luca.boccassi@gmail.com To: Ferruh Yigit Cc: David Marchand , Thomas Monjalon , dpdk stable Date: Wed, 28 Oct 2020 10:44:26 +0000 Message-Id: <20201028104606.3504127-107-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201028104606.3504127-1-luca.boccassi@gmail.com> References: <20201028104606.3504127-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'examples/vm_power: fix 32-bit build' has been queued to stable release 19.11.6 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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" Hi, FYI, your patch has been queued to stable release 19.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 10/30/20. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Thanks. Luca Boccassi --- >From 55064d17700422e9b05ab5717ab7799ea8417fb6 Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Mon, 5 Oct 2020 18:02:01 +0100 Subject: [PATCH] examples/vm_power: fix 32-bit build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [ upstream commit 984d99ccb09fd62b8c6151698a764af6f90592cb ] Compiler version: gcc 10.2.1 "cc (GCC) 10.2.1 20200723 (Red Hat 10.2.1-1)" Build error: ../examples/vm_power_manager/guest_cli/vm_power_cli_guest.c:346:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 346 | cmdline_printf(cl, "Capabilities of [%d] vcore are:" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 349 | pkt_caps_list.turbo[i], | ~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} Fixes: 07525d1a047a ("examples/vm_power: send capabilities request from guest") Signed-off-by: Ferruh Yigit Tested-by: David Marchand Signed-off-by: Thomas Monjalon --- examples/vm_power_manager/guest_cli/vm_power_cli_guest.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c b/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c index 96c1a1ff69..f9b47186ee 100644 --- a/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c +++ b/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c @@ -344,13 +344,15 @@ cmd_query_caps_list_parsed(void *parsed_result, unsigned int i; for (i = 0; i < pkt_caps_list.num_vcpu; ++i) cmdline_printf(cl, "Capabilities of [%d] vcore are:" - " turbo possibility: %ld, is priority core: %ld.\n", + " turbo possibility: %" PRId64 ", " + "is priority core: %" PRId64 ".\n", i, pkt_caps_list.turbo[i], pkt_caps_list.priority[i]); } else { cmdline_printf(cl, "Capabilities of [%d] vcore are:" - " turbo possibility: %ld, is priority core: %ld.\n", + " turbo possibility: %" PRId64 ", " + "is priority core: %" PRId64 ".\n", lcore_id, pkt_caps_list.turbo[lcore_id], pkt_caps_list.priority[lcore_id]); -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-10-28 10:35:15.093595758 +0000 +++ 0107-examples-vm_power-fix-32-bit-build.patch 2020-10-28 10:35:11.660832320 +0000 @@ -1,4 +1,4 @@ -From 984d99ccb09fd62b8c6151698a764af6f90592cb Mon Sep 17 00:00:00 2001 +From 55064d17700422e9b05ab5717ab7799ea8417fb6 Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Mon, 5 Oct 2020 18:02:01 +0100 Subject: [PATCH] examples/vm_power: fix 32-bit build @@ -6,6 +6,8 @@ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit +[ upstream commit 984d99ccb09fd62b8c6151698a764af6f90592cb ] + Compiler version: gcc 10.2.1 "cc (GCC) 10.2.1 20200723 (Red Hat 10.2.1-1)" @@ -23,7 +25,6 @@ | uint64_t {aka long long unsigned int} Fixes: 07525d1a047a ("examples/vm_power: send capabilities request from guest") -Cc: stable@dpdk.org Signed-off-by: Ferruh Yigit Tested-by: David Marchand