get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 711078,
    "url": "http://patchwork.ozlabs.org/api/patches/711078/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/alpine.DEB.2.20.99.1701040957380.31470@trent.utfs.org/",
    "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": "<alpine.DEB.2.20.99.1701040957380.31470@trent.utfs.org>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/alpine.DEB.2.20.99.1701040957380.31470@trent.utfs.org/",
    "date": "2017-01-04T18:33:05",
    "name": "bootx_init.c:88: undefined reference to `__stack_chk_fail_local'",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": false,
    "hash": "e5f6d29c9218d954c952cf901d2709277e431e94",
    "submitter": {
        "id": 1036,
        "url": "http://patchwork.ozlabs.org/api/people/1036/?format=api",
        "name": "Christian Kujau",
        "email": "lists@nerdbynature.de"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/alpine.DEB.2.20.99.1701040957380.31470@trent.utfs.org/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/711078/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/711078/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>",
        "X-Original-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\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 3ttzxW09LVz9t0J\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu,  5 Jan 2017 05:34:39 +1100 (AEDT)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3ttzxV6WXXzDqYt\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu,  5 Jan 2017 05:34:38 +1100 (AEDT)",
            "from trent.utfs.org (trent.utfs.org [94.185.90.103])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3ttzvp4BFkzDqQ9\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tThu,  5 Jan 2017 05:33:10 +1100 (AEDT)",
            "from localhost (localhost [IPv6:::1])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby trent.utfs.org (Postfix) with ESMTPS id DB5CE647B5;\n\tWed,  4 Jan 2017 19:33:05 +0100 (CET)"
        ],
        "Date": "Wed, 4 Jan 2017 10:33:05 -0800 (PST)",
        "From": "Christian Kujau <lists@nerdbynature.de>",
        "To": "Christophe LEROY <christophe.leroy@c-s.fr>",
        "Subject": "Re: bootx_init.c:88: undefined reference to `__stack_chk_fail_local'",
        "In-Reply-To": "<81ef821b-8af2-0ee5-ab35-58639548dab7@c-s.fr>",
        "Message-ID": "<alpine.DEB.2.20.99.1701040957380.31470@trent.utfs.org>",
        "References": "<alpine.DEB.2.20.99.1701030715390.31470@trent.utfs.org>\n\t<81ef821b-8af2-0ee5-ab35-58639548dab7@c-s.fr>",
        "User-Agent": "Alpine 2.20.99 (DEB 191 2016-12-09)",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=US-ASCII",
        "X-BeenThere": "linuxppc-dev@lists.ozlabs.org",
        "X-Mailman-Version": "2.1.23",
        "Precedence": "list",
        "List-Id": "Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>",
        "List-Unsubscribe": "<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.ozlabs.org/pipermail/linuxppc-dev/>",
        "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>",
        "List-Subscribe": "<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>",
        "Cc": "Benjamin Herrenschmidt <benh@au1.ibm.com>, linuxppc-dev@lists.ozlabs.org",
        "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org",
        "Sender": "\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"
    },
    "content": "On Wed, 4 Jan 2017, Christophe LEROY wrote:\n> Using GCC 5.4.0, I don't have that issue. bootx_init.o only contains reference\n> to __stack_chk_fail\n\nFWIW, building with a GCC 5.2 crosscompiler succeeds (with \nCONFIG_CC_STACKPROTECTOR_STRONG=y), but I don't know if it will boot \nthough, see my other mail in this thread:\n\n  https://lists.ozlabs.org/pipermail/linuxppc-dev/2017-January/152623.html\n\nSo, would the following be sufficient? It compiles, but I haven't had a \nchance to boot yet.\n\n\n\n\nThanks,\nChristian.",
    "diff": "diff --git a/arch/powerpc/platforms/powermac/Makefile b/arch/powerpc/platforms/powermac/Makefile\nindex 1eb7b45..c7dcab9 100644\n--- a/arch/powerpc/platforms/powermac/Makefile\n+++ b/arch/powerpc/platforms/powermac/Makefile\n@@ -1,4 +1,4 @@\n-CFLAGS_bootx_init.o  \t\t+= -fPIC\n+CFLAGS_bootx_init.o  \t\t+= -fPIC -fno-stack-protector\n \n ifdef CONFIG_FUNCTION_TRACER\n # Do not trace early boot code\n",
    "prefixes": []
}