get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 812894,
    "url": "http://patchwork.ozlabs.org/api/patches/812894/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1505227539-17560-8-git-send-email-jjhiblot@ti.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": "<1505227539-17560-8-git-send-email-jjhiblot@ti.com>",
    "list_archive_url": null,
    "date": "2017-09-12T14:45:36",
    "name": "[U-Boot,v5,07/10] lib: allow building lzo and gunzip for the SPL",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "fb89199dbb5c437676952b867d32201b5af19007",
    "submitter": {
        "id": 70508,
        "url": "http://patchwork.ozlabs.org/api/people/70508/?format=api",
        "name": "Jean-Jacques Hiblot",
        "email": "jjhiblot@ti.com"
    },
    "delegate": {
        "id": 3651,
        "url": "http://patchwork.ozlabs.org/api/users/3651/?format=api",
        "username": "trini",
        "first_name": "Tom",
        "last_name": "Rini",
        "email": "trini@ti.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1505227539-17560-8-git-send-email-jjhiblot@ti.com/mbox/",
    "series": [
        {
            "id": 2721,
            "url": "http://patchwork.ozlabs.org/api/series/2721/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=2721",
            "date": "2017-09-12T14:45:29",
            "name": "spl: dm: Make it possible for the SPL to pick its own DTB from a FIT",
            "version": 5,
            "mbox": "http://patchwork.ozlabs.org/series/2721/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/812894/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/812894/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\" (1024-bit key;\n\tunprotected) header.d=ti.com header.i=@ti.com header.b=\"axCnnRgN\";\n\tdkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xs74k0gFBz9s7g\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 13 Sep 2017 00:50:14 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid C24E9C2224C; Tue, 12 Sep 2017 14:48:24 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id D1680C22132;\n\tTue, 12 Sep 2017 14:46:19 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid C709DC220EA; Tue, 12 Sep 2017 14:45:54 +0000 (UTC)",
            "from lelnx193.ext.ti.com (lelnx193.ext.ti.com [198.47.27.77])\n\tby lists.denx.de (Postfix) with ESMTPS id 4BA40C220EA\n\tfor <u-boot@lists.denx.de>; Tue, 12 Sep 2017 14:45:50 +0000 (UTC)",
            "from dlelxv90.itg.ti.com ([172.17.2.17])\n\tby lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id v8CEjlLn025611; \n\tTue, 12 Sep 2017 09:45:47 -0500",
            "from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25])\n\tby dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8CEjlwE012536; \n\tTue, 12 Sep 2017 09:45:47 -0500",
            "from DFLE103.ent.ti.com (10.64.6.24) by DFLE104.ent.ti.com\n\t(10.64.6.25) with Microsoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34;\n\tTue, 12 Sep 2017 09:45:47 -0500",
            "from dflp33.itg.ti.com (10.64.6.16) by DFLE103.ent.ti.com\n\t(10.64.6.24) with Microsoft SMTP Server (version=TLS1_0,\n\tcipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend\n\tTransport; Tue, 12 Sep 2017 09:45:47 -0500",
            "from localhost (ileax41-snat.itg.ti.com [10.172.224.153])\n\tby dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8CEjke1023830;\n\tTue, 12 Sep 2017 09:45:47 -0500"
        ],
        "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=RCVD_IN_DNSWL_NONE,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com;\n\ts=ti-com-17Q1; t=1505227547;\n\tbh=KqyTcsDEEXcBZtY1i7wywbQqGman+1r309XMg78YPsc=;\n\th=From:To:CC:Subject:Date:In-Reply-To:References;\n\tb=axCnnRgNIVEccA+ICX/XR9XcE9iDNyn48TBj9ic5r+I84t/uPS442+lVzqW+Pq6/5\n\tz/d/nklUisfNf7fIl6GOTFROrRmN6HGf5AXK7r5rm8xsizWuvWq8eBX+kMDw4COYHj\n\tiVQCqIGkaW7g9jgBabizsPJdJbUKrdke0j+/JRDo=",
        "From": "Jean-Jacques Hiblot <jjhiblot@ti.com>",
        "To": "<trini@konsulko.com>, <lokeshvutla@ti.com>, <sjg@chromium.org>,\n\t<fcooper@ti.com>",
        "Date": "Tue, 12 Sep 2017 16:45:36 +0200",
        "Message-ID": "<1505227539-17560-8-git-send-email-jjhiblot@ti.com>",
        "X-Mailer": "git-send-email 1.9.1",
        "In-Reply-To": "<1505227539-17560-1-git-send-email-jjhiblot@ti.com>",
        "References": "<1505227539-17560-1-git-send-email-jjhiblot@ti.com>",
        "MIME-Version": "1.0",
        "X-EXCLAIMER-MD-CONFIG": "e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180",
        "Cc": "u-boot@lists.denx.de",
        "Subject": "[U-Boot] [PATCH v5 07/10] lib: allow building lzo and gunzip for\n\tthe SPL",
        "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>",
        "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": "Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>\nReviewed-by: Tom Rini <trini@konsulko.com>\nReviewed-by: Simon Glass <sjg@chromium.org>\n---\n lib/Kconfig  | 17 ++++++++++++++++-\n lib/Makefile |  6 +++---\n 2 files changed, 19 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/lib/Kconfig b/lib/Kconfig\nindex fe337ac..7617006 100644\n--- a/lib/Kconfig\n+++ b/lib/Kconfig\n@@ -175,7 +175,22 @@ config LZMA\n config LZO\n \tbool \"Enable LZO decompression support\"\n \thelp\n-\t  This enables support for LZO compression algorithm.r\n+\t  This enables support for LZO compression algorithm.\n+\n+config SPL_LZO\n+\tbool \"Enable LZO decompression support in SPL\"\n+\thelp\n+\t  This enables support for LZO compression algorithm in the SPL.\n+\n+config SPL_GZIP\n+\tbool \"Enable GZIP decompression support in SPL\"\n+\tselect SPL_ZLIB\n+\thelp\n+\t  This enables support for GZIP compression algorithm in the SPL.\n+\n+config SPL_ZLIB\n+\tbool\n+\n endmenu\n \n config ERRNO_STR\ndiff --git a/lib/Makefile b/lib/Makefile\nindex 2eef1eb..767983c 100644\n--- a/lib/Makefile\n+++ b/lib/Makefile\n@@ -4,14 +4,15 @@\n #\n # SPDX-License-Identifier:\tGPL-2.0+\n #\n+obj-$(CONFIG_$(SPL_)ZLIB) += zlib/\n+obj-$(CONFIG_$(SPL_)GZIP) += gunzip.o\n+obj-$(CONFIG_$(SPL_)LZO) += lzo/\n \n ifndef CONFIG_SPL_BUILD\n \n obj-$(CONFIG_EFI) += efi/\n obj-$(CONFIG_EFI_LOADER) += efi_loader/\n obj-$(CONFIG_LZMA) += lzma/\n-obj-$(CONFIG_LZO) += lzo/\n-obj-$(CONFIG_ZLIB) += zlib/\n obj-$(CONFIG_BZIP2) += bzip2/\n obj-$(CONFIG_TIZEN) += tizen/\n obj-$(CONFIG_FIT) += libfdt/\n@@ -26,7 +27,6 @@ obj-y += crc16.o\n obj-$(CONFIG_ERRNO_STR) += errno_str.o\n obj-$(CONFIG_FIT) += fdtdec_common.o\n obj-$(CONFIG_TEST_FDTDEC) += fdtdec_test.o\n-obj-$(CONFIG_GZIP) += gunzip.o\n obj-$(CONFIG_GZIP_COMPRESSED) += gzip.o\n obj-$(CONFIG_GENERATE_SMBIOS_TABLE) += smbios.o\n obj-y += initcall.o\n",
    "prefixes": [
        "U-Boot",
        "v5",
        "07/10"
    ]
}