get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 814504,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/814504/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170916132610.7939-1-robdclark@gmail.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20170916132610.7939-1-robdclark@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-16T13:26:07",
    "name": "[U-Boot] efi_loader: fix TEST_PROTOCOL case in OpenProtocol()",
    "commit_ref": null,
    "pull_url": null,
    "state": "deferred",
    "archived": false,
    "hash": "bf2caf3c8c341c609a0cc08ef1664867e2d210a4",
    "submitter": {
        "id": 18760,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/18760/?format=api",
        "name": "Rob Clark",
        "email": "robdclark@gmail.com"
    },
    "delegate": {
        "id": 3651,
        "url": "http://patchwork.ozlabs.org/api/1.2/users/3651/?format=api",
        "username": "trini",
        "first_name": "Tom",
        "last_name": "Rini",
        "email": "trini@ti.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170916132610.7939-1-robdclark@gmail.com/mbox/",
    "series": [
        {
            "id": 3440,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/3440/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=3440",
            "date": "2017-09-16T13:26:07",
            "name": "[U-Boot] efi_loader: fix TEST_PROTOCOL case in OpenProtocol()",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/3440/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/814504/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/814504/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=\"WLF3Ythj\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xvY2D138Tz9sPk\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 16 Sep 2017 23:26:26 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid D9FEDC21E71; Sat, 16 Sep 2017 13:26:19 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 7040EC21C58;\n\tSat, 16 Sep 2017 13:26:17 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 67B16C21C58; Sat, 16 Sep 2017 13:26:15 +0000 (UTC)",
            "from mail-qt0-f194.google.com (mail-qt0-f194.google.com\n\t[209.85.216.194])\n\tby lists.denx.de (Postfix) with ESMTPS id C7584C21C26\n\tfor <u-boot@lists.denx.de>; Sat, 16 Sep 2017 13:26:14 +0000 (UTC)",
            "by mail-qt0-f194.google.com with SMTP id f24so3106255qte.5\n\tfor <u-boot@lists.denx.de>; Sat, 16 Sep 2017 06:26:14 -0700 (PDT)",
            "from localhost ([2601:184:4780:aac0:25f8:dd96:a084:785a])\n\tby smtp.gmail.com with ESMTPSA id\n\tf13sm2076872qtj.57.2017.09.16.06.26.12\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tSat, 16 Sep 2017 06:26:12 -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;\n\tbh=FFMJFNvo1/ThrOm8K+DjScUICY2zfLts5fb9y/NtSHY=;\n\tb=WLF3YthjCJPvefkQjfU3XDnI90JboK1M/v7213ooAHyrHPYDjpnx88YXdZzMykXuIc\n\tcQPMXZXGTQIaTvuMhBK3nN3Zq1Pu03ODKj1Rncjur2Gi5GaDGnNa5c3xCcAJyQbbpfYP\n\tOM9V3eWQnJQUKQ8Yhj84dq9+3w353yJmpxk6E3wq9YRTNLC22dzEeeR9yYJAcgSTJGGa\n\t1qY/mJrf8Czc28pk4yWHiDYYLXBuRxZGXc/jS42+ep0NvQsna40ctZ/+fErVl0dNUZWY\n\t9puRM2JHMn7y0HSKG96C875uEOkG2flKtiXKrNqZ0cdXQanpiM//GKbIX5oEIanF8mzr\n\tSJrw==",
        "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;\n\tbh=FFMJFNvo1/ThrOm8K+DjScUICY2zfLts5fb9y/NtSHY=;\n\tb=UaNUfOe0kzo7E5pAfPW7U8Dt0sq8KtUDoYEVnx3If0iNXS+1J5NgF0nMXdaP8RJLo7\n\tD4QNyvZ1DPXjK1176DO0ulfmKPXaIRfQWJgegvNuScxhdBMAoog3f5EA+CIzUV5t+XsG\n\tOd9usDrAvtPBRIz2NtGLPRYcWfTuHmHAohinuZ00wo4OnICxqIUXjL1AV6MvBoSIyoHO\n\tzRYQBKiTLaP6DU5papEsxORyg5fjgBOLYwTEmxlWODyNcVR9fLyGfsa8vYMA7m3Puya0\n\tg1ajojFgV7pPXX67CddjSMoOSjYtf9j+kp2ZOsaVFNMItOX5rl2oQLOcp/8zof27Yn9f\n\tiZQA==",
        "X-Gm-Message-State": "AHPjjUgWErtie6lrheWX6luC64xgS1Gqmhkmye/1xfr555HDpopRDH1l\n\tFqKK6AKXPpzK/ZohAck=",
        "X-Google-Smtp-Source": "AOwi7QBNqv37feVaJazJBeIl9AQB5naDyiqatH70Oa9gn7r3fxPhIWRugi0ZuCTjd4NH80eZgVeXuA==",
        "X-Received": "by 10.237.63.180 with SMTP id s49mr9750311qth.43.1505568373372; \n\tSat, 16 Sep 2017 06:26:13 -0700 (PDT)",
        "From": "Rob Clark <robdclark@gmail.com>",
        "To": "U-Boot Mailing List <u-boot@lists.denx.de>",
        "Date": "Sat, 16 Sep 2017 09:26:07 -0400",
        "Message-Id": "<20170916132610.7939-1-robdclark@gmail.com>",
        "X-Mailer": "git-send-email 2.13.5",
        "Cc": "Heinrich Schuchardt <xypron.glpk@gmx.de>",
        "Subject": "[U-Boot] [PATCH] efi_loader: fix TEST_PROTOCOL case in\n\tOpenProtocol()",
        "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 the TEST_PROTOCOL case, protocol_interface might be NULL, and at any\nrate should not be touched.  So skip efi_protocol_open() in this case.\n\nFixes: \"efi_loader: open_info in OpenProtocol\"\nSigned-off-by: Rob Clark <robdclark@gmail.com>\n---\n lib/efi_loader/efi_boottime.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c\nindex 72a0c932a6..f1f0e021b9 100644\n--- a/lib/efi_loader/efi_boottime.c\n+++ b/lib/efi_loader/efi_boottime.c\n@@ -1723,7 +1723,7 @@ efi_status_t EFIAPI efi_open_protocol(\n \t}\n \n \tr = efi_search_protocol(handle, protocol, &handler);\n-\tif (r != EFI_SUCCESS)\n+\tif (r != EFI_SUCCESS || attributes == EFI_OPEN_PROTOCOL_TEST_PROTOCOL)\n \t\tgoto out;\n \n \tr = efi_protocol_open(handler, protocol_interface, agent_handle,\n",
    "prefixes": [
        "U-Boot"
    ]
}