get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 127136,
    "url": "http://patches.dpdk.org/api/patches/127136/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230520180730.5789-1-philipp@redfish-solutions.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": "<20230520180730.5789-1-philipp@redfish-solutions.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230520180730.5789-1-philipp@redfish-solutions.com",
    "date": "2023-05-20T18:07:30",
    "name": "[1/1] vfio: Make buildable with MUSL runtime",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "5ccf3d4e3acfffe544898d3911ec28c53b991d85",
    "submitter": {
        "id": 3070,
        "url": "http://patches.dpdk.org/api/people/3070/?format=api",
        "name": "Philip Prindeville",
        "email": "philipp@redfish-solutions.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230520180730.5789-1-philipp@redfish-solutions.com/mbox/",
    "series": [
        {
            "id": 28096,
            "url": "http://patches.dpdk.org/api/series/28096/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=28096",
            "date": "2023-05-20T18:07:30",
            "name": "[1/1] vfio: Make buildable with MUSL runtime",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/28096/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/127136/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/127136/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 2ED6342B55;\n\tSat, 20 May 2023 20:07:35 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B62F942BC9;\n\tSat, 20 May 2023 20:07:34 +0200 (CEST)",
            "from mail.redfish-solutions.com (mail.redfish-solutions.com\n [24.116.100.90]) by mails.dpdk.org (Postfix) with ESMTP id BB71740395\n for <dev@dpdk.org>; Sat, 20 May 2023 20:07:32 +0200 (CEST)",
            "from ubuntu22.redfish-solutions.com (ubuntu22.redfish-solutions.com\n [192.168.8.33]) (authenticated bits=0)\n by mail.redfish-solutions.com (8.17.1/8.16.1) with ESMTPSA id 34KI7UV7625482\n (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);\n Sat, 20 May 2023 12:07:30 -0600"
        ],
        "From": "\"Philip Prindeville\" <philipp@redfish-solutions.com>",
        "To": "dev@dpdk.org",
        "Cc": "Philip Prindeville <philipp@redfish-solutions.com>",
        "Subject": "[PATCH 1/1] vfio: Make buildable with MUSL runtime",
        "Date": "Sat, 20 May 2023 12:07:30 -0600",
        "Message-Id": "<20230520180730.5789-1-philipp@redfish-solutions.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Scanned-By": "MIMEDefang 3.3 on 192.168.8.3",
        "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": "From: Philip Prindeville <philipp@redfish-solutions.com>\n\npread64() and pwrite64() are declared in <unistd.h> in MUSL and\nother (i.e. not glibc) C runtimes.\n\nSigned-off-by: Philip Prindeville <philipp@redfish-solutions.com>\n---\n drivers/bus/pci/linux/pci_vfio.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/drivers/bus/pci/linux/pci_vfio.c b/drivers/bus/pci/linux/pci_vfio.c\nindex fab3483d9f8108fafaff6d022cd41165d1ec5a61..fe83e1a04ec2e7a891425144be3e0aacecb24f09 100644\n--- a/drivers/bus/pci/linux/pci_vfio.c\n+++ b/drivers/bus/pci/linux/pci_vfio.c\n@@ -2,6 +2,7 @@\n  * Copyright(c) 2010-2014 Intel Corporation\n  */\n \n+#include <unistd.h>\n #include <string.h>\n #include <fcntl.h>\n #include <linux/pci_regs.h>\n",
    "prefixes": [
        "1/1"
    ]
}