get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 810182,
    "url": "http://patchwork.ozlabs.org/api/patches/810182/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170905140719.20192-2-xypron.glpk@gmx.de/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170905140719.20192-2-xypron.glpk@gmx.de>",
    "list_archive_url": null,
    "date": "2017-09-05T14:07:16",
    "name": "[U-Boot,v2,1/4] efi_loader: rename __efi_hello_world_*",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "7147fa5e57a0666fd55a767ffcd86228cc85a3dd",
    "submitter": {
        "id": 61270,
        "url": "http://patchwork.ozlabs.org/api/people/61270/?format=api",
        "name": "Heinrich Schuchardt",
        "email": "xypron.glpk@gmx.de"
    },
    "delegate": {
        "id": 3400,
        "url": "http://patchwork.ozlabs.org/api/users/3400/?format=api",
        "username": "agraf",
        "first_name": "Alexander",
        "last_name": "Graf",
        "email": "agraf@suse.de"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170905140719.20192-2-xypron.glpk@gmx.de/mbox/",
    "series": [
        {
            "id": 1589,
            "url": "http://patchwork.ozlabs.org/api/series/1589/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=1589",
            "date": "2017-09-05T14:07:16",
            "name": "Clean up make process for EFI payload",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/1589/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/810182/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/810182/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xmpTD27r5z9t2R\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  6 Sep 2017 00:07:58 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 3FF7CC21F5E; Tue,  5 Sep 2017 14:07:47 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 72F7CC21C8F;\n\tTue,  5 Sep 2017 14:07:44 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid EEDC1C21C62; Tue,  5 Sep 2017 14:07:42 +0000 (UTC)",
            "from mout.gmx.net (mout.gmx.net [212.227.15.18])\n\tby lists.denx.de (Postfix) with ESMTPS id A0AA0C21C62\n\tfor <u-boot@lists.denx.de>; Tue,  5 Sep 2017 14:07:42 +0000 (UTC)",
            "from laptop1.fritz.box ([92.40.248.116]) by mail.gmx.com (mrgmx002\n\t[212.227.17.184]) with ESMTPSA (Nemesis) id\n\t0LgIWi-1dANNm3l4O-00nlXq; Tue, 05 Sep 2017 16:07:39 +0200"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-0.7 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_LOW,\n\tRCVD_IN_MSPIKE_H2 autolearn=unavailable autolearn_force=no\n\tversion=3.4.0",
        "From": "Heinrich Schuchardt <xypron.glpk@gmx.de>",
        "To": "Alexander Graf <agraf@suse.de>",
        "Date": "Tue,  5 Sep 2017 16:07:16 +0200",
        "Message-Id": "<20170905140719.20192-2-xypron.glpk@gmx.de>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<20170905140719.20192-1-xypron.glpk@gmx.de>",
        "References": "<20170905140719.20192-1-xypron.glpk@gmx.de>",
        "X-Provags-ID": "V03:K0:So93/TVY7W7hBmjChQV06T5UZOAiKaJ12PtzY/EamebL/VLpSO1\n\tXr6YzOJXWnk1/6z8oAYnPL/qTJJQqUm/LO/vig3QHboqLX1iFKGYSXWmQQF7nFeyFi013Fv\n\tuq//5xuoDFhFm9Mny9hYzIDIyxLDhw4hmD+jYrPqwycU7hvi7npfaV4b8qpTc47CDbSBM26\n\tKMoXbuB5FbnRi5suOzKzg==",
        "X-UI-Out-Filterresults": "notjunk:1; V01:K0:7mp4sABRp9A=:Xjr0GLOJsih58NYetFGwJN\n\tPWA6UVedAYHYluvsd3tCyURza5Aqm3ObPWAqogY1przULd/Y+G9mJYXcobVkdgkM+CPTBONxh\n\tX260bigdKH+A3E7VsmZPBZVjDkLpG74QgCr+D02s4ffGG31rweNbfVsNqjDJR1//eeHksptr5\n\tF1aZPGWU62H5PlsHctwPBa0WkTQvDFbCuYmppPcuJ1wPVwidF4HC5fPP1vWGBM1k3VOie0Hy6\n\t79KpatP1AwZtQrp9RS7OkexnFaOy5A7JC4MGNklOdjHBxjKAcVh7uawrEH+8SqGpqGfSsKrtT\n\tJUvqbkKePoN1EqfJpQbAlbqbWRZAal3A9DzTQkAx56PvQ/48EHGXIuNPrcrxsyIObQx97YtW1\n\tHtGzeDkslI9e+kTyPaWaT2gTw4XqpOPt2qExsRzyFfTqK1BpuoI5EpZdKbM3hChwPHX6prPGI\n\tYqXhDCIj2S9D/CIeavbXBfiISLIoMl92S+3eW8QgurP5g2ifzcNuA4ZG+HxfjnXTZ+GCkGlIE\n\tWzZADPLnN3a8jXGpXLsdBRD59H85wGJA5S6WRaZcr9qyjBQI8sDnN60xQtE+tbVgGCB0E31/D\n\tDIK8o7Makq2l9TQMhQ/WWZKsFQYeMtLYRqAbis22KuC2Li+3e27gaNiuuhNxkAe8pP4ru27Ai\n\thdzRYAayupMXa22V1bAtgOVt2tw28D3xnmxmzc0vv5HjU19PLq7jSkkbANUWuLRA/wYQHhI1d\n\tpds/H/c0fgHX1jDMF0UG2mbtTLVONU5cYbQ3QRw/otYmVgg14d3VBVIlJpAJO/3duVe8jHcbU\n\t0/ZFIvDnbEWD6BJWpuRs4HVqjiIKg==",
        "Cc": "Mark Kettenis <kettenis@openbsd.org>, u-boot@lists.denx.de,\n\tHeinrich Schuchardt <xypron.glpk@gmx.de>",
        "Subject": "[U-Boot] [PATCH v2 1/4] efi_loader: rename __efi_hello_world_*",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.18",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<http://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>"
    },
    "content": "In scripts/Makefile.lib we build section including helloworld.efi.\nThis allows to load the EFI binary with command 'bootefi hello'.\n\nscripts/Makefile.lib contains explicit references to strings\ncontaining helloworld and hello_world. This makes it impossible\nto generalize the coding to accomodate additional built in\nEFI binaries.\n\nLet us rename the variables __efi_hello_world_* to\n__efi_helloworld_*.\n\nSigned-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\n---\nv2\n\tno change\n---\n cmd/bootefi.c                  | 4 ++--\n include/asm-generic/sections.h | 4 ++--\n scripts/Makefile.lib           | 8 ++++----\n 3 files changed, 8 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/cmd/bootefi.c b/cmd/bootefi.c\nindex a3768158a2..c5bfab1147 100644\n--- a/cmd/bootefi.c\n+++ b/cmd/bootefi.c\n@@ -298,14 +298,14 @@ static int do_bootefi(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])\n \t\treturn CMD_RET_USAGE;\n #ifdef CONFIG_CMD_BOOTEFI_HELLO\n \tif (!strcmp(argv[1], \"hello\")) {\n-\t\tulong size = __efi_hello_world_end - __efi_hello_world_begin;\n+\t\tulong size = __efi_helloworld_end - __efi_helloworld_begin;\n \n \t\tsaddr = env_get(\"loadaddr\");\n \t\tif (saddr)\n \t\t\taddr = simple_strtoul(saddr, NULL, 16);\n \t\telse\n \t\t\taddr = CONFIG_SYS_LOAD_ADDR;\n-\t\tmemcpy((char *)addr, __efi_hello_world_begin, size);\n+\t\tmemcpy((char *)addr, __efi_helloworld_begin, size);\n \t} else\n #endif\n \t{\ndiff --git a/include/asm-generic/sections.h b/include/asm-generic/sections.h\nindex daf021b647..b6535705a5 100644\n--- a/include/asm-generic/sections.h\n+++ b/include/asm-generic/sections.h\n@@ -22,8 +22,8 @@ extern char __kprobes_text_start[], __kprobes_text_end[];\n extern char __entry_text_start[], __entry_text_end[];\n extern char __initdata_begin[], __initdata_end[];\n extern char __start_rodata[], __end_rodata[];\n-extern char __efi_hello_world_begin[];\n-extern char __efi_hello_world_end[];\n+extern char __efi_helloworld_begin[];\n+extern char __efi_helloworld_end[];\n \n /* Start and end of .ctors section - used for constructor calls. */\n extern char __ctors_start[], __ctors_end[];\ndiff --git a/scripts/Makefile.lib b/scripts/Makefile.lib\nindex 7f97e8ebf3..164c234b4c 100644\n--- a/scripts/Makefile.lib\n+++ b/scripts/Makefile.lib\n@@ -350,11 +350,11 @@ cmd_S_efi=\t\t\t\t\t\t\\\n (\t\t\t\t\t\t\t\\\n \techo '.section .rodata.efi.init,\"a\"';\t\t\\\n \techo '.balign 16';\t\t\t\t\\\n-\techo '.global __efi_hello_world_begin';\t\t\\\n-\techo '__efi_hello_world_begin:';\t\t\\\n+\techo '.global __efi_helloworld_begin';\t\t\\\n+\techo '__efi_helloworld_begin:';\t\t\\\n \techo '.incbin \"$<\" ';\t\t\t\t\\\n-\techo '__efi_hello_world_end:';\t\t\t\\\n-\techo '.global __efi_hello_world_end';\t\t\\\n+\techo '__efi_helloworld_end:';\t\t\t\\\n+\techo '.global __efi_helloworld_end';\t\t\\\n \techo '.balign 16';\t\t\t\t\\\n ) > $@\n \n",
    "prefixes": [
        "U-Boot",
        "v2",
        "1/4"
    ]
}