get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 61786,
    "url": "https://patches.dpdk.org/api/patches/61786/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1571856864-8779-6-git-send-email-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": "<1571856864-8779-6-git-send-email-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1571856864-8779-6-git-send-email-david.marchand@redhat.com",
    "date": "2019-10-23T18:54:17",
    "name": "[v2,05/12] net/bonding: use non deprecated PCI API",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "3b5ee28d9eb3571edfb88c6be0b36da07c246cae",
    "submitter": {
        "id": 1173,
        "url": "https://patches.dpdk.org/api/people/1173/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@redhat.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1571856864-8779-6-git-send-email-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 7024,
            "url": "https://patches.dpdk.org/api/series/7024/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=7024",
            "date": "2019-10-23T18:54:12",
            "name": "EAL and PCI ABI changes for 19.11",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/7024/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/61786/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/61786/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 38B0F1D178;\n\tWed, 23 Oct 2019 20:55:02 +0200 (CEST)",
            "from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com\n\t[207.211.31.120]) by dpdk.org (Postfix) with ESMTP id D37411D169\n\tfor <dev@dpdk.org>; Wed, 23 Oct 2019 20:54:57 +0200 (CEST)",
            "from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com\n\t[209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id\n\tus-mta-171-5SzPjHLcNuOJRr70I8b4Pg-1; Wed, 23 Oct 2019 14:54:54 -0400",
            "from smtp.corp.redhat.com\n\t(int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mimecast-mx01.redhat.com (Postfix) with ESMTPS id F341A5EC;\n\tWed, 23 Oct 2019 18:54:52 +0000 (UTC)",
            "from dmarchan.remote.csb (ovpn-204-129.brq.redhat.com\n\t[10.40.204.129])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 9740B60872;\n\tWed, 23 Oct 2019 18:54:50 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n\ts=mimecast20190719; t=1571856897;\n\th=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n\tto:to:cc:cc:content-type:content-type:\n\tcontent-transfer-encoding:content-transfer-encoding:\n\tin-reply-to:in-reply-to:references:references;\n\tbh=EHBgfjAEsRlF+kygwZFYBRi3036zytg1glqn90EWAss=;\n\tb=Op+EmV3RPzp1e2X7f376Uz284sosouNrKg7BL2ylAgn7XJpVai/w6RX0w6ck6R7GFsMlky\n\tuOMYchnd0VwXQddghrxNp5u2m3HIbTxYGkjCoSuGtb1dqtCO4euE2sBrehK3pZGerzHBe0\n\t+pK0cKcuKRIwjIx1pSPduBaRt892ioE=",
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "stephen@networkplumber.org, anatoly.burakov@intel.com,\n\tthomas@monjalon.net, stable@dpdk.org, Chas Williams <chas3@att.com>",
        "Date": "Wed, 23 Oct 2019 20:54:17 +0200",
        "Message-Id": "<1571856864-8779-6-git-send-email-david.marchand@redhat.com>",
        "In-Reply-To": "<1571856864-8779-1-git-send-email-david.marchand@redhat.com>",
        "References": "<1571736761-32134-1-git-send-email-david.marchand@redhat.com>\n\t<1571856864-8779-1-git-send-email-david.marchand@redhat.com>",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.13",
        "X-MC-Unique": "5SzPjHLcNuOJRr70I8b4Pg-1",
        "X-Mimecast-Spam-Score": "0",
        "Content-Type": "text/plain; charset=WINDOWS-1252",
        "Content-Transfer-Encoding": "quoted-printable",
        "Subject": "[dpdk-dev] [PATCH v2 05/12] net/bonding: use non deprecated PCI API",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "rte_eal_compare_pci_addr has been deprecated since v17.11.\nConvert to rte_pci_addr_cmp.\n\nFixes: c848b518bbc7 (\"net/bonding: support bifurcated driver in eal\")\nCc: stable@dpdk.org\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n drivers/net/bonding/rte_eth_bond_args.c | 5 ++---\n 1 file changed, 2 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/drivers/net/bonding/rte_eth_bond_args.c b/drivers/net/bonding/rte_eth_bond_args.c\nindex f298ea0..bfe03c3 100644\n--- a/drivers/net/bonding/rte_eth_bond_args.c\n+++ b/drivers/net/bonding/rte_eth_bond_args.c\n@@ -60,11 +60,10 @@ find_port_id_by_dev_name(const char *name)\n static inline int\n bond_pci_addr_cmp(const struct rte_device *dev, const void *_pci_addr)\n {\n-\tstruct rte_pci_device *pdev;\n+\tconst struct rte_pci_device *pdev = RTE_DEV_TO_PCI_CONST(dev);\n \tconst struct rte_pci_addr *paddr = _pci_addr;\n \n-\tpdev = RTE_DEV_TO_PCI(*(struct rte_device **)(void *)&dev);\n-\treturn rte_eal_compare_pci_addr(&pdev->addr, paddr);\n+\treturn rte_pci_addr_cmp(&pdev->addr, paddr);\n }\n \n /**\n",
    "prefixes": [
        "v2",
        "05/12"
    ]
}