Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/119956/?format=api
https://patches.dpdk.org/api/patches/119956/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20221118085313.2118977-5-david.marchand@redhat.com/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20221118085313.2118977-5-david.marchand@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20221118085313.2118977-5-david.marchand@redhat.com", "date": "2022-11-18T08:53:06", "name": "[04/11] net/atlantic: fix build with clang 15", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "3ea86cf09469cece551a3c59658309a60375d5cf", "submitter": { "id": 1173, "url": "https://patches.dpdk.org/api/people/1173/?format=api", "name": "David Marchand", "email": "david.marchand@redhat.com" }, "delegate": { "id": 24651, "url": "https://patches.dpdk.org/api/users/24651/?format=api", "username": "dmarchand", "first_name": "David", "last_name": "Marchand", "email": "david.marchand@redhat.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20221118085313.2118977-5-david.marchand@redhat.com/mbox/", "series": [ { "id": 25816, "url": "https://patches.dpdk.org/api/series/25816/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=25816", "date": "2022-11-18T08:53:02", "name": "Fixes for clang 15", "version": 1, "mbox": "https://patches.dpdk.org/series/25816/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/119956/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/119956/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id E6347A0542;\n\tFri, 18 Nov 2022 09:55:23 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id E186D42D31;\n\tFri, 18 Nov 2022 09:55:13 +0100 (CET)", "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by mails.dpdk.org (Postfix) with ESMTP id A586F42D2B\n for <dev@dpdk.org>; Fri, 18 Nov 2022 09:55:11 +0100 (CET)", "from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com\n [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n us-mta-189-DchEbWsDPpukiOxOY5Utuw-1; Fri, 18 Nov 2022 03:55:09 -0500", "from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com\n [10.11.54.5])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C5B2E811E81;\n Fri, 18 Nov 2022 08:55:08 +0000 (UTC)", "from localhost.localdomain (ovpn-192-54.brq.redhat.com\n [10.40.192.54])\n by smtp.corp.redhat.com (Postfix) with ESMTP id CB54B4EA59;\n Fri, 18 Nov 2022 08:55:07 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1668761711;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=mowp3fRhH95mTtAvf2xhYOMztca9CcYuqk+RfYNfkX0=;\n b=aU1Y+GlfdLJqBL66vgbrr5BEOaeE3ilF8A/i0rg0v6QO9jwptIrNISHN8mGWHgg6BHajMf\n a75cKVywj5FjaAymN+k/OKFGhGGkfdNWkNTsamRFeAM+hO2BE31/r5MGYxDto3sbIqfQjH\n /46rS0Nd75hFRD91ROUSEV0gQaBS09A=", "X-MC-Unique": "DchEbWsDPpukiOxOY5Utuw-1", "From": "David Marchand <david.marchand@redhat.com>", "To": "dev@dpdk.org", "Cc": "stable@dpdk.org, Igor Russkikh <irusskikh@marvell.com>,\n Pavel Belous <pavel.belous@aquantia.com>", "Subject": "[PATCH 04/11] net/atlantic: fix build with clang 15", "Date": "Fri, 18 Nov 2022 09:53:06 +0100", "Message-Id": "<20221118085313.2118977-5-david.marchand@redhat.com>", "In-Reply-To": "<20221118085313.2118977-1-david.marchand@redhat.com>", "References": "<20221118085313.2118977-1-david.marchand@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 3.1 on 10.11.54.5", "X-Mimecast-Spam-Score": "0", "X-Mimecast-Originator": "redhat.com", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain; charset=\"US-ASCII\"; x-default=true", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "This variable is not used.\n\nFixes: 2b1472d7150c (\"net/atlantic: implement Tx path\")\nCc: stable@dpdk.org\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n drivers/net/atlantic/atl_rxtx.c | 5 ++---\n 1 file changed, 2 insertions(+), 3 deletions(-)", "diff": "diff --git a/drivers/net/atlantic/atl_rxtx.c b/drivers/net/atlantic/atl_rxtx.c\nindex aeb79bf5a2..cb6f8141a8 100644\n--- a/drivers/net/atlantic/atl_rxtx.c\n+++ b/drivers/net/atlantic/atl_rxtx.c\n@@ -1127,10 +1127,9 @@ atl_xmit_cleanup(struct atl_tx_queue *txq)\n \tif (txq != NULL) {\n \t\tsw_ring = txq->sw_ring;\n \t\tint head = txq->tx_head;\n-\t\tint cnt;\n-\t\tint i;\n+\t\tint cnt = head;\n \n-\t\tfor (i = 0, cnt = head; ; i++) {\n+\t\twhile (true) {\n \t\t\ttxd = &txq->hw_ring[cnt];\n \n \t\t\tif (txd->dd)\n", "prefixes": [ "04/11" ] }{ "id": 119956, "url": "