get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 809097,
    "url": "http://patchwork.ozlabs.org/api/patches/809097/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1504366955-761-1-git-send-email-bmeng.cn@gmail.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": "<1504366955-761-1-git-send-email-bmeng.cn@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-02T15:42:35",
    "name": "[U-Boot] part: mac: Suppress the error message after reading ddb",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "f53a4f0d7a839e16b205a848ae62e82561ba0ead",
    "submitter": {
        "id": 64981,
        "url": "http://patchwork.ozlabs.org/api/people/64981/?format=api",
        "name": "Bin Meng",
        "email": "bmeng.cn@gmail.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/1504366955-761-1-git-send-email-bmeng.cn@gmail.com/mbox/",
    "series": [
        {
            "id": 1160,
            "url": "http://patchwork.ozlabs.org/api/series/1160/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=1160",
            "date": "2017-09-02T15:42:35",
            "name": "[U-Boot] part: mac: Suppress the error message after reading ddb",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1160/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/809097/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809097/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=\"WFv5qeVJ\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xl0ct0BLJz9sQl\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 01:38:21 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 9B0CDC21F09; Sat,  2 Sep 2017 15:38:15 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id C66BEC21C5C;\n\tSat,  2 Sep 2017 15:38:13 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 3D156C21C5C; Sat,  2 Sep 2017 15:38:12 +0000 (UTC)",
            "from mail-io0-f196.google.com (mail-io0-f196.google.com\n\t[209.85.223.196])\n\tby lists.denx.de (Postfix) with ESMTPS id B14ABC21C59\n\tfor <u-boot@lists.denx.de>; Sat,  2 Sep 2017 15:38:11 +0000 (UTC)",
            "by mail-io0-f196.google.com with SMTP id q64so448876iod.5\n\tfor <u-boot@lists.denx.de>; Sat, 02 Sep 2017 08:38:11 -0700 (PDT)",
            "from ala-d2121-lx1.wrs.com (unknown-156-139.windriver.com.\n\t[147.11.156.139]) by smtp.gmail.com with ESMTPSA id\n\tg133sm1304331ioa.87.2017.09.02.08.38.08\n\t(version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tSat, 02 Sep 2017 08:38:09 -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_H2,\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=gmail.com; s=20161025;\n\th=from:to:subject:date:message-id;\n\tbh=jRwJhq/O/MkjCKkgw0Nivq8hRjRgLtlizo+zF7yQ/Dc=;\n\tb=WFv5qeVJJX2fM7XjQLzDMl5WXV9oXdql7ctkTMIi/LI1O5DUzjNTTBZBztKjbzpe7K\n\tKsh89Wc3njE2+QoBQaBMV2eSnX2CdOaZ0tv5KzfC7HbqLfeHtK+nHu2mdlAmFP6fy3QL\n\t0pfc9cYncX9E4uxfuFwPpwi2OY34+BCpdgmxWIkCXb5tPi2U1IJJQ0gAIkXx3QQ+Pjzi\n\tgP5DWoQ7XzYsOYedYgYuJd1RUm5zYQf0EmssQN9x0CGxTZfkICFfJX/S/fzr3XtcdbfH\n\tp4FFMBRKw0foxA6IATx59nuYpR/Pbq16ZoHEvdHJmFo76A279I4zb9gCkDK7YPeRZyn1\n\tzuzw==",
        "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:subject:date:message-id;\n\tbh=jRwJhq/O/MkjCKkgw0Nivq8hRjRgLtlizo+zF7yQ/Dc=;\n\tb=QwSMljXnamayXhSgkU9q3uBgc8vjzHmgSv3o8Ux43JHtz6DV2cwh8LvpHgjiYVFkh1\n\twaTXcNfgmomGhbJjVNe0jf1A+zUplgVbg9qFCt9a2SUzekGuVhYvAFg3CzON922DfRa+\n\t3U7I5Tj37/scjFCN2EaUDOYsDnsqwYT2+MywOT+JSTcCajxEKtduf9DCbhNIChoT0n7H\n\tYjsX1IhNFSV5o4VC149L5m8+N2xImdanX8W7l8exjQvtRju2OfjszSgUX6E9EKcSmw2b\n\tZYVTGDOvJh5v+HAEC0GvDb/+WlxSfgtjGxoaZhc1hKYLs8mQsed1SMWhC1R/+/iXmgMN\n\tmPYg==",
        "X-Gm-Message-State": "AHPjjUjmVB2ZKKBRbq1JCbJqKQ2psOzxAMsyNPuQ2oe6WfrrdcVcHkL9\n\tPjdiGURpl0bpww==",
        "X-Google-Smtp-Source": "ADKCNb7cUhChFjHT6rcoUGmkzQbM/weXAbId21ZCrZgoqH8VZY0YYSrm+VWiNCDr3SA4OcPXIhWn1Q==",
        "X-Received": "by 10.107.3.153 with SMTP id e25mr4366791ioi.292.1504366690501; \n\tSat, 02 Sep 2017 08:38:10 -0700 (PDT)",
        "From": "Bin Meng <bmeng.cn@gmail.com>",
        "To": "Tom Rini <trini@konsulko.com>, U-Boot Mailing List <u-boot@lists.denx.de>",
        "Date": "Sat,  2 Sep 2017 08:42:35 -0700",
        "Message-Id": "<1504366955-761-1-git-send-email-bmeng.cn@gmail.com>",
        "X-Mailer": "git-send-email 1.7.9.5",
        "Subject": "[U-Boot] [PATCH] part: mac: Suppress the error message after\n\treading ddb",
        "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": "Change to use 'debug' to output the error message if it fails to\nread the driver descriptor block.\n\nSigned-off-by: Bin Meng <bmeng.cn@gmail.com>\n---\n\n disk/part_mac.c | 6 +-----\n 1 file changed, 1 insertion(+), 5 deletions(-)",
    "diff": "diff --git a/disk/part_mac.c b/disk/part_mac.c\nindex b6c082e..507efdd 100644\n--- a/disk/part_mac.c\n+++ b/disk/part_mac.c\n@@ -153,15 +153,11 @@ static int part_mac_read_ddb(struct blk_desc *dev_desc,\n \t\t\t     mac_driver_desc_t *ddb_p)\n {\n \tif (blk_dread(dev_desc, 0, 1, (ulong *)ddb_p) != 1) {\n-\t\tprintf (\"** Can't read Driver Desriptor Block **\\n\");\n+\t\tdebug(\"** Can't read Driver Descriptor Block **\\n\");\n \t\treturn (-1);\n \t}\n \n \tif (ddb_p->signature != MAC_DRIVER_MAGIC) {\n-#if 0\n-\t\tprintf (\"** Bad Signature: expected 0x%04x, got 0x%04x\\n\",\n-\t\t\tMAC_DRIVER_MAGIC, ddb_p->signature);\n-#endif\n \t\treturn (-1);\n \t}\n \treturn (0);\n",
    "prefixes": [
        "U-Boot"
    ]
}