get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/119960/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 119960,
    "url": "https://patches.dpdk.org/api/patches/119960/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20221118085313.2118977-9-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-9-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20221118085313.2118977-9-david.marchand@redhat.com",
    "date": "2022-11-18T08:53:10",
    "name": "[08/11] app/testpmd: fix build with clang 15 in flow code",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "7941be661886358f3cd8732f1d202cf682c41784",
    "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-9-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/119960/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/119960/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 D3AE7A0542;\n\tFri, 18 Nov 2022 09:55:48 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6271542D48;\n\tFri, 18 Nov 2022 09:55:31 +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 3A1BA42D3E\n for <dev@dpdk.org>; Fri, 18 Nov 2022 09:55:30 +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-671-_tphYMHAPEyH7hdfce3paQ-1; Fri, 18 Nov 2022 03:55:23 -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 033C3101A588;\n Fri, 18 Nov 2022 08:55:23 +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 0E07918EB4;\n Fri, 18 Nov 2022 08:55:20 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1668761729;\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=RKESblSIJB3eSeSYQ8o7n3EtLtN5yBqAyyPVnogtIQM=;\n b=BL5DvKq/gBgrL8BuWn3Pj2RORjqI6o+Ipi2J9j7/tTNFvfmWlRg7P6SpJI36sARBg1d/Rr\n oU7w3flZ2JE0wI07vFtII+JBjgcvarZk5oNMKjf9YIw/ONvCblfZHH6dujmirUG6xa14GQ\n kia5hmZk2MiD9Uq8EkgGCWLIAE+KNrs=",
        "X-MC-Unique": "_tphYMHAPEyH7hdfce3paQ-1",
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "stable@dpdk.org, Aman Singh <aman.deep.singh@intel.com>,\n Yuying Zhang <yuying.zhang@intel.com>, Olga Shern <olgas@mellanox.com>,\n Adrien Mazarguil <adrien.mazarguil@6wind.com>,\n Ajit Khaparde <ajit.khaparde@broadcom.com>, Ori Kam <orika@nvidia.com>,\n Andrey Vesnovaty <andreyv@nvidia.com>,\n Alexander Kozyrev <akozyrev@nvidia.com>",
        "Subject": "[PATCH 08/11] app/testpmd: fix build with clang 15 in flow code",
        "Date": "Fri, 18 Nov 2022 09:53:10 +0100",
        "Message-Id": "<20221118085313.2118977-9-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 and has been copy/pasted in a lot of other\ncode.\n\nFixes: 938a184a1870 (\"app/testpmd: implement basic support for flow API\")\nFixes: 55509e3a49fb (\"app/testpmd: support shared flow action\")\nFixes: 04cc665fab38 (\"app/testpmd: add flow template management\")\nFixes: c4b38873346b (\"app/testpmd: add flow table management\")\nFixes: ecdc927b99f2 (\"app/testpmd: add async flow create/destroy operations\")\nFixes: d906fff51878 (\"app/testpmd: add async indirect actions operations\")\nCc: stable@dpdk.org\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n app/test-pmd/config.c | 14 --------------\n 1 file changed, 14 deletions(-)",
    "diff": "diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c\nindex 982549ffed..9103ba6c77 100644\n--- a/app/test-pmd/config.c\n+++ b/app/test-pmd/config.c\n@@ -1787,7 +1787,6 @@ port_action_handle_destroy(portid_t port_id,\n {\n \tstruct rte_port *port;\n \tstruct port_indirect_action **tmp;\n-\tuint32_t c = 0;\n \tint ret = 0;\n \n \tif (port_id_is_invalid(port_id, ENABLED_WARN) ||\n@@ -1822,7 +1821,6 @@ port_action_handle_destroy(portid_t port_id,\n \t\t}\n \t\tif (i == n)\n \t\t\ttmp = &(*tmp)->next;\n-\t\t++c;\n \t}\n \treturn ret;\n }\n@@ -2251,7 +2249,6 @@ port_flow_pattern_template_destroy(portid_t port_id, uint32_t n,\n {\n \tstruct rte_port *port;\n \tstruct port_template **tmp;\n-\tuint32_t c = 0;\n \tint ret = 0;\n \n \tif (port_id_is_invalid(port_id, ENABLED_WARN) ||\n@@ -2288,7 +2285,6 @@ port_flow_pattern_template_destroy(portid_t port_id, uint32_t n,\n \t\t}\n \t\tif (i == n)\n \t\t\ttmp = &(*tmp)->next;\n-\t\t++c;\n \t}\n \treturn ret;\n }\n@@ -2368,7 +2364,6 @@ port_flow_actions_template_destroy(portid_t port_id, uint32_t n,\n {\n \tstruct rte_port *port;\n \tstruct port_template **tmp;\n-\tuint32_t c = 0;\n \tint ret = 0;\n \n \tif (port_id_is_invalid(port_id, ENABLED_WARN) ||\n@@ -2404,7 +2399,6 @@ port_flow_actions_template_destroy(portid_t port_id, uint32_t n,\n \t\t}\n \t\tif (i == n)\n \t\t\ttmp = &(*tmp)->next;\n-\t\t++c;\n \t}\n \treturn ret;\n }\n@@ -2534,7 +2528,6 @@ port_flow_template_table_destroy(portid_t port_id,\n {\n \tstruct rte_port *port;\n \tstruct port_table **tmp;\n-\tuint32_t c = 0;\n \tint ret = 0;\n \n \tif (port_id_is_invalid(port_id, ENABLED_WARN) ||\n@@ -2571,7 +2564,6 @@ port_flow_template_table_destroy(portid_t port_id,\n \t\t}\n \t\tif (i == n)\n \t\t\ttmp = &(*tmp)->next;\n-\t\t++c;\n \t}\n \treturn ret;\n }\n@@ -2719,7 +2711,6 @@ port_queue_flow_destroy(portid_t port_id, queueid_t queue_id,\n \tstruct rte_flow_op_attr op_attr = { .postpone = postpone };\n \tstruct rte_port *port;\n \tstruct port_flow **tmp;\n-\tuint32_t c = 0;\n \tint ret = 0;\n \tstruct queue_job *job;\n \n@@ -2768,7 +2759,6 @@ port_queue_flow_destroy(portid_t port_id, queueid_t queue_id,\n \t\t}\n \t\tif (i == n)\n \t\t\ttmp = &(*tmp)->next;\n-\t\t++c;\n \t}\n \treturn ret;\n }\n@@ -2836,7 +2826,6 @@ port_queue_action_handle_destroy(portid_t port_id,\n \tconst struct rte_flow_op_attr attr = { .postpone = postpone};\n \tstruct rte_port *port;\n \tstruct port_indirect_action **tmp;\n-\tuint32_t c = 0;\n \tint ret = 0;\n \tstruct queue_job *job;\n \n@@ -2886,7 +2875,6 @@ port_queue_action_handle_destroy(portid_t port_id,\n \t\t}\n \t\tif (i == n)\n \t\t\ttmp = &(*tmp)->next;\n-\t\t++c;\n \t}\n \treturn ret;\n }\n@@ -3304,7 +3292,6 @@ port_flow_destroy(portid_t port_id, uint32_t n, const uint32_t *rule)\n {\n \tstruct rte_port *port;\n \tstruct port_flow **tmp;\n-\tuint32_t c = 0;\n \tint ret = 0;\n \n \tif (port_id_is_invalid(port_id, ENABLED_WARN) ||\n@@ -3337,7 +3324,6 @@ port_flow_destroy(portid_t port_id, uint32_t n, const uint32_t *rule)\n \t\t}\n \t\tif (i == n)\n \t\t\ttmp = &(*tmp)->next;\n-\t\t++c;\n \t}\n \treturn ret;\n }\n",
    "prefixes": [
        "08/11"
    ]
}