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 975CDA06CB for ; Tue, 22 Nov 2022 23:02:56 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 933F342B77; Tue, 22 Nov 2022 23:02:56 +0100 (CET) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by mails.dpdk.org (Postfix) with ESMTP id 775AC42B77 for ; Tue, 22 Nov 2022 23:02:54 +0100 (CET) Received: by mail-wr1-f47.google.com with SMTP id z4so12286836wrr.3 for ; Tue, 22 Nov 2022 14:02:54 -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=O8YZycXcpjlltzHTLzWa5xPhgJemePt2GKluepwNp7g=; b=cMMrLnK3VDNyQNC0ze11PdM1QnOIeF9H/ICMvJUOfFxxpnC5YjdPa4UX7Zq8eFGJrr WT2cFwFRJJZ3HjP0Nz2mD8wxmyWFDDAV9UqSvJDXKionEXbw8nmwA3gUFGAuDiU50wJG XOdqHFihJCTGxM+m65He2fO6RFhFWyJdQdmCQZoy7SGw8iqF1x56V3Kjg9zRoSaMj7La PLbwWqSEUbsjKhbk59BwV6iwnYq3Atj6H4LRJhVhaf7EacLg6WOTrgpgeJp5QRHk9UqB qHxcnjDrSgo7FT2muAU+c1dIkPdsBxtooC/3CmVwDIlm7s3DYsRvub5srRVmONiPzRVS z8Hw== 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=O8YZycXcpjlltzHTLzWa5xPhgJemePt2GKluepwNp7g=; b=daQgEWAauZuR4szar4chpPqZxOmCqwa3ngv2laMNquMLZYYoTG1665HHgflmQLPJeN K8TPGKiBgRRHrUR/i5iXaUYLSXlBA9UEPs2bAW6gT6ZlNqxEtYENPotGDK9nhP9gDdJ/ xZI42lAVXR8ya5Fj0IFYjLpS9NdRLtu5S4PkotWtlSzXkNRee4bi346IEk3cm2PjU10c 95nTJOpJWKvoloDm2SVt/W9/ep77awlMJc20cWzN6HrLnKf/h9Lb5KIXyzheNi+uypR8 euJbCNmqo8rwO4NZzWP8zcRV1U/F9N9qrHgYOEbMOVlcfChiI0lp08JWoCRCk2XFcZBF bZRQ== X-Gm-Message-State: ANoB5pnwYgda92SATNnLTg1Oq/He/GX4wbYE3gBU48ABgoywdxAS/Fq0 b8gvq8ceDF2644S7LlCP9ZSQbhH3eN4xfA== X-Google-Smtp-Source: AA0mqf5kALZdgC0jjqB/zuDZnmgDB+uqzqs3U8HOYdB6qc+cHYS5JEgw9Ybq5OR24+O7L5hppY4Lew== X-Received: by 2002:adf:d224:0:b0:236:6a5d:16b0 with SMTP id k4-20020adfd224000000b002366a5d16b0mr15720088wrh.497.1669154574200; Tue, 22 Nov 2022 14:02:54 -0800 (PST) Received: from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9]) by smtp.gmail.com with ESMTPSA id v15-20020a05600c444f00b003a1980d55c4sm18827wmn.47.2022.11.22.14.02.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Nov 2022 14:02:53 -0800 (PST) From: luca.boccassi@gmail.com To: David Marchand Cc: Tyler Retzlaff , dpdk stable Subject: patch 'net/atlantic: fix build with clang 15' has been queued to stable release 20.11.7 Date: Tue, 22 Nov 2022 22:02:28 +0000 Message-Id: <20221122220241.926784-4-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/0774d494be72108ed40fb9b87dc799e1114ccb7a Thanks. Luca Boccassi --- >From 0774d494be72108ed40fb9b87dc799e1114ccb7a Mon Sep 17 00:00:00 2001 From: David Marchand Date: Fri, 18 Nov 2022 09:53:06 +0100 Subject: [PATCH] net/atlantic: fix build with clang 15 [ upstream commit f25fa03ad1a9df09870b55efa8b543ca60ab1b88 ] This variable is not used. Fixes: 2b1472d7150c ("net/atlantic: implement Tx path") Signed-off-by: David Marchand Acked-by: Tyler Retzlaff --- drivers/net/atlantic/atl_rxtx.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/atlantic/atl_rxtx.c b/drivers/net/atlantic/atl_rxtx.c index 8b3c74ece0..fd2aedc64c 100644 --- a/drivers/net/atlantic/atl_rxtx.c +++ b/drivers/net/atlantic/atl_rxtx.c @@ -1132,10 +1132,9 @@ atl_xmit_cleanup(struct atl_tx_queue *txq) if (txq != NULL) { sw_ring = txq->sw_ring; int head = txq->tx_head; - int cnt; - int i; + int cnt = head; - for (i = 0, cnt = head; ; i++) { + while (true) { txd = &txq->hw_ring[cnt]; if (txd->dd) -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-11-22 22:01:31.793419931 +0000 +++ 0004-net-atlantic-fix-build-with-clang-15.patch 2022-11-22 22:01:31.463523804 +0000 @@ -1 +1 @@ -From f25fa03ad1a9df09870b55efa8b543ca60ab1b88 Mon Sep 17 00:00:00 2001 +From 0774d494be72108ed40fb9b87dc799e1114ccb7a Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit f25fa03ad1a9df09870b55efa8b543ca60ab1b88 ] + @@ -9 +10,0 @@ -Cc: stable@dpdk.org @@ -18 +19 @@ -index aeb79bf5a2..cb6f8141a8 100644 +index 8b3c74ece0..fd2aedc64c 100644 @@ -21 +22 @@ -@@ -1127,10 +1127,9 @@ atl_xmit_cleanup(struct atl_tx_queue *txq) +@@ -1132,10 +1132,9 @@ atl_xmit_cleanup(struct atl_tx_queue *txq)