get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 814497,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/814497/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170916114431.23412-1-lokeshvutla@ti.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": "<20170916114431.23412-1-lokeshvutla@ti.com>",
    "list_archive_url": null,
    "date": "2017-09-16T11:44:31",
    "name": "[U-Boot] xyz-modem: Fix timeout loop waiting with WATCHDOG",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "9ec91c8e0121f5393b87370acb5daea63f6b344d",
    "submitter": {
        "id": 14145,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/14145/?format=api",
        "name": "Lokesh Vutla",
        "email": "lokeshvutla@ti.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/20170916114431.23412-1-lokeshvutla@ti.com/mbox/",
    "series": [
        {
            "id": 3434,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/3434/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=3434",
            "date": "2017-09-16T11:44:31",
            "name": "[U-Boot] xyz-modem: Fix timeout loop waiting with WATCHDOG",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/3434/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/814497/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/814497/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=\"j3NxCHLH\";\n\tdkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xvVsz4xZKz9sPk\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 16 Sep 2017 21:49:10 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 1306CC21E7F; Sat, 16 Sep 2017 11:49:03 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 50602C21C2F;\n\tSat, 16 Sep 2017 11:49:01 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 4C3EFC21C2F; Sat, 16 Sep 2017 11:49:00 +0000 (UTC)",
            "from lelnx193.ext.ti.com (lelnx193.ext.ti.com [198.47.27.77])\n\tby lists.denx.de (Postfix) with ESMTPS id 854A4C21C26\n\tfor <u-boot@lists.denx.de>; Sat, 16 Sep 2017 11:48:59 +0000 (UTC)",
            "from dflxv15.itg.ti.com ([128.247.5.124])\n\tby lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id v8GBmvw7014976; \n\tSat, 16 Sep 2017 06:48:57 -0500",
            "from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31])\n\tby dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8GBmvUD012860;\n\tSat, 16 Sep 2017 06:48:57 -0500",
            "from DLEE113.ent.ti.com (157.170.170.24) by DLEE101.ent.ti.com\n\t(157.170.170.31) with Microsoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34;\n\tSat, 16 Sep 2017 06:48:57 -0500",
            "from dlep32.itg.ti.com (157.170.170.100) by DLEE113.ent.ti.com\n\t(157.170.170.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; Sat, 16 Sep 2017 06:48:56 -0500",
            "from a0131933.india.ti.com (ileax41-snat.itg.ti.com\n\t[10.172.224.153])\n\tby dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8GBmsDN011259;\n\tSat, 16 Sep 2017 06:48:55 -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=1505562537;\n\tbh=NAsfPtDCOxpb7SLrglXfDZixXOAqhgDRuFykHZECmkU=;\n\th=From:To:CC:Subject:Date;\n\tb=j3NxCHLHMptvL5fR83C1uqZhmjjcD6/wbcnPutetnRLm/xJ0w5O93glmtSpbJTaml\n\tkv/KQyemQoX4WHGeSFmJjhl6eM7pupE0z5U/LZ8y9Kf5W7aSBu2mGdqbyVu9et4wni\n\t9R9+qZ0uDnF4axyXjS8nFH4yJrKm65GlFAtRyN9s=",
        "From": "Lokesh Vutla <lokeshvutla@ti.com>",
        "To": "Tom Rini <trini@konsulko.com>, <u-boot@lists.denx.de>",
        "Date": "Sat, 16 Sep 2017 17:14:31 +0530",
        "Message-ID": "<20170916114431.23412-1-lokeshvutla@ti.com>",
        "X-Mailer": "git-send-email 2.14.1",
        "MIME-Version": "1.0",
        "X-EXCLAIMER-MD-CONFIG": "e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180",
        "Cc": "Tero Kristo <t-kristo@ti.com>",
        "Subject": "[U-Boot] [PATCH] xyz-modem: Fix timeout loop waiting with WATCHDOG",
        "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": "Commit 2c77c0d6524eb (\"xyz-modem: Change getc timeout loop waiting\")\nfixes the loop delay when using a hw watchdog. But assuming that Watchdog\nkicking is taken care of by getc(). This is not true in case of DM_SERIAL.\nSo, kick the watchdog before loop waiting, instead of relying on other\nfunctions.\n\nSigned-off-by: Lokesh Vutla <lokeshvutla@ti.com>\n---\n- This fixes UART boot on AM335x-evm.\n\n common/xyzModem.c | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/common/xyzModem.c b/common/xyzModem.c\nindex a0c5dfeece..8c4679473f 100644\n--- a/common/xyzModem.c\n+++ b/common/xyzModem.c\n@@ -26,6 +26,7 @@\n #include <xyzModem.h>\n #include <stdarg.h>\n #include <crc.h>\n+#include <watchdog.h>\n \n /* Assumption - run xyzModem protocol over the console port */\n \n@@ -64,6 +65,7 @@ CYGACC_COMM_IF_GETC_TIMEOUT (char chan, char *c)\n {\n \n   ulong now = get_timer(0);\n+  WATCHDOG_RESET();\n   while (!tstc ())\n     {\n       if (get_timer(now) > xyzModem_CHAR_TIMEOUT)\n",
    "prefixes": [
        "U-Boot"
    ]
}