Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/119957/?format=api
http://patchwork.dpdk.org/api/patches/119957/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20221118085313.2118977-6-david.marchand@redhat.com/", "project": { "id": 1, "url": "http://patchwork.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-6-david.marchand@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20221118085313.2118977-6-david.marchand@redhat.com", "date": "2022-11-18T08:53:07", "name": "[05/11] net/dpaa2: fix build with clang 15", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "fe42a0981c8494593ac86231416f9ae369ca6def", "submitter": { "id": 1173, "url": "http://patchwork.dpdk.org/api/people/1173/?format=api", "name": "David Marchand", "email": "david.marchand@redhat.com" }, "delegate": { "id": 24651, "url": "http://patchwork.dpdk.org/api/users/24651/?format=api", "username": "dmarchand", "first_name": "David", "last_name": "Marchand", "email": "david.marchand@redhat.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20221118085313.2118977-6-david.marchand@redhat.com/mbox/", "series": [ { "id": 25816, "url": "http://patchwork.dpdk.org/api/series/25816/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=25816", "date": "2022-11-18T08:53:02", "name": "Fixes for clang 15", "version": 1, "mbox": "http://patchwork.dpdk.org/series/25816/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/119957/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/119957/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 62641A0542;\n\tFri, 18 Nov 2022 09:55:31 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9DA5842D3C;\n\tFri, 18 Nov 2022 09:55:20 +0100 (CET)", "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by mails.dpdk.org (Postfix) with ESMTP id 4DA4542D3B\n for <dev@dpdk.org>; Fri, 18 Nov 2022 09:55:18 +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-80-vr4uRw1JPpKpW1JvFJi5Pw-1; Fri, 18 Nov 2022 03:55:12 -0500", "from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com\n [10.11.54.8])\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 E63BE85A5B6;\n Fri, 18 Nov 2022 08:55:11 +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 C8179C0297B;\n Fri, 18 Nov 2022 08:55:10 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1668761717;\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=23IWTLKyzE5I7nc4upJoOLmeAp6Co3jcYqX1kAn6iMA=;\n b=GXlPYTpJZA1jBmWzk/YDw1ggPXrcrDaRLD/TjKIGmc5IRxQjkDdJOXDWFZQTcB7vomD37I\n yo6K7LU7tpg9Xjegg+2D+H2bKarBLGXPGREzmMy2/uhJ2Qfk2VWBfUBlLLarcuisnTsfc/\n lSayC1C2zpqXR1yFB8dkDLhIhVDMq4s=", "X-MC-Unique": "vr4uRw1JPpKpW1JvFJi5Pw-1", "From": "David Marchand <david.marchand@redhat.com>", "To": "dev@dpdk.org", "Cc": "stable@dpdk.org, Hemant Agrawal <hemant.agrawal@nxp.com>,\n Sachin Saxena <sachin.saxena@oss.nxp.com>,\n Nipun Gupta <nipun.gupta@nxp.com>", "Subject": "[PATCH 05/11] net/dpaa2: fix build with clang 15", "Date": "Fri, 18 Nov 2022 09:53:07 +0100", "Message-Id": "<20221118085313.2118977-6-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.8", "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: 4690a6114ff6 (\"net/dpaa2: enable error queues optionally\")\nCc: stable@dpdk.org\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n drivers/net/dpaa2/dpaa2_rxtx.c | 4 +---\n 1 file changed, 1 insertion(+), 3 deletions(-)", "diff": "diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c\nindex 5b02260e71..f60e78e1fd 100644\n--- a/drivers/net/dpaa2/dpaa2_rxtx.c\n+++ b/drivers/net/dpaa2/dpaa2_rxtx.c\n@@ -620,7 +620,7 @@ dump_err_pkts(struct dpaa2_queue *dpaa2_q)\n \t/* Function receive frames for a given device and VQ */\n \tstruct qbman_result *dq_storage;\n \tuint32_t fqid = dpaa2_q->fqid;\n-\tint ret, num_rx = 0, num_pulled;\n+\tint ret, num_rx = 0;\n \tuint8_t pending, status;\n \tstruct qbman_swp *swp;\n \tconst struct qbman_fd *fd;\n@@ -660,7 +660,6 @@ dump_err_pkts(struct dpaa2_queue *dpaa2_q)\n \twhile (!qbman_check_command_complete(dq_storage))\n \t\t;\n \n-\tnum_pulled = 0;\n \tpending = 1;\n \tdo {\n \t\t/* Loop until the dq_storage is updated with\n@@ -695,7 +694,6 @@ dump_err_pkts(struct dpaa2_queue *dpaa2_q)\n \n \t\tdq_storage++;\n \t\tnum_rx++;\n-\t\tnum_pulled++;\n \t} while (pending);\n \n \tdpaa2_q->err_pkts += num_rx;\n", "prefixes": [ "05/11" ] }{ "id": 119957, "url": "