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 18761A0542 for ; Thu, 24 Nov 2022 15:00:47 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 13DA442DC7; Thu, 24 Nov 2022 15:00:47 +0100 (CET) Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by mails.dpdk.org (Postfix) with ESMTP id B3AA342DBF for ; Thu, 24 Nov 2022 15:00:45 +0100 (CET) Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.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-0.canonical.com (Postfix) with ESMTPS id BEC1A3F158 for ; Thu, 24 Nov 2022 14:00:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1669298444; bh=jHzSdauIDgzvo7uO7o+d59/Ms+HpYxFnEu/0KK/We18=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=DQnqh9nIqjcmVsOXqmWoR9GTDYOzSpoPZ4sBSa31t2e7kzouZC2c5Tevxx+4cQfbs tf5SpRKPL/LPcuDlhmxZeI2jmN8A1kQTPj9sKgrAWCUVpQc/gaWE/3aLvW/GKbicOS 857r6p28EPhMRi8IiJmSZGsazwdvJWx5lLOJZ2Oec0HLirIkVASWKyPgFNj6DriZ0l clkNP0MQ6J1azA89bdH9xP6xC8bDYwFhBlqvcw8SCm1M8nzGTaPx/ui6X9x0n0n5q/ ceSq/H6eVoWaXQlq/EmMur/9Z/gNF8jBomg8b5EYyblm0K4kAWqKEsSwzYVb97+l3m jpDiKcxadL2gQ== Received: by mail-ed1-f69.google.com with SMTP id w4-20020a05640234c400b004631f8923baso1004727edc.5 for ; Thu, 24 Nov 2022 06:00:44 -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=jHzSdauIDgzvo7uO7o+d59/Ms+HpYxFnEu/0KK/We18=; b=Kg21MUDVshOAflAAXzv0RD+ansUrzOAhHyOxhBwzn1ja2Km9E3s62/DvwmMOX6C5/D 7sZGMGQ/DVfMhsgj0vY105mTxg3Zl3YRjMcRFD2uoeaDKW4RT60e+jT00x9X2PYoxcpU 39x8g8WCRSjRgtmDVjbsYOqGM84e+kTcHHuvWCRNZkSbXQpYYP5fcKy35ugg8E+FvK0k aJbQRmoTo64KAEqlhPonOGLuZVCxoMZzjulrW5QGNoHRMwYmpHkQbNYHyWgJdPYrWJew JXb/TeFLHriQxFChRzZH1cfKFsbPnZTzHcAGvHhxhFwCgpz7g3fNgXcNUdWo0Pmnmbkm QzFw== X-Gm-Message-State: ANoB5plE/8v39A+oWoAlfnudWPu00SdBzowpKWrWnZcTWDrWGHLiefWC 2MSypny4Kij+obqoOFm+tMCc1691phdfXXQ+c29feciCBX34iOupwk7+F5DJF3YM0LR7aRgBtUe D5VI4GEjI4u/RRjo/4wFq9YBS X-Received: by 2002:a17:906:cd07:b0:781:f37a:f50e with SMTP id oz7-20020a170906cd0700b00781f37af50emr27353173ejb.468.1669298444506; Thu, 24 Nov 2022 06:00:44 -0800 (PST) X-Google-Smtp-Source: AA0mqf6zGxmEJbkY893RWEDCQWfYV6YUhh4a52agOiQkTrgI2l4jrxgYFWXoOgPQ7huFvyTXq+nCxg== X-Received: by 2002:a17:906:cd07:b0:781:f37a:f50e with SMTP id oz7-20020a170906cd0700b00781f37af50emr27353160ejb.468.1669298444269; Thu, 24 Nov 2022 06:00:44 -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.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Nov 2022 06:00:43 -0800 (PST) From: christian.ehrhardt@canonical.com To: David Marchand Cc: Tyler Retzlaff , dpdk stable Subject: patch 'net/atlantic: fix build with clang 15' has been queued to stable release 19.11.14 Date: Thu, 24 Nov 2022 15:00:27 +0100 Message-Id: <20221124140034.770192-4-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/5bdb78f4793e5d9cbf567c5f286d82e6f5362b79 Thanks. Christian Ehrhardt --- >From 5bdb78f4793e5d9cbf567c5f286d82e6f5362b79 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 449ffd454d..7640ce9fb0 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.38.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-11-24 14:58:13.127191001 +0100 +++ 0004-net-atlantic-fix-build-with-clang-15.patch 2022-11-24 14:58:11.809189477 +0100 @@ -1 +1 @@ -From f25fa03ad1a9df09870b55efa8b543ca60ab1b88 Mon Sep 17 00:00:00 2001 +From 5bdb78f4793e5d9cbf567c5f286d82e6f5362b79 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 449ffd454d..7640ce9fb0 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)