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 3E5E9A06CB for ; Tue, 22 Nov 2022 23:02:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 39AA542D7D; Tue, 22 Nov 2022 23:02:55 +0100 (CET) Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by mails.dpdk.org (Postfix) with ESMTP id 318A842B77 for ; Tue, 22 Nov 2022 23:02:52 +0100 (CET) Received: by mail-wr1-f43.google.com with SMTP id g12so26838872wrs.10 for ; Tue, 22 Nov 2022 14:02:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=g1HqKARGkOJKkMDlSSiwSAszvGDlJ6XH/MQM458EDsU=; b=M8c64RCAayD5IlE2DLmk604c/WCkJH0U0qhWDArrUVo5SXIy8n0vt4srLBMeDj/n40 TPrWhEqD77komYi2+LO+6kudo9JRXDoMqFkKGDA/YR1V+UAlgLgouXgbGDspHADx7WqC CW6TLVXLa+efNoN/nlajPNhE47Hoc9wrWUTTQWxd0aHVOFfgErFR4HEw5WNfPdFhe61q DWLdqBT3/gQGHZep6SGZb17iGjQbet7LOiuc3chfYzsI712jF912CwXnl7mZbiv6WSBp mMcNDgZmZHOk+3NVzQ9Vjn0VM2Sr5TJIVMY7fAyqCAq3lPiJLe3hwP/25aSCasvjZlCK G8nA== 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=g1HqKARGkOJKkMDlSSiwSAszvGDlJ6XH/MQM458EDsU=; b=UuazbSDU0PN5gBMFTnzo26ywo96zLemFSReM1vtUihDgsutkPtI2lc6TMKaTTnb8K7 oRujF4tHf/bnKGvryuU8f6UuthrR52NHtfVVW/fGl18t8LFwtVtVtsKrBp+anvuGPdvv mIZZAG+8sVaNPF60AFTkIZt5iyXhGC3K13dbvgUoTBpuSUx7pTLefLs5KLRij1aye8/J 5vu8ZQ1IN0IPWdTV97jUla3sladbEoiEIy6SFBN6i946RJvUp1Xb3DnRDCOOZONFGPaD LAFpoTIGXa45PtTdTA2CoHzqUNLDhBPAcbFuPKeoqDlDBKCNHa2U+VUUFNhpG/lV5ZLg g2TA== X-Gm-Message-State: ANoB5pm4zAsM78wYHJ6159wQtWloTTzIEjmM4BL0JUaKYctX3xNrkUzV b2rtFyEiPFety1Gg5GKGQzo= X-Google-Smtp-Source: AA0mqf5ZPu9oY1o03sJ3FLCFmS+OP9EsHcToi0C4kf/hUMJMV/nz1JB9qyu/jjmNMoWMANWCgxo05g== X-Received: by 2002:adf:f8ca:0:b0:241:c933:4b0e with SMTP id f10-20020adff8ca000000b00241c9334b0emr8682388wrq.48.1669154571896; Tue, 22 Nov 2022 14:02:51 -0800 (PST) Received: from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9]) by smtp.gmail.com with ESMTPSA id f3-20020a5d4dc3000000b0022e57e66824sm17030582wru.99.2022.11.22.14.02.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Nov 2022 14:02:51 -0800 (PST) From: luca.boccassi@gmail.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 20.11.7 Date: Tue, 22 Nov 2022 22:02:26 +0000 Message-Id: <20221122220241.926784-2-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221122220241.926784-1-luca.boccassi@gmail.com> References: <20221117230859.611465-34-luca.boccassi@gmail.com> <20221122220241.926784-1-luca.boccassi@gmail.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 20.11.7 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/24/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/10aa7c960a200954ad0a2d4f88779fc849acbea3 Thanks. Luca Boccassi --- >From 10aa7c960a200954ad0a2d4f88779fc849acbea3 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 e1ff0d2636..4bfa781fd6 100644 --- a/lib/librte_eal/common/rte_service.c +++ b/lib/librte_eal/common/rte_service.c @@ -110,14 +110,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->main_lcore) continue; rte_service_lcore_add(i); - count++; } } -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-11-22 22:01:31.652940929 +0000 +++ 0002-service-fix-build-with-clang-15.patch 2022-11-22 22:01:31.447523496 +0000 @@ -1 +1 @@ -From b41e574c2d2e8d82ec5e22a950e385c73efda850 Mon Sep 17 00:00:00 2001 +From 10aa7c960a200954ad0a2d4f88779fc849acbea3 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 e1ff0d2636..4bfa781fd6 100644 +--- a/lib/librte_eal/common/rte_service.c ++++ b/lib/librte_eal/common/rte_service.c +@@ -110,14 +110,12 @@ rte_service_init(void)