get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 809833,
    "url": "http://patchwork.ozlabs.org/api/patches/809833/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1504555943-12893-4-git-send-email-pantelis.antoniou@konsulko.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": "<1504555943-12893-4-git-send-email-pantelis.antoniou@konsulko.com>",
    "list_archive_url": null,
    "date": "2017-09-04T20:12:12",
    "name": "[U-Boot,v3,03/14] fdt: Switch to using the verbose overlay application method",
    "commit_ref": "81ecc5d92badfcf1415a6052b5896a62271a94dc",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "23e4cffdb59f589cecea35d6504c918a51108a9e",
    "submitter": {
        "id": 64098,
        "url": "http://patchwork.ozlabs.org/api/people/64098/?format=api",
        "name": "Pantelis Antoniou",
        "email": "pantelis.antoniou@konsulko.com"
    },
    "delegate": {
        "id": 3184,
        "url": "http://patchwork.ozlabs.org/api/users/3184/?format=api",
        "username": "sjg",
        "first_name": "Simon",
        "last_name": "Glass",
        "email": "sjg@chromium.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1504555943-12893-4-git-send-email-pantelis.antoniou@konsulko.com/mbox/",
    "series": [
        {
            "id": 1453,
            "url": "http://patchwork.ozlabs.org/api/series/1453/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=1453",
            "date": "2017-09-04T20:12:09",
            "name": "uboot overlays, FIT image & unittest",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/1453/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/809833/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809833/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=konsulko.com header.i=@konsulko.com\n\theader.b=\"b/jjjZxy\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xmLmS3vfCz9t2R\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue,  5 Sep 2017 06:19:36 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 4FF31C21EF2; Mon,  4 Sep 2017 20:14:04 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 62F05C21F2F;\n\tMon,  4 Sep 2017 20:13:45 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid BDEA0C21F02; Mon,  4 Sep 2017 20:13:00 +0000 (UTC)",
            "from mail-wm0-f43.google.com (mail-wm0-f43.google.com\n\t[74.125.82.43])\n\tby lists.denx.de (Postfix) with ESMTPS id 7EB4EC21E1C\n\tfor <u-boot@lists.denx.de>; Mon,  4 Sep 2017 20:12:57 +0000 (UTC)",
            "by mail-wm0-f43.google.com with SMTP id f145so6735321wme.0\n\tfor <u-boot@lists.denx.de>; Mon, 04 Sep 2017 13:12:57 -0700 (PDT)",
            "from localhost.localdomain ([195.97.110.117])\n\tby smtp.gmail.com with ESMTPSA id\n\tu8sm3720435wrc.92.2017.09.04.13.12.55\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tMon, 04 Sep 2017 13:12:56 -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=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com;\n\ts=google; \n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=xuJa5Sq2fpqMLgHaUJ6pknQLU1ppyRmi5ADDCaVvSd4=;\n\tb=b/jjjZxyi47rq/tRQSV4ctqeO+dkhTsHb+VxRswh4XrJ9HM416LgrkyqLhkVClMiUZ\n\tQ0TkDTenXcYHRH0zvcwXVAnnXpifM89RH7f6vxO+f8TtcUYpkhljV7T5dUcFeiVz/Ju/\n\tnl+Eq4pfXhmdOWB8ax7g+Z3k/PcfQmMp9Pln8=",
        "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=xuJa5Sq2fpqMLgHaUJ6pknQLU1ppyRmi5ADDCaVvSd4=;\n\tb=uU5gkCed9VvpXZfNgIhct29bQkYF/eFK8BCbCHSq7aTaNZKOAfz6KCT2NWob4/FhgN\n\tqegRZx6T4GSLEhzbPF345T3sIuuqm5lfAtapJ8n53KX5WpSDNrzgaSo3RsO1rNWg5qy2\n\tsKHKvt+DkmLC+R1NWfl4ppkuHI/qrn2+AkrvFH61CgoDgFdqV8QhZtN4LwUd6jRjj84f\n\tADwAQ/mov5iIU/QM1RFV95ABDEnNcTZiCEIwJjBSZMyJVcZ4vlzZrqkeNYLXFOXI1Yi1\n\t2mqyLVwzcUJQBLjhRo5sLMhBLn6l3Sv+vfTD4gfym/pMHoTmX7weV117uhyVE/S/sVSD\n\txdMg==",
        "X-Gm-Message-State": "AHPjjUhkEkW2Rn0CjvRpYPwrYTK0Yr1j8Joh26/ER5+C8zGN7ghIXIyN\n\t5iTCucYrli2O6fm6who=",
        "X-Google-Smtp-Source": "ADKCNb4p/auuMCwXxJCYmtX4R0yT9Mg5uWztagqLJ+VZi5gQ7oUcBYNzxkunvrwIYkmeUkhXGxDc1g==",
        "X-Received": "by 10.28.92.136 with SMTP id q130mr867729wmb.104.1504555977239; \n\tMon, 04 Sep 2017 13:12:57 -0700 (PDT)",
        "From": "Pantelis Antoniou <pantelis.antoniou@konsulko.com>",
        "To": "Tom Rini <trini@konsulko.com>",
        "Date": "Mon,  4 Sep 2017 23:12:12 +0300",
        "Message-Id": "<1504555943-12893-4-git-send-email-pantelis.antoniou@konsulko.com>",
        "X-Mailer": "git-send-email 2.1.4",
        "In-Reply-To": "<1504555943-12893-1-git-send-email-pantelis.antoniou@konsulko.com>",
        "References": "<1504555943-12893-1-git-send-email-pantelis.antoniou@konsulko.com>",
        "Cc": "Marek Vasut <marex@denx.de>,\n\tPantelis Antoniou <pantelis.antoniou@konsulko.com>,\n\tTero Kristo <t-kristo@ti.com>, u-boot@lists.denx.de,\n\tMaxime Ripard <maxime.ripard@free-electrons.com>,\n\tStefan Roese <sr@denx.de>, Alan Ott <alan@signal11.us>",
        "Subject": "[U-Boot] [PATCH v3 03/14] fdt: Switch to using the verbose overlay\n\tapplication method",
        "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": "The verbose overlay application method prints out more helpful\nmessages, so switch to it.\n\nSigned-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>\n---\n cmd/fdt.c | 7 +++----\n 1 file changed, 3 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/cmd/fdt.c b/cmd/fdt.c\nindex 118613f..362a621 100644\n--- a/cmd/fdt.c\n+++ b/cmd/fdt.c\n@@ -669,11 +669,10 @@ static int do_fdt(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])\n \t\tif (!fdt_valid(&blob))\n \t\t\treturn CMD_RET_FAILURE;\n \n-\t\tret = fdt_overlay_apply(working_fdt, blob);\n-\t\tif (ret) {\n-\t\t\tprintf(\"fdt_overlay_apply(): %s\\n\", fdt_strerror(ret));\n+\t\t/* apply method prints messages on error */\n+\t\tret = fdt_overlay_apply_verbose(working_fdt, blob);\n+\t\tif (ret)\n \t\t\treturn CMD_RET_FAILURE;\n-\t\t}\n \t}\n #endif\n \t/* resize the fdt */\n",
    "prefixes": [
        "U-Boot",
        "v3",
        "03/14"
    ]
}