get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 193,
    "url": "http://patchwork.ozlabs.org/api/patches/193/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/Pine.LNX.4.64.0809070031440.5065@blonde.site/",
    "project": {
        "id": 2,
        "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api",
        "name": "Linux PPC development",
        "link_name": "linuxppc-dev",
        "list_id": "linuxppc-dev.lists.ozlabs.org",
        "list_email": "linuxppc-dev@lists.ozlabs.org",
        "web_url": "https://github.com/linuxppc/wiki/wiki",
        "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git",
        "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/",
        "list_archive_url": "https://lore.kernel.org/linuxppc-dev/",
        "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/",
        "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}"
    },
    "msgid": "<Pine.LNX.4.64.0809070031440.5065@blonde.site>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/Pine.LNX.4.64.0809070031440.5065@blonde.site/",
    "date": "2008-09-06T23:35:48",
    "name": "powerpc: fix rare boot build breakage",
    "commit_ref": "4ff23fa93011e2367fea056e72c92709178972d9",
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "157f3b2a4eb7cda64c0e9dbac1ff65cc49fffdff",
    "submitter": {
        "id": 113,
        "url": "http://patchwork.ozlabs.org/api/people/113/?format=api",
        "name": "Hugh Dickins",
        "email": "hugh@veritas.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/Pine.LNX.4.64.0809070031440.5065@blonde.site/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/193/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/193/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linuxppc-dev-bounces+patchwork=ozlabs.org@ozlabs.org>",
        "X-Original-To": [
            "patchwork@ozlabs.org",
            "linuxppc-dev@ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork@ozlabs.org",
            "linuxppc-dev@ozlabs.org"
        ],
        "Received": [
            "from ozlabs.org (localhost [127.0.0.1])\n\tby ozlabs.org (Postfix) with ESMTP id D639CDE047\n\tfor <patchwork@ozlabs.org>; Sun,  7 Sep 2008 09:35:42 +1000 (EST)",
            "from extu-mxob-1.symantec.com (extu-mxob-1.symantec.com\n\t[216.10.194.28])\n\t(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\n\t(Client CN \"extu-mxob-1.symantec.com\",\n\tIssuer \"VeriSign Trust Network\" (verified OK))\n\tby ozlabs.org (Postfix) with ESMTPS id 71EEFDDDDC\n\tfor <linuxppc-dev@ozlabs.org>; Sun,  7 Sep 2008 09:35:24 +1000 (EST)",
            "from tus1opsmtapin01.ges.symantec.com\n\t(tus1opsmtapin01.ges.symantec.com [192.168.214.43])\n\tby extu-mxob-1.symantec.com (8.14.1/8.14.1) with ESMTP id\n\tm86NZKq5014051\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);\n\tSat, 6 Sep 2008 16:35:20 -0700",
            "from oni.engba.symantec.com ([10.182.128.240]\n\thelo=megami.veritas.com)\n\tby tus1opsmtapin01.ges.symantec.com with smtp (Exim 4.67)\n\t(envelope-from <hugh@veritas.com>)\n\tid 1Kc7JI-0007GT-2K; Sat, 06 Sep 2008 16:35:20 -0700",
            "from [172.20.21.233]([172.20.21.233]) (2434 bytes) by\n\tmegami.veritas.com via sendmail with P:esmtp/R:smart_host/T:smtp\n\t(sender: <hugh@veritas.com>) id <m1Kc7JG-0001SaC@megami.veritas.com>\n\tfor <paulus@samba.org>; Sat, 6 Sep 2008 16:35:18 -0700 (PDT)\n\t(Smail-3.2.0.101 1997-Dec-17 #15 built 2001-Aug-30)"
        ],
        "Date": "Sun, 7 Sep 2008 00:35:48 +0100 (BST)",
        "From": "Hugh Dickins <hugh@veritas.com>",
        "X-X-Sender": "hugh@blonde.site",
        "To": "Paul Mackerras <paulus@samba.org>",
        "Subject": "[PATCH] powerpc: fix rare boot build breakage",
        "Message-ID": "<Pine.LNX.4.64.0809070031440.5065@blonde.site>",
        "MIME-Version": "1.0",
        "Content-Type": "MULTIPART/MIXED; BOUNDARY=\"8323584-1736752567-1220744148=:5065\"",
        "Cc": "linuxppc-dev@ozlabs.org",
        "X-BeenThere": "linuxppc-dev@ozlabs.org",
        "X-Mailman-Version": "2.1.11",
        "Precedence": "list",
        "List-Id": "Linux on PowerPC Developers Mail List <linuxppc-dev.ozlabs.org>",
        "List-Unsubscribe": "<https://ozlabs.org/mailman/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@ozlabs.org?subject=unsubscribe>",
        "List-Archive": "<http://ozlabs.org/pipermail/linuxppc-dev>",
        "List-Post": "<mailto:linuxppc-dev@ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev-request@ozlabs.org?subject=help>",
        "List-Subscribe": "<https://ozlabs.org/mailman/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@ozlabs.org?subject=subscribe>",
        "Sender": "linuxppc-dev-bounces+patchwork=ozlabs.org@ozlabs.org",
        "Errors-To": "linuxppc-dev-bounces+patchwork=ozlabs.org@ozlabs.org"
    },
    "content": "A make -j20 powerpc kernel build broke a couple of months ago saying:\nIn file included from arch/powerpc/boot/gunzip_util.h:13,\n                 from arch/powerpc/boot/prpmc2800.c:21:\narch/powerpc/boot/zlib.h:85: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’ token\narch/powerpc/boot/zlib.h:630: warning: type defaults to ‘int’ in declaration of ‘Byte’\narch/powerpc/boot/zlib.h:630: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token\n\nIt happened again yesterday: too rare for me to confirm the fix, but\nit looks like the list of dependants on gunzip_util.h was incomplete.\n\nSigned-off-by: Hugh Dickins <hugh@veritas.com>",
    "diff": "--- 2.6.27-rc5/arch/powerpc/boot/Makefile\t2008-07-29 04:24:27.000000000 +0100\n+++ linux/arch/powerpc/boot/Makefile\t2008-09-06 18:28:29.000000000 +0100\n@@ -49,7 +49,7 @@ zlib       := inffast.c inflate.c inftre\n zlibheader := inffast.h inffixed.h inflate.h inftrees.h infutil.h\n zliblinuxheader := zlib.h zconf.h zutil.h\n \n-$(addprefix $(obj)/,$(zlib) gunzip_util.o main.o): \\\n+$(addprefix $(obj)/,$(zlib) cuboot-c2k.o gunzip_util.o main.o prpmc2800.o): \\\n \t$(addprefix $(obj)/,$(zliblinuxheader)) $(addprefix $(obj)/,$(zlibheader))\n \n src-libfdt := fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c\n",
    "prefixes": []
}