get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 65578,
    "url": "https://patches.dpdk.org/api/patches/65578/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/f028dcdd91e4452d9911942bc1fd53c59c3afe15.1580906522.git.tredaelli@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": "<f028dcdd91e4452d9911942bc1fd53c59c3afe15.1580906522.git.tredaelli@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/f028dcdd91e4452d9911942bc1fd53c59c3afe15.1580906522.git.tredaelli@redhat.com",
    "date": "2020-02-05T12:50:41",
    "name": "[1/3] crypto/octeontx2: fix building with GCC 10",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "85e45178f238d7480353026c8f9ba7c93122668b",
    "submitter": {
        "id": 717,
        "url": "https://patches.dpdk.org/api/people/717/?format=api",
        "name": "Timothy Redaelli",
        "email": "tredaelli@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/f028dcdd91e4452d9911942bc1fd53c59c3afe15.1580906522.git.tredaelli@redhat.com/mbox/",
    "series": [
        {
            "id": 8428,
            "url": "https://patches.dpdk.org/api/series/8428/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=8428",
            "date": "2020-02-05T12:50:40",
            "name": "fix building with GCC 10",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/8428/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/65578/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/65578/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 28700A04FA;\n\tWed,  5 Feb 2020 13:51:12 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 0F0991C1C7;\n\tWed,  5 Feb 2020 13:51:05 +0100 (CET)",
            "from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com\n [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id 768401C1A6\n for <dev@dpdk.org>; Wed,  5 Feb 2020 13:51:02 +0100 (CET)",
            "from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com\n [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id\n us-mta-374-mEFKBy19OfSwSSSKnULggg-1; Wed, 05 Feb 2020 07:50:58 -0500",
            "from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com\n [10.5.11.15])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3E7DF801A03;\n Wed,  5 Feb 2020 12:50:57 +0000 (UTC)",
            "from aldebaran.drizzt.lan (dhcp19-189-71.ntdv.lab.eng.bos.redhat.com\n [10.19.189.71])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 19D7D790C0;\n Wed,  5 Feb 2020 12:50:55 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1580907062;\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=NBgpqzYTt76cPObabY39Lkjr1E+Z7xNkl2kHvcdQfZs=;\n b=B9SJAoLgDqh9b+2oYLUaRINkLYjEjdHRJ+0WhrWoWKN/5Ic4RKr1i8BPKhOE0Etzf3HXxJ\n G4x98ge58MrrEX+1eKspi47aeYsN05iVJV1iRw2ClhliTr3HO3hSoKYATEOGQmWUJlNYjE\n /oBILSLTbFzczG9zQl2AsRsyfTOiZiU=",
        "From": "Timothy Redaelli <tredaelli@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "anoobj@marvell.com,\n\tstable@dpdk.org",
        "Date": "Wed,  5 Feb 2020 13:50:41 +0100",
        "Message-Id": "\n <f028dcdd91e4452d9911942bc1fd53c59c3afe15.1580906522.git.tredaelli@redhat.com>",
        "In-Reply-To": "<cover.1580906522.git.tredaelli@redhat.com>",
        "References": "<cover.1580906522.git.tredaelli@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.15",
        "X-MC-Unique": "mEFKBy19OfSwSSSKnULggg-1",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Type": "text/plain; charset=US-ASCII",
        "Content-Transfer-Encoding": "quoted-printable",
        "Subject": "[dpdk-dev] [PATCH 1/3] crypto/octeontx2: fix building with GCC 10",
        "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 <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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "GCC 10 defaults to -fno-common, this means a linker error will now be\nreported if the same global variable is defined in more than one\ncompilation unit.\n\nFixes: 2f8a1b963eb7 (\"crypto/octeontx2: add PMD skeleton\")\nCc: anoobj@marvell.com\nCc: stable@dpdk.org\nSigned-off-by: Timothy Redaelli <tredaelli@redhat.com>\n---\n drivers/crypto/octeontx2/otx2_cryptodev.c     | 2 ++\n drivers/crypto/octeontx2/otx2_cryptodev.h     | 2 +-\n drivers/crypto/octeontx2/otx2_cryptodev_ops.h | 2 +-\n 3 files changed, 4 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/crypto/octeontx2/otx2_cryptodev.c b/drivers/crypto/octeontx2/otx2_cryptodev.c\nindex 7fd216bb3..957bcd720 100644\n--- a/drivers/crypto/octeontx2/otx2_cryptodev.c\n+++ b/drivers/crypto/octeontx2/otx2_cryptodev.c\n@@ -24,6 +24,8 @@\n \n int otx2_cpt_logtype;\n \n+uint8_t otx2_cryptodev_driver_id;\n+\n static struct rte_pci_id pci_id_cpt_table[] = {\n \t{\n \t\tRTE_PCI_DEVICE(PCI_VENDOR_ID_CAVIUM,\ndiff --git a/drivers/crypto/octeontx2/otx2_cryptodev.h b/drivers/crypto/octeontx2/otx2_cryptodev.h\nindex 8e0ebc292..c0aa661b3 100644\n--- a/drivers/crypto/octeontx2/otx2_cryptodev.h\n+++ b/drivers/crypto/octeontx2/otx2_cryptodev.h\n@@ -38,6 +38,6 @@ extern int otx2_cpt_logtype;\n /*\n  * Crypto device driver ID\n  */\n-uint8_t otx2_cryptodev_driver_id;\n+extern uint8_t otx2_cryptodev_driver_id;\n \n #endif /* _OTX2_CRYPTODEV_H_ */\ndiff --git a/drivers/crypto/octeontx2/otx2_cryptodev_ops.h b/drivers/crypto/octeontx2/otx2_cryptodev_ops.h\nindex a2724f722..f83e36b48 100644\n--- a/drivers/crypto/octeontx2/otx2_cryptodev_ops.h\n+++ b/drivers/crypto/octeontx2/otx2_cryptodev_ops.h\n@@ -16,6 +16,6 @@ enum otx2_cpt_egrp {\n \tOTX2_CPT_EGRP_AE = 2\n };\n \n-struct rte_cryptodev_ops otx2_cpt_ops;\n+extern struct rte_cryptodev_ops otx2_cpt_ops;\n \n #endif /* _OTX2_CRYPTODEV_OPS_H_ */\n",
    "prefixes": [
        "1/3"
    ]
}