get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 51165,
    "url": "http://patches.dpdk.org/api/patches/51165/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190313170657.16688-6-ncopa@alpinelinux.org/",
    "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": "<20190313170657.16688-6-ncopa@alpinelinux.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190313170657.16688-6-ncopa@alpinelinux.org",
    "date": "2019-03-13T17:06:47",
    "name": "[v3,05/15] bus/fslmc: fix compile error with musl libc",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "3367e06575d353dd65b4b699c974fdb2993dba33",
    "submitter": {
        "id": 1242,
        "url": "http://patches.dpdk.org/api/people/1242/?format=api",
        "name": "Natanael Copa",
        "email": "ncopa@alpinelinux.org"
    },
    "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/20190313170657.16688-6-ncopa@alpinelinux.org/mbox/",
    "series": [
        {
            "id": 3735,
            "url": "http://patches.dpdk.org/api/series/3735/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=3735",
            "date": "2019-03-13T17:06:42",
            "name": "Build fixes for musl libc",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/3735/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/51165/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/51165/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 0EFCA5323;\n\tWed, 13 Mar 2019 18:07:31 +0100 (CET)",
            "from mx1.tetrasec.net (mx1.tetrasec.net [74.117.190.25])\n\tby dpdk.org (Postfix) with ESMTP id 815F84CA6\n\tfor <dev@dpdk.org>; Wed, 13 Mar 2019 18:07:25 +0100 (CET)",
            "from mx1.tetrasec.net (mail.local [127.0.0.1])\n\tby mx1.tetrasec.net (Postfix) with ESMTP id 06BD39E03AF;\n\tWed, 13 Mar 2019 17:07:25 +0000 (UTC)",
            "from ncopa-desktop.lan (67.63.200.37.customer.cdi.no\n\t[37.200.63.67])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\tkey-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits)\n\tserver-digest SHA256) (No client certificate requested)\n\t(Authenticated sender: n@tanael.org)\n\tby mx1.tetrasec.net (Postfix) with ESMTPSA id 444DC9E1D58;\n\tWed, 13 Mar 2019 17:07:24 +0000 (UTC)"
        ],
        "From": "Natanael Copa <ncopa@alpinelinux.org>",
        "To": "dev@dpdk.org",
        "Cc": "Natanael Copa <ncopa@alpinelinux.org>",
        "Date": "Wed, 13 Mar 2019 18:06:47 +0100",
        "Message-Id": "<20190313170657.16688-6-ncopa@alpinelinux.org>",
        "X-Mailer": "git-send-email 2.21.0",
        "In-Reply-To": "<20190313170657.16688-1-ncopa@alpinelinux.org>",
        "References": "<20190313170657.16688-1-ncopa@alpinelinux.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "quoted-printable",
        "Subject": "[dpdk-dev] [PATCH v3 05/15] bus/fslmc: fix compile error with musl\n\tlibc",
        "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": "This fixes the following compile error with musl libc:\n\n../drivers/bus/fslmc/qbman/include/compat.h:41:10: error: 'stdout' undeclared (first use in this function)\n   fflush(stdout); \\\n          ^~~~~~\n\nSigned-off-by: Natanael Copa <ncopa@alpinelinux.org>\n---\n drivers/bus/fslmc/qbman/include/compat.h | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/drivers/bus/fslmc/qbman/include/compat.h b/drivers/bus/fslmc/qbman/include/compat.h\nindex 655bff4b6..ae84528b9 100644\n--- a/drivers/bus/fslmc/qbman/include/compat.h\n+++ b/drivers/bus/fslmc/qbman/include/compat.h\n@@ -11,6 +11,7 @@\n #ifndef _GNU_SOURCE\n #define _GNU_SOURCE\n #endif\n+#include <stdio.h>\n #include <stdint.h>\n #include <stdlib.h>\n #include <errno.h>\n",
    "prefixes": [
        "v3",
        "05/15"
    ]
}