patch 'service: 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:55 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/2d03c4e3eff227f26d5e9ad88a0eccbe4a484073

Thanks.

Kevin

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

[ upstream commit b41e574c2d2e8d82ec5e22a950e385c73efda850 ]

This variable is not used.

Bugzilla ID: 1130
Fixes: 21698354c832 ("service: introduce service cores concept")

Signed-off-by: David Marchand <david.marchand at redhat.com>
Acked-by: Harry van Haaren <harry.van.haaren at intel.com>
Acked-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
---
 lib/eal/common/rte_service.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/eal/common/rte_service.c b/lib/eal/common/rte_service.c
index a7775b99dd..fb5a5b61e2 100644
--- a/lib/eal/common/rte_service.c
+++ b/lib/eal/common/rte_service.c
@@ -104,5 +104,4 @@ rte_service_init(void)
 
 	int i;
-	int count = 0;
 	struct rte_config *cfg = rte_eal_get_configuration();
 	for (i = 0; i < RTE_MAX_LCORE; i++) {
@@ -111,5 +110,4 @@ rte_service_init(void)
 				continue;
 			rte_service_lcore_add(i);
-			count++;
 		}
 	}
-- 
2.38.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-11-23 09:55:58.061080514 +0000
+++ 0042-service-fix-build-with-clang-15.patch	2022-11-23 09:55:57.092149365 +0000
@@ -1 +1 @@
-From b41e574c2d2e8d82ec5e22a950e385c73efda850 Mon Sep 17 00:00:00 2001
+From 2d03c4e3eff227f26d5e9ad88a0eccbe4a484073 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit b41e574c2d2e8d82ec5e22a950e385c73efda850 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index bcc2e19077..42ca1d001d 100644
+index a7775b99dd..fb5a5b61e2 100644
@@ -23 +24 @@
-@@ -108,5 +108,4 @@ rte_service_init(void)
+@@ -104,5 +104,4 @@ rte_service_init(void)
@@ -29 +30 @@
-@@ -115,5 +114,4 @@ rte_service_init(void)
+@@ -111,5 +110,4 @@ rte_service_init(void)



More information about the stable mailing list