get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 119958,
    "url": "http://patches.dpdk.org/api/patches/119958/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20221118085313.2118977-7-david.marchand@redhat.com/",
    "project": {
        "id": 1,
        "url": "http://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-7-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20221118085313.2118977-7-david.marchand@redhat.com",
    "date": "2022-11-18T08:53:08",
    "name": "[06/11] net/ice: fix build with clang 15",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "d5c4271959c957e01595cf809607df6514512a91",
    "submitter": {
        "id": 1173,
        "url": "http://patches.dpdk.org/api/people/1173/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@redhat.com"
    },
    "delegate": {
        "id": 24651,
        "url": "http://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20221118085313.2118977-7-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 25816,
            "url": "http://patches.dpdk.org/api/series/25816/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=25816",
            "date": "2022-11-18T08:53:02",
            "name": "Fixes for clang 15",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/25816/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/119958/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/119958/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 6FC77A0542;\n\tFri, 18 Nov 2022 09:55:37 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D48DB42D50;\n\tFri, 18 Nov 2022 09:55:21 +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 DC2FE42D3A\n for <dev@dpdk.org>; Fri, 18 Nov 2022 09:55:19 +0100 (CET)",
            "from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com\n [66.187.233.73]) 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-364-6nWA6ZAyObOPWJ2X7O7www-1; Fri, 18 Nov 2022 03:55:15 -0500",
            "from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com\n [10.11.54.1])\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 4F9E3383D0C7;\n Fri, 18 Nov 2022 08:55:15 +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 149D640E9920;\n Fri, 18 Nov 2022 08:55:13 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1668761719;\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=uUaniDga2fTY4DekwcSZ24+KNerZJu0Xf3Mn+J9nAb8=;\n b=h2uBgVPCs1N0AhAGQv4o3+/1vxYTDpvQOmW57XpUun4pIN7jC2XRT9nOOawxpG+IwrEqF+\n 7tmZeRgsC0LoRNTYWvxJ8AMECBRFs7lsnDTnkHPy3ANrHr7ewlzEEqq5E7fgRij6DhqKb7\n 6OIpdGVZBOBjJUEXRLHYahvf6yZqkvg=",
        "X-MC-Unique": "6nWA6ZAyObOPWJ2X7O7www-1",
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "stable@dpdk.org, Qiming Yang <qiming.yang@intel.com>,\n Qi Zhang <qi.z.zhang@intel.com>, Steve Yang <stevex.yang@intel.com>",
        "Subject": "[PATCH 06/11] net/ice: fix build with clang 15",
        "Date": "Fri, 18 Nov 2022 09:53:08 +0100",
        "Message-Id": "<20221118085313.2118977-7-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.1",
        "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: 0d8d7bd720ba (\"net/ice: support DDP dump switch rule binary\")\nCc: stable@dpdk.org\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n drivers/net/ice/ice_ddp_package.c | 3 ---\n 1 file changed, 3 deletions(-)",
    "diff": "diff --git a/drivers/net/ice/ice_ddp_package.c b/drivers/net/ice/ice_ddp_package.c\nindex a27a4a2da2..0aa19eb282 100644\n--- a/drivers/net/ice/ice_ddp_package.c\n+++ b/drivers/net/ice/ice_ddp_package.c\n@@ -439,7 +439,6 @@ ice_dump_switch(struct rte_eth_dev *dev, uint8_t **buff2, uint32_t *size)\n \tint i = 0;\n \tuint16_t tbl_id = 0;\n \tuint32_t tbl_idx = 0;\n-\tint tbl_cnt = 0;\n \tuint8_t *buffer = *buff2;\n \n \thw = ICE_DEV_PRIVATE_TO_HW(dev->data->dev_private);\n@@ -481,10 +480,8 @@ ice_dump_switch(struct rte_eth_dev *dev, uint8_t **buff2, uint32_t *size)\n \n \t\tfree(buff);\n \n-\t\ttbl_cnt++;\n \t\tif (tbl_idx == 0xffffffff) {\n \t\t\ttbl_idx = 0;\n-\t\t\ttbl_cnt = 0;\n \t\t\tmemset(buffer, '\\n', sizeof(char));\n \t\t\tbuffer++;\n \t\t\toffset = 0;\n",
    "prefixes": [
        "06/11"
    ]
}