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 F090DA04DD for ; Wed, 28 Oct 2020 11:52:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E3C3149E0; Wed, 28 Oct 2020 11:52:13 +0100 (CET) Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by dpdk.org (Postfix) with ESMTP id 325ABCA1C for ; Wed, 28 Oct 2020 11:52:11 +0100 (CET) Received: by mail-wr1-f51.google.com with SMTP id y12so5150556wrp.6 for ; Wed, 28 Oct 2020 03:52:11 -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=HsBtygBDXtley515+HljhlS70Z8M8I4XRFRCM8Tajoo=; b=DcuNGFhIuTJ4oXgUSeK7PuSbhcMqdxC1rNbIpI6YE/ijKQVrWrc+6YwJH1125lQ+QC 1do7KpkSIWsflr61BDbWLCfsgWs6h3S+EJFLXpce4J7x0vg4SeK/GXyEmgQVg2yf0ov9 0Qf1mu5IvB4hjwP/az7H0kfJX7YyXTt8+iY41rURh6G8JxiF0IdDUyPXS4tVaf0loHL2 fsHCeZrrszeKcisO2TBkh/NW42hhMr6OnN29DD5w3YiGhuOla0kcc8Uz7yusSjkztyP8 iv9HCcQMvV6ERj2B2VfVzLNF09b467lMRc0of3XWT4MVsboEIAlIXZYadLq34kVvUAEw 9chQ== 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=HsBtygBDXtley515+HljhlS70Z8M8I4XRFRCM8Tajoo=; b=umVHpwEjkDRShD/7R1Z2lrcQMGxwfJH248yowy2/mqaCbVWFZfOQVKZlNKPgiLip6P 1tCc1x1cJGa3f2UTgqJx6pj/IxCEl0ezP7X3zlmn5HkSgJFEMSR+pvEn4uD0KSf/tcsv +8aiRlSUNAt3gtGoK7iCAZS21NNDyR/vK6s688+8vu79/YF3LqK0cG2yeHRuaqsWroxg GrxMg8rbIWglUqbL/V9IS//AMDDg9ms52mdW8KQm2F0exEOF96zub2VfZNsd2e8dhxSv o13I/GdVmbNsWHepkbrtXIWJKyIhLAKG/yoIrJnzGOnCoIqwliQq26wASeMCLt736q9F M7PQ== X-Gm-Message-State: AOAM533fnsuE1byhHT/I9zvDYzXo9s6iL+FM8aC7cgi7oxepDsS8qG0E jWhORUqZG7cOau9uxYCrTBI= X-Google-Smtp-Source: ABdhPJxyssiloOAtYU2UEqoX7sfiN6OiHdTmTPmKXaR0m4DNJvaa+5vduHgIfHBQdKP1UOHpIk3VGA== X-Received: by 2002:a5d:4ed2:: with SMTP id s18mr8052091wrv.36.1603882330944; Wed, 28 Oct 2020 03:52:10 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id t23sm5671921wmn.13.2020.10.28.03.52.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Oct 2020 03:52:10 -0700 (PDT) From: luca.boccassi@gmail.com To: Ferruh Yigit Cc: David Marchand , Phil Yang , Asaf Penso , dpdk stable Date: Wed, 28 Oct 2020 10:44:34 +0000 Message-Id: <20201028104606.3504127-115-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 'app/testpmd: fix build with gcc 11' 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 96f51e519ac49511a7c61c57b818daa1873d0671 Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Mon, 21 Sep 2020 14:38:29 +0100 Subject: [PATCH] app/testpmd: fix build with gcc 11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [ upstream commit 62aa0e8c6693bb5656b5a9ad5c5248fce9150ee3 ] Error observed with gcc 11 under development gcc (GCC) 11.0.0 20200920 (experimental) ../app/test-pmd/config.c:1777:61: warning: argument 3 of type ‘const uint32_t[n]’ {aka ‘const unsigned int[n]’} declared as a variable length array [-Wvla-parameter] 1777 | port_flow_list(portid_t port_id, uint32_t n, const uint32_t group[n]) | ~~~~~~~~~~~~~~~^~~~~~~~ In file included from ../app/test-pmd/config.c:53: ../app/test-pmd/testpmd.h:764:67: note: previously declared as a pointer ‘const uint32_t *’ {aka ‘const unsigned int *’} 764 | void port_flow_list(portid_t port_id, uint32_t n, const uint32_t *group); | ~~~~~~~~~~~~~~~~^~~~~ Fixes: 938a184a1870 ("app/testpmd: implement basic support for flow API") Signed-off-by: Ferruh Yigit Reviewed-by: David Marchand Reviewed-by: Phil Yang Reviewed-by: Asaf Penso --- app/test-pmd/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 343402f172..124a6b8c57 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -1568,7 +1568,7 @@ port_flow_query(portid_t port_id, uint32_t rule, /** List flow rules. */ void -port_flow_list(portid_t port_id, uint32_t n, const uint32_t group[n]) +port_flow_list(portid_t port_id, uint32_t n, const uint32_t *group) { struct rte_port *port; struct port_flow *pf; -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-10-28 10:35:15.325632411 +0000 +++ 0115-app-testpmd-fix-build-with-gcc-11.patch 2020-10-28 10:35:11.672832496 +0000 @@ -1,4 +1,4 @@ -From 62aa0e8c6693bb5656b5a9ad5c5248fce9150ee3 Mon Sep 17 00:00:00 2001 +From 96f51e519ac49511a7c61c57b818daa1873d0671 Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Mon, 21 Sep 2020 14:38:29 +0100 Subject: [PATCH] app/testpmd: fix build with gcc 11 @@ -6,6 +6,8 @@ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit +[ upstream commit 62aa0e8c6693bb5656b5a9ad5c5248fce9150ee3 ] + Error observed with gcc 11 under development gcc (GCC) 11.0.0 20200920 (experimental) @@ -25,7 +27,6 @@ | ~~~~~~~~~~~~~~~~^~~~~ Fixes: 938a184a1870 ("app/testpmd: implement basic support for flow API") -Cc: stable@dpdk.org Signed-off-by: Ferruh Yigit Reviewed-by: David Marchand @@ -36,10 +37,10 @@ 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c -index 418ea6dda4..e73dc66c8d 100644 +index 343402f172..124a6b8c57 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c -@@ -1896,7 +1896,7 @@ port_flow_aged(portid_t port_id, uint8_t destroy) +@@ -1568,7 +1568,7 @@ port_flow_query(portid_t port_id, uint32_t rule, /** List flow rules. */ void