patch 'net/dpaa2: fix build with clang 15' has been queued to stable release 21.11.3

Kevin Traynor ktraynor at redhat.com
Wed Nov 23 19:03:59 CET 2022


Hi,

FYI, your patch has been queued to stable release 21.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/28/22. 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.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/c5f336041e45ebe0635739f8225c7e5f509a1dbf

Thanks.

Kevin

---
>From c5f336041e45ebe0635739f8225c7e5f509a1dbf Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand at redhat.com>
Date: Fri, 18 Nov 2022 09:53:07 +0100
Subject: [PATCH] net/dpaa2: fix build with clang 15

[ upstream commit d9298902d8e3bdf9abe80b88f6d1abe64668c984 ]

This variable is not used.

Fixes: 4690a6114ff6 ("net/dpaa2: enable error queues optionally")

Signed-off-by: David Marchand <david.marchand at redhat.com>
Acked-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
---
 drivers/net/dpaa2/dpaa2_rxtx.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c
index e372937926..2afa2d2a78 100644
--- a/drivers/net/dpaa2/dpaa2_rxtx.c
+++ b/drivers/net/dpaa2/dpaa2_rxtx.c
@@ -578,5 +578,5 @@ dump_err_pkts(struct dpaa2_queue *dpaa2_q)
 	struct qbman_result *dq_storage;
 	uint32_t fqid = dpaa2_q->fqid;
-	int ret, num_rx = 0, num_pulled;
+	int ret, num_rx = 0;
 	uint8_t pending, status;
 	struct qbman_swp *swp;
@@ -618,5 +618,4 @@ dump_err_pkts(struct dpaa2_queue *dpaa2_q)
 		;
 
-	num_pulled = 0;
 	pending = 1;
 	do {
@@ -653,5 +652,4 @@ dump_err_pkts(struct dpaa2_queue *dpaa2_q)
 		dq_storage++;
 		num_rx++;
-		num_pulled++;
 	} while (pending);
 
-- 
2.38.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-11-23 09:55:58.144233424 +0000
+++ 0046-net-dpaa2-fix-build-with-clang-15.patch	2022-11-23 09:55:57.097149377 +0000
@@ -1 +1 @@
-From d9298902d8e3bdf9abe80b88f6d1abe64668c984 Mon Sep 17 00:00:00 2001
+From c5f336041e45ebe0635739f8225c7e5f509a1dbf Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit d9298902d8e3bdf9abe80b88f6d1abe64668c984 ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
@@ -18 +19 @@
-index 5b02260e71..f60e78e1fd 100644
+index e372937926..2afa2d2a78 100644
@@ -21 +22 @@
-@@ -621,5 +621,5 @@ dump_err_pkts(struct dpaa2_queue *dpaa2_q)
+@@ -578,5 +578,5 @@ dump_err_pkts(struct dpaa2_queue *dpaa2_q)
@@ -28 +29 @@
-@@ -661,5 +661,4 @@ dump_err_pkts(struct dpaa2_queue *dpaa2_q)
+@@ -618,5 +618,4 @@ dump_err_pkts(struct dpaa2_queue *dpaa2_q)
@@ -34 +35 @@
-@@ -696,5 +695,4 @@ dump_err_pkts(struct dpaa2_queue *dpaa2_q)
+@@ -653,5 +652,4 @@ dump_err_pkts(struct dpaa2_queue *dpaa2_q)



More information about the stable mailing list