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 8F55842CBC for ; Thu, 15 Jun 2023 03:33:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 86BEE40E0F; Thu, 15 Jun 2023 03:33:04 +0200 (CEST) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by mails.dpdk.org (Postfix) with ESMTP id 7EF6F40DDA for ; Thu, 15 Jun 2023 03:33:03 +0200 (CEST) Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-31110aea814so691235f8f.2 for ; Wed, 14 Jun 2023 18:33:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686792783; x=1689384783; 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=K+A5eAyCDgsCseb2owbUv/vWsOuWWFiMqwEeM8qCqUU=; b=JH0s/4viqATTTUmaBKPN0XdjhUtL1qonQNqWbst/2lAOxrlLlwdmHZByYNiIqAbomO 0Ou9ec8QHwzhpNSGTU1ZKy7aTNtQmSgbZsIeveAfF/MX2joMdTH/0VepKKo9MsmgIpfS 774IFgqyVbIvoAig+CZHPONdQZOOFT2gXuJk47V9cqevEn204FHjQ3Gfltwxo0hzK9Dy Wolld8hSGtzHRkZbALEgIRsWMnjUPyalMeIKT3ffdiTpNlVSEJRbhID/BMP+Gw/1NbDv pLfIGZEzilTWGGYWAURmOXP6Lu9lQ6dWYpzWh1XjvTDdkT3G6IUVLDgO5V7mkZUjOEVP N3kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686792783; x=1689384783; 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=K+A5eAyCDgsCseb2owbUv/vWsOuWWFiMqwEeM8qCqUU=; b=K6L4WtqJlI3/5v1lNmir4wRwsdQIO4/0h9vzlcOQsp5GFj05ZptTZ+xfjl/YdAoNvX ac7mBEdFiEDxlWay7hJ+WcJlV+9zyezAdsj0qHAevrDHcyaixs0LBN4F2i9XjbbbPcda 0mMdXn9tJzhYKx4B9IfzAS65mUshL+Ym35nk05a0GcRZHgFdSQD4RsbkTSr0FJvwytb2 WJaylKj+uAlaRWn9yoSgmwZxWC8ww17BR4jDA1d2Bx8DH2kc9Hx5FCtECSPsntN8TIVO Ghk+CT0FtqsXA7O3QG+iDB7B7xKd/hrQDiXAqCksXqJT6Fwoa3fgkyqRAa4Y7uX5kZz7 tQVA== X-Gm-Message-State: AC+VfDzbVEfqQfFi+nqo9LoWnaVaVmONWAwXXihBUUPCbANTQTHRN7aR V8orvEoHvoUv711S7pY1maofpRQUsOCSEg== X-Google-Smtp-Source: ACHHUZ7y/nUHxIlIBNHV7Roq1kdX2Ql7yEPZa+S0bwYZMGXlXW85vdVfFc+INAQpGtuibp0UjDLKoQ== X-Received: by 2002:a5d:4602:0:b0:30f:c794:2cc7 with SMTP id t2-20020a5d4602000000b0030fc7942cc7mr7259225wrq.62.1686792782898; Wed, 14 Jun 2023 18:33:02 -0700 (PDT) Received: from localhost ([137.220.119.58]) by smtp.gmail.com with ESMTPSA id a4-20020a056000050400b0030ae3a6be4asm19763408wrf.72.2023.06.14.18.33.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jun 2023 18:33:02 -0700 (PDT) From: luca.boccassi@gmail.com To: Jerin Jacob Cc: Cristian Dumitrescu , Ali Alnubani , Daxue Gao , dpdk stable Subject: patch 'examples/ip_pipeline: fix build with GCC 13' has been queued to stable release 20.11.9 Date: Thu, 15 Jun 2023 02:31:57 +0100 Message-Id: <20230615013258.1439718-2-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230615013258.1439718-1-luca.boccassi@gmail.com> References: <20230615013258.1439718-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.9 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 06/17/23. 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/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/7fb0754a375c0bbdf2aa5aed7e5f05426d0fac73 Thanks. Luca Boccassi --- >From 7fb0754a375c0bbdf2aa5aed7e5f05426d0fac73 Mon Sep 17 00:00:00 2001 From: Jerin Jacob Date: Tue, 2 May 2023 19:20:44 +0530 Subject: [PATCH] examples/ip_pipeline: fix build with GCC 13 [ upstream commit aae10e97710eb3b6a43a61e733ca0bbff47ab0c4 ] Fix the following build issue by initializing req to NULL for the local variable. In function 'thread_msg_handle', inlined from 'thread_main' at ../examples/ip_pipeline/thread.c:3130:6: ../examples/ip_pipeline/thread.c:535:20: warning: 'req' may be used uninitialized [-Wmaybe-uninitialized] 535 | if (req == NULL) | ^ ../examples/ip_pipeline/thread.c: In function 'thread_main': ../examples/ip_pipeline/thread.c:433:32: note: 'req' was declared here 433 | struct thread_msg_req *req; Bugzilla ID: 1220 Fixes: a8bd581de397 ("examples/ip_pipeline: add thread runtime") Signed-off-by: Jerin Jacob Acked-by: Cristian Dumitrescu Tested-by: Ali Alnubani Tested-by: Daxue Gao --- examples/ip_pipeline/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ip_pipeline/thread.c b/examples/ip_pipeline/thread.c index b2e9732705..aeec954394 100644 --- a/examples/ip_pipeline/thread.c +++ b/examples/ip_pipeline/thread.c @@ -432,7 +432,7 @@ thread_pipeline_disable(uint32_t thread_id, static inline struct thread_msg_req * thread_msg_recv(struct rte_ring *msgq_req) { - struct thread_msg_req *req; + struct thread_msg_req *req = NULL; int status = rte_ring_sc_dequeue(msgq_req, (void **) &req); -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-06-15 01:56:34.845993845 +0100 +++ 0002-examples-ip_pipeline-fix-build-with-GCC-13.patch 2023-06-15 01:56:34.475539293 +0100 @@ -1 +1 @@ -From aae10e97710eb3b6a43a61e733ca0bbff47ab0c4 Mon Sep 17 00:00:00 2001 +From 7fb0754a375c0bbdf2aa5aed7e5f05426d0fac73 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit aae10e97710eb3b6a43a61e733ca0bbff47ab0c4 ] + @@ -21 +22,0 @@ -Cc: stable@dpdk.org @@ -32 +33 @@ -index 82d5f87c38..9817657ca9 100644 +index b2e9732705..aeec954394 100644 @@ -35 +36 @@ -@@ -430,7 +430,7 @@ thread_pipeline_disable(uint32_t thread_id, +@@ -432,7 +432,7 @@ thread_pipeline_disable(uint32_t thread_id,