get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 119955,
    "url": "http://patchwork.dpdk.org/api/patches/119955/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20221118085313.2118977-4-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-4-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20221118085313.2118977-4-david.marchand@redhat.com",
    "date": "2022-11-18T08:53:05",
    "name": "[03/11] bus/dpaa: fix build with clang 15",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "cd9984aabcc1ea4197727d7ebd449c5b3db418db",
    "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-4-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/119955/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/119955/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 D6641A0542;\n\tFri, 18 Nov 2022 09:55:17 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id F1E3242D2F;\n\tFri, 18 Nov 2022 09:55:10 +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 66F3642D27\n for <dev@dpdk.org>; Fri, 18 Nov 2022 09:55:09 +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-339-yTVjeHu2PSSumxjpg4sgpA-1; Fri, 18 Nov 2022 03:55:06 -0500",
            "from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com\n [10.11.54.10])\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 A9D07833A0D;\n Fri, 18 Nov 2022 08:55:05 +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 3DA79492B04;\n Fri, 18 Nov 2022 08:55:04 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1668761708;\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=+wnZZgNO7wpJGwyzIQWnbtoYomzzCIlKO/3BdF2Fo+w=;\n b=YO4AzIgNkpzlnGmCAlldRBGeGRLCF9as24CYiDO+azGRWaXYziTJ6ftyfQABA0ZGzM7xJZ\n VJZ+GEpAL/9xEExZ1aj8BRTK8BzKCTOSZFrbb97UI64/ZRViMvXMn20kuoGoJpQijieCiC\n SPSUa1s0Ndc4PhtWiN7iec3FRuj5no0=",
        "X-MC-Unique": "yTVjeHu2PSSumxjpg4sgpA-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 Shreyansh Jain <shreyansh.jain@nxp.com>, Roy Pledge <roy.pledge@nxp.com>,\n Geoff Thorpe <geoff.thorpe@nxp.com>",
        "Subject": "[PATCH 03/11] bus/dpaa: fix build with clang 15",
        "Date": "Fri, 18 Nov 2022 09:53:05 +0100",
        "Message-Id": "<20221118085313.2118977-4-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.10",
        "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: f38f61e982f8 (\"bus/dpaa: add BMAN hardware interfaces\")\nCc: stable@dpdk.org\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n drivers/bus/dpaa/base/qbman/bman.h | 4 +---\n 1 file changed, 1 insertion(+), 3 deletions(-)",
    "diff": "diff --git a/drivers/bus/dpaa/base/qbman/bman.h b/drivers/bus/dpaa/base/qbman/bman.h\nindex 21a6bee778..b2aa93e046 100644\n--- a/drivers/bus/dpaa/base/qbman/bman.h\n+++ b/drivers/bus/dpaa/base/qbman/bman.h\n@@ -519,7 +519,6 @@ static inline int bm_shutdown_pool(struct bm_portal *p, u32 bpid)\n \tstruct bm_mc_command *bm_cmd;\n \tstruct bm_mc_result *bm_res;\n \n-\tint aq_count = 0;\n \tbool stop = false;\n \n \twhile (!stop) {\n@@ -532,8 +531,7 @@ static inline int bm_shutdown_pool(struct bm_portal *p, u32 bpid)\n \t\tif (!(bm_res->verb & BM_MCR_VERB_ACQUIRE_BUFCOUNT)) {\n \t\t\t/* Pool is empty */\n \t\t\tstop = true;\n-\t\t} else\n-\t\t\t++aq_count;\n+\t\t}\n \t};\n \treturn 0;\n }\n",
    "prefixes": [
        "03/11"
    ]
}