get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 817972,
    "url": "http://patchwork.ozlabs.org/api/patches/817972/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170924195716.3433-10-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": "<20170924195716.3433-10-xypron.glpk@gmx.de>",
    "list_archive_url": null,
    "date": "2017-09-24T19:57:08",
    "name": "[U-Boot,09/17] efi_net: return EFI_UNSUPPORTED where appropriate",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "cad5592182840001f64f50ed154635836850a671",
    "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/20170924195716.3433-10-xypron.glpk@gmx.de/mbox/",
    "series": [
        {
            "id": 4841,
            "url": "http://patchwork.ozlabs.org/api/series/4841/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=4841",
            "date": "2017-09-24T19:57:03",
            "name": "efi_loader: Simple Network Protocol",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/4841/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/817972/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/817972/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 3y0dPY390Lz9t3R\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 25 Sep 2017 06:00:49 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 1AF63C220F1; Sun, 24 Sep 2017 20:00:01 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 4656EC220D2;\n\tSun, 24 Sep 2017 19:58:39 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 7CC0EC22124; Sun, 24 Sep 2017 19:58:14 +0000 (UTC)",
            "from mout.gmx.net (mout.gmx.net [212.227.17.21])\n\tby lists.denx.de (Postfix) with ESMTPS id 2B6CFC220B8\n\tfor <u-boot@lists.denx.de>; Sun, 24 Sep 2017 19:58:11 +0000 (UTC)",
            "from workstation4.fritz.box ([84.118.154.110]) by mail.gmx.com\n\t(mrgmx102 [212.227.17.174]) with ESMTPSA (Nemesis) id\n\t0Lkzph-1dOWN701dF-00anVz; Sun, 24 Sep 2017 21:57:32 +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": "Sun, 24 Sep 2017 21:57:08 +0200",
        "Message-Id": "<20170924195716.3433-10-xypron.glpk@gmx.de>",
        "X-Mailer": "git-send-email 2.14.1",
        "In-Reply-To": "<20170924195716.3433-1-xypron.glpk@gmx.de>",
        "References": "<20170924195716.3433-1-xypron.glpk@gmx.de>",
        "X-Provags-ID": "V03:K0:mt4xsWa235tyBhsCKcM9diALmePEyoXTCTcNYE7pEplbgfr40Xb\n\tCxDXRLz0jfmVU2Vxk6jjYfUg2nRQS1R39XCOID2y50MbFqw4Ptvx2Wja1vc2CSacPjBn4rf\n\tziiW3uLsXnW+DB7Kad66XwtPeDhFVcQc3VhTSXfGu3sOkr0u4lmuUTuR7bTsteuCUsNmPdT\n\tu9wyVbuFPA8w9iuTggKYw==",
        "X-UI-Out-Filterresults": "notjunk:1; V01:K0:8dLKjVGDETI=:x9CjnfQ5QVtDxU+iWNnbSq\n\tuEvqvnPbSnmgZqo3nIm2v5Ap9xqClR05x1FMivLKHHwxa925Z4uLG4VPC+VBG8u6nEfRIUnxk\n\tQcBXgvrUtL5CEnAUeUxddI7D69bEmAmvkm4y3xsK8sNUnaH/Hjm4FWipSh88brNIA0QYj7XZf\n\ttmW2NX7VAO3hrZVnzlLaOlzgrgDt/xTFq6x1jmj3GX3FuHEsTf1qZGsYrR/HWs0T8aRGijMQn\n\tC8MIQo+eA8XR12v4NVqqhsFXVp7nmfEpVvOy/FzBTwuRTAVXwZIOH8z2CtbrhkyXtqyDDv6dJ\n\tcwks+a9bXJ1NS197anN7W0YUD95PfzX9Ok3k0sJq8JXQCT9PXEKvFu6rfxKS64WJpPLK/PbAw\n\tnrChFfvgWcwhz9A8XmRZLXiwoCbXAoJX/00mR+I69QvajNrUFKd12rbanfIufTCbrwZxcSn8i\n\t3jS6oIIy2WmIFQBs95/OQ4EJJBCIj3McUdWmsd6TXgeQFl2pPG0VBvat1zq5levEcICDGVUr+\n\txKAz9Cjwv04mbVWeVThBhHGsH5ZA6ezyJankElGIvRG3VtPCi3DG3ZUdGK2JA23AG6xoWVl9y\n\tkdmkBrsCIENA+RmG3F8hmZJ9jSJbOw6QKZ3kmgmTTK1YTGy1Pe1BAjhT+v5OBp360coQykS8+\n\trvKs16Dd4JSwWomyn1/zjokVUvqATeGm32pm2pmwpUVU0jym7TRG6eGv2yrD5cp3Ar4PGrHcB\n\th+uIfjkCHafFN88pF+cX2CabVjR5Ka4dQ/QH+rRl03g/vJ3Rv76L4SkETc9QfImE/SHKdcSKS\n\t/gtj2pIrkIkNr2nTe7mkUJVmA2xVA==",
        "Cc": "Heinrich Schuchardt <xypron.glpk@gmx.de>, u-boot@lists.denx.de",
        "Subject": "[U-Boot] [PATCH 09/17] efi_net: return EFI_UNSUPPORTED where\n\tappropriate",
        "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": "U-Boot does not implement all functions of the simple network\nprotocol. The unimplemented functions return either of\nEFI_SUCCESS and EFI_INVALID_PARAMETER.\n\nThe UEFI spec foresees to return EFI_UNSUPPORTED in these cases.\n\nSigned-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\n---\n lib/efi_loader/efi_net.c | 10 ++++------\n 1 file changed, 4 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/lib/efi_loader/efi_net.c b/lib/efi_loader/efi_net.c\nindex 9def34cf93..569bf367a8 100644\n--- a/lib/efi_loader/efi_net.c\n+++ b/lib/efi_loader/efi_net.c\n@@ -78,9 +78,7 @@ static efi_status_t EFIAPI efi_net_receive_filters(\n \tEFI_ENTRY(\"%p, %x, %x, %x, %lx, %p\", this, enable, disable,\n \t\t  reset_mcast_filter, mcast_filter_count, mcast_filter);\n \n-\t/* XXX Do we care? */\n-\n-\treturn EFI_EXIT(EFI_SUCCESS);\n+\treturn EFI_EXIT(EFI_UNSUPPORTED);\n }\n \n static efi_status_t EFIAPI efi_net_station_address(\n@@ -89,7 +87,7 @@ static efi_status_t EFIAPI efi_net_station_address(\n {\n \tEFI_ENTRY(\"%p, %x, %p\", this, reset, new_mac);\n \n-\treturn EFI_EXIT(EFI_INVALID_PARAMETER);\n+\treturn EFI_EXIT(EFI_UNSUPPORTED);\n }\n \n static efi_status_t EFIAPI efi_net_statistics(struct efi_simple_network *this,\n@@ -98,7 +96,7 @@ static efi_status_t EFIAPI efi_net_statistics(struct efi_simple_network *this,\n {\n \tEFI_ENTRY(\"%p, %x, %p, %p\", this, reset, stat_size, stat_table);\n \n-\treturn EFI_EXIT(EFI_INVALID_PARAMETER);\n+\treturn EFI_EXIT(EFI_UNSUPPORTED);\n }\n \n static efi_status_t EFIAPI efi_net_mcastiptomac(struct efi_simple_network *this,\n@@ -118,7 +116,7 @@ static efi_status_t EFIAPI efi_net_nvdata(struct efi_simple_network *this,\n \tEFI_ENTRY(\"%p, %x, %lx, %lx, %p\", this, read_write, offset, buffer_size,\n \t\t  buffer);\n \n-\treturn EFI_EXIT(EFI_INVALID_PARAMETER);\n+\treturn EFI_EXIT(EFI_UNSUPPORTED);\n }\n \n static efi_status_t EFIAPI efi_net_get_status(struct efi_simple_network *this,\n",
    "prefixes": [
        "U-Boot",
        "09/17"
    ]
}