get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 813646,
    "url": "http://patchwork.ozlabs.org/api/patches/813646/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170913220546.19560-19-robdclark@gmail.com/",
    "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": "<20170913220546.19560-19-robdclark@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-13T22:05:41",
    "name": "[U-Boot,v3,18/21] efi_loader: print GUIDs",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "ff126222ca12f727d890555e2d938633864af6f6",
    "submitter": {
        "id": 18760,
        "url": "http://patchwork.ozlabs.org/api/people/18760/?format=api",
        "name": "Rob Clark",
        "email": "robdclark@gmail.com"
    },
    "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/20170913220546.19560-19-robdclark@gmail.com/mbox/",
    "series": [
        {
            "id": 2990,
            "url": "http://patchwork.ozlabs.org/api/series/2990/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=2990",
            "date": "2017-09-13T22:05:23",
            "name": "efi_loader: enough UEFI for standard distro boot",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/2990/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/813646/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/813646/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>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"CDNZTxMt\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xswsw0YZRz9sNw\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 14 Sep 2017 08:13:40 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid DFA06C225FD; Wed, 13 Sep 2017 22:11:55 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id ACEF1C22649;\n\tWed, 13 Sep 2017 22:09:21 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid EB488C22611; Wed, 13 Sep 2017 22:06:52 +0000 (UTC)",
            "from mail-qk0-f196.google.com (mail-qk0-f196.google.com\n\t[209.85.220.196])\n\tby lists.denx.de (Postfix) with ESMTPS id 70474C22518\n\tfor <u-boot@lists.denx.de>; Wed, 13 Sep 2017 22:06:48 +0000 (UTC)",
            "by mail-qk0-f196.google.com with SMTP id r66so943103qke.4\n\tfor <u-boot@lists.denx.de>; Wed, 13 Sep 2017 15:06:48 -0700 (PDT)",
            "from localhost ([2601:184:4780:aac0:25f8:dd96:a084:785a])\n\tby smtp.gmail.com with ESMTPSA id\n\te126sm9851950qkd.86.2017.09.13.15.06.45\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tWed, 13 Sep 2017 15:06:46 -0700 (PDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-0.0 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=JxCT757wgQICSsbBlPdYYntd3CmqgUV/Om6Fv6OmC04=;\n\tb=CDNZTxMtJ4LhtX5BQ2l1Avr0bGbBboNtLs4VjolP/OjHt4r4WMia0WwygmPCZKDfD+\n\t6iGbJptIM6PQQYMSALpE/abUTvB1/SackDOBkD3hryrGND9qvULFamE3RvxamRHclyia\n\tY/u2VFB2Bb5bOzh41MLvMBX+GfEGcl//A7WhWA0184zt9S2DFzumBf/hETg25rcJewnu\n\tt6LdactgCb/2T6VMUXwIamEamr9JqyTt82+dbex5fJq0Ubmldj+2ZEKuzriQUMEcf/LC\n\tFqkwyQcgfR55fdUlymuu88TyiMUfwlL6RhbxyIdb8OU1LwETrZ5scvTkPO+9IUyid+jE\n\tchOw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=JxCT757wgQICSsbBlPdYYntd3CmqgUV/Om6Fv6OmC04=;\n\tb=K2cITJSAqCFhg13UWJ3eQBXwPxU29tBa6M3g+lTS0a2uQoiJ8EZPP4xlU33lIH5FzA\n\t7iRhUi4ShoNi6GJnbFJPD8dvFWqO0LTLPZx/Bi/9LTB1Osxr0L9yaUVfIgF/jGPo4KNp\n\t4S6g3Hn6EKreTg1fwgl9gKbT0vrQFLPqvot7PbrLYPogtiP3c+i2cW9GsWvsJFUEjkxv\n\tjvJwX2hgSaiIHlEx6IwDKduRr2G1S4uJa4+ChpjAXvCSyv4HMYZGDxI5IyogZMNrAmnR\n\tx0C6Ks/fvaU9nq1HVL1ehbSFqglND9nbUnOs6hAsDC842DCcbDtN/+7Znghjp0VAoH6N\n\tZELg==",
        "X-Gm-Message-State": "AHPjjUi0wcNewludLKFdl5hLDJ1aBEGCqRrRSb0ZJBuW+TzICkp+BEvW\n\t2ADTkMrQagBJDdvEywo=",
        "X-Google-Smtp-Source": "AOwi7QCnDge1PPln2ob9A+okboO7Pvaw/jZ/QbTzIst+auJckUdnoKnhqZ1biK2oXJDbqXb5+d+zKg==",
        "X-Received": "by 10.55.110.3 with SMTP id j3mr25600830qkc.195.1505340407149;\n\tWed, 13 Sep 2017 15:06:47 -0700 (PDT)",
        "From": "Rob Clark <robdclark@gmail.com>",
        "To": "U-Boot Mailing List <u-boot@lists.denx.de>",
        "Date": "Wed, 13 Sep 2017 18:05:41 -0400",
        "Message-Id": "<20170913220546.19560-19-robdclark@gmail.com>",
        "X-Mailer": "git-send-email 2.13.5",
        "In-Reply-To": "<20170913220546.19560-1-robdclark@gmail.com>",
        "References": "<20170913220546.19560-1-robdclark@gmail.com>",
        "Cc": "Heinrich Schuchardt <xypron.glpk@gmx.de>",
        "Subject": "[U-Boot] [PATCH v3 18/21] efi_loader: print GUIDs",
        "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": "Utilize printf GUID support to print GUIDs.\n\nSigned-off-by: Rob Clark <robdclark@gmail.com>\n---\n lib/efi_loader/efi_boottime.c | 22 +++++++++++-----------\n lib/efi_loader/efi_variable.c |  6 +++---\n 2 files changed, 14 insertions(+), 14 deletions(-)",
    "diff": "diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c\nindex cea242cd49..b6f32c98d9 100644\n--- a/lib/efi_loader/efi_boottime.c\n+++ b/lib/efi_loader/efi_boottime.c\n@@ -514,7 +514,7 @@ static efi_status_t EFIAPI efi_install_protocol_interface_ext(void **handle,\n \t\t\tefi_guid_t *protocol, int protocol_interface_type,\n \t\t\tvoid *protocol_interface)\n {\n-\tEFI_ENTRY(\"%p, %p, %d, %p\", handle, protocol, protocol_interface_type,\n+\tEFI_ENTRY(\"%p, %pUl, %d, %p\", handle, protocol, protocol_interface_type,\n \t\t  protocol_interface);\n \n \treturn EFI_EXIT(efi_install_protocol_interface(handle, protocol,\n@@ -526,7 +526,7 @@ static efi_status_t EFIAPI efi_reinstall_protocol_interface(void *handle,\n \t\t\tefi_guid_t *protocol, void *old_interface,\n \t\t\tvoid *new_interface)\n {\n-\tEFI_ENTRY(\"%p, %p, %p, %p\", handle, protocol, old_interface,\n+\tEFI_ENTRY(\"%p, %pUl, %p, %p\", handle, protocol, old_interface,\n \t\t  new_interface);\n \treturn EFI_EXIT(EFI_ACCESS_DENIED);\n }\n@@ -575,7 +575,7 @@ out:\n static efi_status_t EFIAPI efi_uninstall_protocol_interface_ext(void *handle,\n \t\t\tefi_guid_t *protocol, void *protocol_interface)\n {\n-\tEFI_ENTRY(\"%p, %p, %p\", handle, protocol, protocol_interface);\n+\tEFI_ENTRY(\"%p, %pUl, %p\", handle, protocol, protocol_interface);\n \n \treturn EFI_EXIT(efi_uninstall_protocol_interface(handle, protocol,\n \t\t\t\t\t\t\t protocol_interface));\n@@ -585,7 +585,7 @@ static efi_status_t EFIAPI efi_register_protocol_notify(efi_guid_t *protocol,\n \t\t\t\t\t\t\tstruct efi_event *event,\n \t\t\t\t\t\t\tvoid **registration)\n {\n-\tEFI_ENTRY(\"%p, %p, %p\", protocol, event, registration);\n+\tEFI_ENTRY(\"%pUl, %p, %p\", protocol, event, registration);\n \treturn EFI_EXIT(EFI_OUT_OF_RESOURCES);\n }\n \n@@ -655,7 +655,7 @@ static efi_status_t EFIAPI efi_locate_handle_ext(\n \t\t\tefi_guid_t *protocol, void *search_key,\n \t\t\tunsigned long *buffer_size, efi_handle_t *buffer)\n {\n-\tEFI_ENTRY(\"%d, %p, %p, %p, %p\", search_type, protocol, search_key,\n+\tEFI_ENTRY(\"%d, %pUl, %p, %p, %p\", search_type, protocol, search_key,\n \t\t  buffer_size, buffer);\n \n \treturn EFI_EXIT(efi_locate_handle(search_type, protocol, search_key,\n@@ -723,7 +723,7 @@ efi_status_t efi_install_configuration_table(const efi_guid_t *guid, void *table\n static efi_status_t EFIAPI efi_install_configuration_table_ext(efi_guid_t *guid,\n \t\t\t\t\t\t\t       void *table)\n {\n-\tEFI_ENTRY(\"%p, %p\", guid, table);\n+\tEFI_ENTRY(\"%pUl, %p\", guid, table);\n \treturn EFI_EXIT(efi_install_configuration_table(guid, table));\n }\n \n@@ -1012,7 +1012,7 @@ static efi_status_t EFIAPI efi_close_protocol(void *handle,\n \t\t\t\t\t      void *agent_handle,\n \t\t\t\t\t      void *controller_handle)\n {\n-\tEFI_ENTRY(\"%p, %p, %p, %p\", handle, protocol, agent_handle,\n+\tEFI_ENTRY(\"%p, %pUl, %p, %p\", handle, protocol, agent_handle,\n \t\t  controller_handle);\n \treturn EFI_EXIT(EFI_NOT_FOUND);\n }\n@@ -1022,7 +1022,7 @@ static efi_status_t EFIAPI efi_open_protocol_information(efi_handle_t handle,\n \t\t\tstruct efi_open_protocol_info_entry **entry_buffer,\n \t\t\tunsigned long *entry_count)\n {\n-\tEFI_ENTRY(\"%p, %p, %p, %p\", handle, protocol, entry_buffer,\n+\tEFI_ENTRY(\"%p, %pUl, %p, %p\", handle, protocol, entry_buffer,\n \t\t  entry_count);\n \treturn EFI_EXIT(EFI_NOT_FOUND);\n }\n@@ -1088,7 +1088,7 @@ static efi_status_t EFIAPI efi_locate_handle_buffer(\n \tefi_status_t r;\n \tunsigned long buffer_size = 0;\n \n-\tEFI_ENTRY(\"%d, %p, %p, %p, %p\", search_type, protocol, search_key,\n+\tEFI_ENTRY(\"%d, %pUl, %p, %p, %p\", search_type, protocol, search_key,\n \t\t  no_handles, buffer);\n \n \tif (!no_handles || !buffer) {\n@@ -1120,7 +1120,7 @@ static efi_status_t EFIAPI efi_locate_protocol(efi_guid_t *protocol,\n \tstruct list_head *lhandle;\n \tint i;\n \n-\tEFI_ENTRY(\"%p, %p, %p\", protocol, registration, protocol_interface);\n+\tEFI_ENTRY(\"%pUl, %p, %p\", protocol, registration, protocol_interface);\n \n \tif (!protocol || !protocol_interface)\n \t\treturn EFI_EXIT(EFI_INVALID_PARAMETER);\n@@ -1228,7 +1228,7 @@ static efi_status_t EFIAPI efi_open_protocol(\n \tint i;\n \tefi_status_t r = EFI_INVALID_PARAMETER;\n \n-\tEFI_ENTRY(\"%p, %p, %p, %p, %p, 0x%x\", handle, protocol,\n+\tEFI_ENTRY(\"%p, %pUl, %p, %p, %p, 0x%x\", handle, protocol,\n \t\t  protocol_interface, agent_handle, controller_handle,\n \t\t  attributes);\n \ndiff --git a/lib/efi_loader/efi_variable.c b/lib/efi_loader/efi_variable.c\nindex 5569b3d3f0..6c177da3a6 100644\n--- a/lib/efi_loader/efi_variable.c\n+++ b/lib/efi_loader/efi_variable.c\n@@ -187,7 +187,7 @@ efi_status_t EFIAPI efi_get_variable(s16 *variable_name,\n \tconst char *val, *s;\n \tu32 attr;\n \n-\tEFI_ENTRY(\"%p %p %p %p %p\", variable_name, vendor, attributes,\n+\tEFI_ENTRY(\"\\\"%ls\\\" %pUl %p %p %p\", variable_name, vendor, attributes,\n \t\t  data_size, data);\n \n \tif (!variable_name || !vendor || !data_size)\n@@ -255,7 +255,7 @@ efi_status_t EFIAPI efi_get_next_variable(\n \t\tunsigned long *variable_name_size,\n \t\ts16 *variable_name, efi_guid_t *vendor)\n {\n-\tEFI_ENTRY(\"%p %p %p\", variable_name_size, variable_name, vendor);\n+\tEFI_ENTRY(\"%p \\\"%ls\\\" %pUl\", variable_name_size, variable_name, vendor);\n \n \treturn EFI_EXIT(EFI_DEVICE_ERROR);\n }\n@@ -270,7 +270,7 @@ efi_status_t EFIAPI efi_set_variable(s16 *variable_name,\n \tchar *val, *s;\n \tu32 attr;\n \n-\tEFI_ENTRY(\"%p %p %x %lu %p\", variable_name, vendor, attributes,\n+\tEFI_ENTRY(\"\\\"%ls\\\" %pUl %x %lu %p\", variable_name, vendor, attributes,\n \t\t  data_size, data);\n \n \tif (!variable_name || !vendor)\n",
    "prefixes": [
        "U-Boot",
        "v3",
        "18/21"
    ]
}