get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 805296,
    "url": "http://patchwork.ozlabs.org/api/patches/805296/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/skiboot/patch/20170824073948.29425-3-stewart@linux.vnet.ibm.com/",
    "project": {
        "id": 44,
        "url": "http://patchwork.ozlabs.org/api/projects/44/?format=api",
        "name": "skiboot firmware development",
        "link_name": "skiboot",
        "list_id": "skiboot.lists.ozlabs.org",
        "list_email": "skiboot@lists.ozlabs.org",
        "web_url": "http://github.com/open-power/skiboot",
        "scm_url": "http://github.com/open-power/skiboot",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170824073948.29425-3-stewart@linux.vnet.ibm.com>",
    "list_archive_url": null,
    "date": "2017-08-24T07:39:44",
    "name": "[2/6] test kernels: link with -N",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "0161d2f9c0e6b32d77de7d3f13287054412c781c",
    "submitter": {
        "id": 48041,
        "url": "http://patchwork.ozlabs.org/api/people/48041/?format=api",
        "name": "Stewart Smith",
        "email": "stewart@linux.vnet.ibm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/skiboot/patch/20170824073948.29425-3-stewart@linux.vnet.ibm.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/805296/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/805296/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "skiboot@lists.ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "skiboot@lists.ozlabs.org"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xdGX264KTz9t34\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 24 Aug 2017 17:44:18 +1000 (AEST)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xdGX25PbSzDrcY\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 24 Aug 2017 17:44:18 +1000 (AEST)",
            "from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com\n\t[148.163.158.5])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xdGR35KhZzDrLJ\n\tfor <skiboot@lists.ozlabs.org>; Thu, 24 Aug 2017 17:39:59 +1000 (AEST)",
            "from pps.filterd (m0098417.ppops.net [127.0.0.1])\n\tby mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv7O7dnv2014391\n\tfor <skiboot@lists.ozlabs.org>; Thu, 24 Aug 2017 03:39:57 -0400",
            "from e33.co.us.ibm.com (e33.co.us.ibm.com [32.97.110.151])\n\tby mx0a-001b2d01.pphosted.com with ESMTP id 2chqf6esub-1\n\t(version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT)\n\tfor <skiboot@lists.ozlabs.org>; Thu, 24 Aug 2017 03:39:57 -0400",
            "from localhost\n\tby e33.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use\n\tOnly! Violators will be prosecuted\n\tfor <skiboot@lists.ozlabs.org> from <stewart@linux.vnet.ibm.com>;\n\tThu, 24 Aug 2017 01:39:56 -0600",
            "from b03cxnp07029.gho.boulder.ibm.com (9.17.130.16)\n\tby e33.co.us.ibm.com (192.168.1.133) with IBM ESMTP SMTP Gateway:\n\tAuthorized Use Only! Violators will be prosecuted; \n\tThu, 24 Aug 2017 01:39:54 -0600",
            "from b03ledav001.gho.boulder.ibm.com\n\t(b03ledav001.gho.boulder.ibm.com [9.17.130.232])\n\tby b03cxnp07029.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with\n\tESMTP id v7O7dr2b6816186; Thu, 24 Aug 2017 00:39:53 -0700",
            "from b03ledav001.gho.boulder.ibm.com (unknown [127.0.0.1])\n\tby IMSVA (Postfix) with ESMTP id 7621F6E040;\n\tThu, 24 Aug 2017 01:39:53 -0600 (MDT)",
            "from birb.localdomain (unknown [9.81.221.211])\n\tby b03ledav001.gho.boulder.ibm.com (Postfix) with SMTP id C5AA36E03D; \n\tThu, 24 Aug 2017 01:39:52 -0600 (MDT)",
            "by birb.localdomain (Postfix, from userid 1000)\n\tid A52314F1189; Thu, 24 Aug 2017 17:39:49 +1000 (AEST)"
        ],
        "From": "Stewart Smith <stewart@linux.vnet.ibm.com>",
        "To": "skiboot@lists.ozlabs.org",
        "Date": "Thu, 24 Aug 2017 17:39:44 +1000",
        "X-Mailer": "git-send-email 2.13.5",
        "In-Reply-To": "<20170824073948.29425-1-stewart@linux.vnet.ibm.com>",
        "References": "<20170824073948.29425-1-stewart@linux.vnet.ibm.com>",
        "X-TM-AS-GCONF": "00",
        "x-cbid": "17082407-0008-0000-0000-00000877CBBF",
        "X-IBM-SpamModules-Scores": "",
        "X-IBM-SpamModules-Versions": "BY=3.00007601; HX=3.00000241; KW=3.00000007;\n\tPH=3.00000004; SC=3.00000224; SDB=6.00906857; UDB=6.00454567;\n\tIPR=6.00687054; \n\tBA=6.00005550; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009;\n\tZB=6.00000000; \n\tZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00016841;\n\tXFM=3.00000015; UTC=2017-08-24 07:39:55",
        "X-IBM-AV-DETECTION": "SAVI=unused REMOTE=unused XFE=unused",
        "x-cbparentid": "17082407-0009-0000-0000-000043B0FCB6",
        "Message-Id": "<20170824073948.29425-3-stewart@linux.vnet.ibm.com>",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-08-24_03:, , signatures=0",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n\tspamscore=0 suspectscore=1\n\tmalwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam\n\tadjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000\n\tdefinitions=main-1708240125",
        "Subject": "[Skiboot] [PATCH 2/6] test kernels: link with -N",
        "X-BeenThere": "skiboot@lists.ozlabs.org",
        "X-Mailman-Version": "2.1.23",
        "Precedence": "list",
        "List-Id": "Mailing list for skiboot development <skiboot.lists.ozlabs.org>",
        "List-Unsubscribe": "<https://lists.ozlabs.org/options/skiboot>,\n\t<mailto:skiboot-request@lists.ozlabs.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.ozlabs.org/pipermail/skiboot/>",
        "List-Post": "<mailto:skiboot@lists.ozlabs.org>",
        "List-Help": "<mailto:skiboot-request@lists.ozlabs.org?subject=help>",
        "List-Subscribe": "<https://lists.ozlabs.org/listinfo/skiboot>,\n\t<mailto:skiboot-request@lists.ozlabs.org?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org",
        "Sender": "\"Skiboot\"\n\t<skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org>"
    },
    "content": "\"Not enough room for program headers, try linking with -N\"\nTurns out the error message is helpful\n\nSigned-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>\n---\n test/hello_world/Makefile.check  | 2 +-\n test/sreset_world/Makefile.check | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/test/hello_world/Makefile.check b/test/hello_world/Makefile.check\nindex 053533fd7482..10f48cc1db94 100644\n--- a/test/hello_world/Makefile.check\n+++ b/test/hello_world/Makefile.check\n@@ -28,7 +28,7 @@ $(HELLO_WORLD_TEST:%=%-check-qemu): %-check-qemu: % skiboot.lid\n test/hello_world/hello_kernel/hello_kernel.o: test/hello_world/hello_kernel/hello_kernel.S test/hello_world/hello_kernel/hello_kernel.ld\n \t$(call Q,CC, $(CC) -m64 -c -MMD -o $@ $< ,$@)\n \n-hello_kernel_LDFLAGS=-m64 -Wl,--build-id=none -T test/hello_world/hello_kernel/hello_kernel.ld -ffreestanding -nostdlib -Ttext=0x0\n+hello_kernel_LDFLAGS=-m64 -Wl,--build-id=none -T test/hello_world/hello_kernel/hello_kernel.ld -ffreestanding -nostdlib -Ttext=0x0 -N\n \n -include $(wildcard test/hello_world/hello_kernel/*.d)\n \ndiff --git a/test/sreset_world/Makefile.check b/test/sreset_world/Makefile.check\nindex 0bd76a734234..528acd60681b 100644\n--- a/test/sreset_world/Makefile.check\n+++ b/test/sreset_world/Makefile.check\n@@ -24,7 +24,7 @@ $(SRESET_WORLD_TEST:%=%-check-p9-mambo): %-check-p9-mambo: % skiboot.lid\n test/sreset_world/sreset_kernel/sreset_kernel.o: test/sreset_world/sreset_kernel/sreset_kernel.S test/sreset_world/sreset_kernel/sreset_kernel.ld\n \t$(call Q,CC, $(CC) -mbig-endian -m64 -c -MMD -o $@ $< ,$@)\n \n-sreset_kernel_LDFLAGS=-m64 -Wl,--build-id=none -T test/sreset_world/sreset_kernel/sreset_kernel.ld -ffreestanding -nostdlib -Ttext=0x0 -mbig-endian\n+sreset_kernel_LDFLAGS=-m64 -Wl,--build-id=none -T test/sreset_world/sreset_kernel/sreset_kernel.ld -ffreestanding -nostdlib -Ttext=0x0 -mbig-endian -N\n \n -include $(wildcard test/sreset_world/sreset_kernel/*.d)\n \n",
    "prefixes": [
        "2/6"
    ]
}