get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 808719,
    "url": "http://patchwork.ozlabs.org/api/patches/808719/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1504279437-11341-1-git-send-email-jteki@openedev.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": "<1504279437-11341-1-git-send-email-jteki@openedev.com>",
    "list_archive_url": null,
    "date": "2017-09-01T15:23:57",
    "name": "[U-Boot,v2] sunxi: Fix CONFIG_SUNXI_GMAC references",
    "commit_ref": "6ff005cf19363382fc867d7876a75fd8a386e894",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "e1e42c883e687051cd04b7fb9c46c6aa5573b0ba",
    "submitter": {
        "id": 20045,
        "url": "http://patchwork.ozlabs.org/api/people/20045/?format=api",
        "name": "Jagan Teki",
        "email": "jagannadh.teki@gmail.com"
    },
    "delegate": {
        "id": 17739,
        "url": "http://patchwork.ozlabs.org/api/users/17739/?format=api",
        "username": "jagan",
        "first_name": "Jagannadha Sutradharudu",
        "last_name": "Teki",
        "email": "jagannadh.teki@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1504279437-11341-1-git-send-email-jteki@openedev.com/mbox/",
    "series": [
        {
            "id": 1046,
            "url": "http://patchwork.ozlabs.org/api/series/1046/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=1046",
            "date": "2017-09-01T15:23:57",
            "name": "[U-Boot,v2] sunxi: Fix CONFIG_SUNXI_GMAC references",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/1046/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/808719/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/808719/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=\"q0+EpXjg\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xkNMS4bpsz9t1t\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat,  2 Sep 2017 01:24:35 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid D2703C21E0F; Fri,  1 Sep 2017 15:24:28 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 5FC7AC21E0F;\n\tFri,  1 Sep 2017 15:24:25 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid B239AC21E0F; Fri,  1 Sep 2017 15:24:24 +0000 (UTC)",
            "from mail-pf0-f196.google.com (mail-pf0-f196.google.com\n\t[209.85.192.196])\n\tby lists.denx.de (Postfix) with ESMTPS id 172F2C21DAC\n\tfor <u-boot@lists.denx.de>; Fri,  1 Sep 2017 15:24:24 +0000 (UTC)",
            "by mail-pf0-f196.google.com with SMTP id k3so303723pfc.3\n\tfor <u-boot@lists.denx.de>; Fri, 01 Sep 2017 08:24:24 -0700 (PDT)",
            "from localhost.localdomain ([115.97.191.18])\n\tby smtp.gmail.com with ESMTPSA id\n\td12sm755907pgn.53.2017.09.01.08.24.18\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 01 Sep 2017 08:24:20 -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:cc:subject:date:message-id;\n\tbh=NFPed9jRRBriUJw1aAyzwhjhO4tvbHF7ts2CvnBbctU=;\n\tb=q0+EpXjg0Lq1b2r6RiKTULepOSi3ZWUBlNTq6XmNu02FSo6TCr/bK4YZ7k1dGP2xby\n\tb4Wk+D023XpgtU3Rlqz3TOtddn7O+qVAQoU3+9wJdvEih1sSiQeXDwMbG0ExeioXVdle\n\tUgWC8SRj0fzR6VxUFYh4VNCq87i/oSmaDuVwejIprV010fJJKpPzhWUAwWmiTsVEPLiC\n\tjSfuyLGdVhVThf9bNRzwb6WaPBfIz6XJFvM/1CGtolj6ReA7WYQymbPk/4qF+NpDG3DT\n\t+GE4jiQHmgJn/chW34frzDnrcv1FcTy1pRkKUT430X4BYj+pjtfWNknYuLHgSwr0vqU5\n\tBBIA==",
        "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;\n\tbh=NFPed9jRRBriUJw1aAyzwhjhO4tvbHF7ts2CvnBbctU=;\n\tb=IqC6WLDZHOS3+MjpHaYfKN5THB5aNxv6udelji/IT5A8TEkvEVTpbLucNx9WT5rLFZ\n\tetpJGFqc1X9U4+b8u5M5SG0YK6aYzZHhjUBZv5wNxuVnRmioWlWry1+Uhi/KbJwA98Ty\n\tXQ9ZFKOEO3sK6KjsUlv8rTe01YTL7MB3nU9kv32+ZLco/j52Quvp8YAl7+KULxFNwPqR\n\tj52CdCTEyjOr7czhSBsdmAd+My+F51Q4ubk4fohqMoywQV20d08gsJtU/OALTedS2ez2\n\t+ssQaNsdKtEsxZYmq9JiELVJMU9ffxoqyF+gz6eVwWbtM98LmDksEJYQoAFBl0sYTOI0\n\tlx5g==",
        "X-Gm-Message-State": "AHPjjUgZzqgY01WHGwuUeFHLKmw2DIe8D7l7kE4qdyZh1Hv5bKPdPZZ6\n\tGx2JqgfAJiiGEg==",
        "X-Google-Smtp-Source": "ADKCNb6NqHGPEQDjuDZdKLKpp7/ohcWmKN7DUiF5qJ/BSCvL6izz7ySPbsU9n5qSp066znj4Km4mhw==",
        "X-Received": "by 10.99.182.71 with SMTP id v7mr2910753pgt.333.1504279462201;\n\tFri, 01 Sep 2017 08:24:22 -0700 (PDT)",
        "From": "Jagan Teki <jagannadh.teki@gmail.com>",
        "X-Google-Original-From": "Jagan Teki <jteki@openedev.com>",
        "To": "Maxime Ripard <maxime.ripard@free-electrons.com>",
        "Date": "Fri,  1 Sep 2017 20:53:57 +0530",
        "Message-Id": "<1504279437-11341-1-git-send-email-jteki@openedev.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "Cc": "u-boot@lists.denx.de, Mark Kettenis <kettenis@openbsd.org>,\n\tJagan Teki <jagan@openedev.com>, Lionel Koenig <lionel.koenig@gmail.com>",
        "Subject": "[U-Boot] [PATCH v2] sunxi: Fix CONFIG_SUNXI_GMAC references",
        "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": "From: Dave Prue <dave@prue.com>\n\nSUNXI_GMAC was still used to configure the code where as the\nsame has been renamed and moved to Kconfig in below commit\n\"sunxi: Move SUNXI_GMAC to Kconfig\"\n(sha1: 4d43d065db3262f9a9918ba72457bf36dfb8e0bb)\n\nSigned-off-by: Dave Prue <dave@prue.com>\nReviewed-by: Simon Glass <sjg@chromium.org>\nReviewed-by: Jagan Teki <jagan@openedev.com>\nReviewed-by: Mark Kettenis <kettenis@openbsd.org>\nTested-by: Mark Kettenis <kettenis@openbsd.org>\n[Tweek commit message, config_whitelist.txt, build-whitelist.sh]\nSigned-off-by: Jagan Teki <jagan@openedev.com>\n---\nChanges for v2:\n- Tweek the commit message\n- Remove SUNXI_GMAC from config_whitelist.txt\n- %s/SUNXI_GMAC/SUN7I_GMAC in build-whitelist.sh\n\n arch/arm/include/asm/arch-sunxi/sys_proto.h | 2 +-\n board/sunxi/Makefile                        | 2 +-\n include/configs/sunxi-common.h              | 2 +-\n scripts/build-whitelist.sh                  | 4 ++--\n scripts/config_whitelist.txt                | 1 -\n 5 files changed, 5 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/arch/arm/include/asm/arch-sunxi/sys_proto.h b/arch/arm/include/asm/arch-sunxi/sys_proto.h\nindex a373319..096510b 100644\n--- a/arch/arm/include/asm/arch-sunxi/sys_proto.h\n+++ b/arch/arm/include/asm/arch-sunxi/sys_proto.h\n@@ -24,7 +24,7 @@ void sdelay(unsigned long);\n void return_to_fel(uint32_t lr, uint32_t sp);\n \n /* Board / SoC level designware gmac init */\n-#if !defined CONFIG_SPL_BUILD && defined CONFIG_SUNXI_GMAC\n+#if !defined CONFIG_SPL_BUILD && defined CONFIG_SUN7I_GMAC\n void eth_init_board(void);\n #else\n static inline void eth_init_board(void) {}\ndiff --git a/board/sunxi/Makefile b/board/sunxi/Makefile\nindex f4411f0..526cb72 100644\n--- a/board/sunxi/Makefile\n+++ b/board/sunxi/Makefile\n@@ -9,7 +9,7 @@\n # SPDX-License-Identifier:\tGPL-2.0+\n #\n obj-y\t+= board.o\n-obj-$(CONFIG_SUNXI_GMAC)\t+= gmac.o\n+obj-$(CONFIG_SUN7I_GMAC)\t+= gmac.o\n ifndef CONFIG_SPL_BUILD\n obj-$(CONFIG_SUNXI_AHCI)\t+= ahci.o\n endif\ndiff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h\nindex 212862a..1373b1f 100644\n--- a/include/configs/sunxi-common.h\n+++ b/include/configs/sunxi-common.h\n@@ -294,7 +294,7 @@ extern int soft_i2c_gpio_scl;\n #define CONFIG_MII\t\t\t/* MII PHY management\t\t*/\n #endif\n \n-#ifdef CONFIG_SUNXI_GMAC\n+#ifdef CONFIG_SUN7I_GMAC\n #define CONFIG_PHY_ADDR\t\t1\n #define CONFIG_MII\t\t\t/* MII PHY management\t\t*/\n #define CONFIG_PHY_REALTEK\ndiff --git a/scripts/build-whitelist.sh b/scripts/build-whitelist.sh\nindex 7d8160d..6feb9b6 100755\n--- a/scripts/build-whitelist.sh\n+++ b/scripts/build-whitelist.sh\n@@ -13,10 +13,10 @@ export LC_ALL=C LC_COLLATE=C\n # There are two independent greps. The first pulls out the component parts\n # of CONFIG_SYS_EXTRA_OPTIONS. An example is:\n #\n-#\tSUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPB(8)\n+#\tSUN7I_GMAC,AHCI,SATAPWR=SUNXI_GPB(8)\n #\n # We want this to produce:\n-#\tCONFIG_SUNXI_GMAC\n+#\tCONFIG_SUN7I_GMAC\n #\tCONFIG_AHCI\n #\tCONFIG_SATAPWR\n #\ndiff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt\nindex d871095..4651bb5 100644\n--- a/scripts/config_whitelist.txt\n+++ b/scripts/config_whitelist.txt\n@@ -2307,7 +2307,6 @@ CONFIG_STV0991_HZ_CLOCK\n CONFIG_ST_SMI\n CONFIG_SUNXI_AHCI\n CONFIG_SUNXI_EMAC\n-CONFIG_SUNXI_GMAC\n CONFIG_SUNXI_GPIO\n CONFIG_SUNXI_MAX_FB_SIZE\n CONFIG_SUNXI_USB_PHYS\n",
    "prefixes": [
        "U-Boot",
        "v2"
    ]
}