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 770CEA0542 for ; Thu, 24 Nov 2022 15:00:56 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7242442DC4; Thu, 24 Nov 2022 15:00:56 +0100 (CET) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mails.dpdk.org (Postfix) with ESMTP id 6E20842DBF for ; Thu, 24 Nov 2022 15:00:55 +0100 (CET) Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id C17713F195 for ; Thu, 24 Nov 2022 14:00:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1669298453; bh=vxLcoWbM49dqm+VUKUN7wph/z277roOIhvjMT79PFr0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=tmGe037cA/N2ipDlDnlJYW6sjuFl1pjaLic6+z+BV2zKh/PvuaJSXChwS0fFJsYY3 rWUvFNfU4UenBTuzPHDwnctDyplVx1C/lFpuHQjp/Jdeg+chCk66ZLLQ86GFrUGgl4 1VddrHWOTzcXQxlgPB0RN8TpcdlxzjYm6NulqzxNrVE8A6FuJhE2ogZh0XYg0Z9oqP pkXVz7KKpA3LSwENJtHhlk33176mEs+H7Hir4Ikm72ITVTvLxSxaEgt2Tlv+6ToYjY j7tCC5RiwvsiMUd5jrnPj01w4aUGT4plHQkYr2Vh+OchIz49OGl6ayegYTKug7qL7i kj71hTa6DLmKw== Received: by mail-ej1-f69.google.com with SMTP id gn36-20020a1709070d2400b007ba3374574dso1213043ejc.23 for ; Thu, 24 Nov 2022 06:00:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vxLcoWbM49dqm+VUKUN7wph/z277roOIhvjMT79PFr0=; b=xm6NTKsmVNekUXmLgtAxniG30oU5F4qNPREMGJ5WSL6Xd/oQHRUtZtJJKbMcGKeGpd QGvNxIKwwme3eL2nxouq4mFazR9zGLDr7H499QLwNEnHaTn+fDOW+Y9zfTNoU2oTTUVe MXhj3qsnEIhTjUR+d9FHFzSA79Y7Lmw5P2ncZaPAdmuadk/oKxdNWWlwOCcSmZ6/lZGQ H5zfUVO1TFeFS8jkFKXsMWobdOG/V0BARF7fPS98/9lGCNqOWek9S5JQR0yAK+V91lTP nQKGED2n2AtXUXVk26FWLA5uOVp7Dqtq9dxrQMAAEVVe7rmOV7K2iymLGzOE3EAaSHZX 3ZPw== X-Gm-Message-State: ANoB5pnUg179Te6zC+9byEKVETYTK35Lcq2MnWIo4jmqPcZopNHRYY2a V4EBs2IRHF2EW6T5/emLSKrby0NRYUUytG64CxyS93c6npkxYdBlbmt+qvaISot6dPfvZAZBdj4 LR07HRw+r13AQm/ZYQKSFLGx4 X-Received: by 2002:a05:6402:158f:b0:469:acc:1c1b with SMTP id c15-20020a056402158f00b004690acc1c1bmr26495547edv.228.1669298449755; Thu, 24 Nov 2022 06:00:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf4HIKoXV6mxA65o9z2C/fVJ+kHglT0IUskeX/CL9qvxfHfjx10f9QR7PCtqu8j7RhSZNH7o2g== X-Received: by 2002:a05:6402:158f:b0:469:acc:1c1b with SMTP id c15-20020a056402158f00b004690acc1c1bmr26495084edv.228.1669298442364; Thu, 24 Nov 2022 06:00:42 -0800 (PST) Received: from localhost.localdomain ([2a02:6d40:39e5:dd00:978:e124:4bf:b342]) by smtp.gmail.com with ESMTPSA id i29-20020a50d75d000000b0046a44b2b5e6sm557249edj.32.2022.11.24.06.00.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Nov 2022 06:00:41 -0800 (PST) From: christian.ehrhardt@canonical.com To: David Marchand Cc: Harry van Haaren , Tyler Retzlaff , dpdk stable Subject: patch 'service: fix build with clang 15' has been queued to stable release 19.11.14 Date: Thu, 24 Nov 2022 15:00:25 +0100 Message-Id: <20221124140034.770192-2-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221124140034.770192-1-christian.ehrhardt@canonical.com> References: <20221124140034.770192-1-christian.ehrhardt@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hi, FYI, your patch has been queued to stable release 19.11.14 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/26/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/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/9741b95a7978ada4d634fbcb1f8b7e19d974efc3 Thanks. Christian Ehrhardt --- >From 9741b95a7978ada4d634fbcb1f8b7e19d974efc3 Mon Sep 17 00:00:00 2001 From: David Marchand 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 Acked-by: Harry van Haaren Acked-by: Tyler Retzlaff --- lib/librte_eal/common/rte_service.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/librte_eal/common/rte_service.c b/lib/librte_eal/common/rte_service.c index 11cd5a538d..4d21d1bdc3 100644 --- a/lib/librte_eal/common/rte_service.c +++ b/lib/librte_eal/common/rte_service.c @@ -101,14 +101,12 @@ 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++) { if (lcore_config[i].core_role == ROLE_SERVICE) { if ((unsigned int)i == cfg->master_lcore) 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-24 14:58:12.530732286 +0100 +++ 0002-service-fix-build-with-clang-15.patch 2022-11-24 14:58:11.805189452 +0100 @@ -1 +1 @@ -From b41e574c2d2e8d82ec5e22a950e385c73efda850 Mon Sep 17 00:00:00 2001 +From 9741b95a7978ada4d634fbcb1f8b7e19d974efc3 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit b41e574c2d2e8d82ec5e22a950e385c73efda850 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -16 +17 @@ - lib/eal/common/rte_service.c | 2 -- + lib/librte_eal/common/rte_service.c | 2 -- @@ -19,5 +20,5 @@ -diff --git a/lib/eal/common/rte_service.c b/lib/eal/common/rte_service.c -index bcc2e19077..42ca1d001d 100644 ---- a/lib/eal/common/rte_service.c -+++ b/lib/eal/common/rte_service.c -@@ -107,14 +107,12 @@ rte_service_init(void) +diff --git a/lib/librte_eal/common/rte_service.c b/lib/librte_eal/common/rte_service.c +index 11cd5a538d..4d21d1bdc3 100644 +--- a/lib/librte_eal/common/rte_service.c ++++ b/lib/librte_eal/common/rte_service.c +@@ -101,14 +101,12 @@ rte_service_init(void) @@ -31 +32 @@ - if ((unsigned int)i == cfg->main_lcore) + if ((unsigned int)i == cfg->master_lcore)