get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 807947,
    "url": "http://patchwork.ozlabs.org/api/patches/807947/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1504132162-25617-1-git-send-email-eric@nelint.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": "<1504132162-25617-1-git-send-email-eric@nelint.com>",
    "list_archive_url": null,
    "date": "2017-08-30T22:29:22",
    "name": "[U-Boot] imx: imx7d: remove CamelCase from ENET_xMHz macros",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "2f3663dd58a7330faf42f7535922e100aea6550a",
    "submitter": {
        "id": 67231,
        "url": "http://patchwork.ozlabs.org/api/people/67231/?format=api",
        "name": "Eric Nelson",
        "email": "eric@nelint.com"
    },
    "delegate": {
        "id": 1693,
        "url": "http://patchwork.ozlabs.org/api/users/1693/?format=api",
        "username": "sbabic",
        "first_name": "Stefano",
        "last_name": "Babic",
        "email": "sbabic@denx.de"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1504132162-25617-1-git-send-email-eric@nelint.com/mbox/",
    "series": [
        {
            "id": 708,
            "url": "http://patchwork.ozlabs.org/api/series/708/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=708",
            "date": "2017-08-30T22:29:22",
            "name": "[U-Boot] imx: imx7d: remove CamelCase from ENET_xMHz macros",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/708/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/807947/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/807947/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=\"key not found in DNS\" (0-bit key;\n\tsecure) header.d=nelint.com header.i=@nelint.com header.b=\"jBHfZsdX\";\n\tdkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xjKx65tQFz9s83\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 08:31:38 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 26E23C21C41; Wed, 30 Aug 2017 22:31:32 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id B616BC21C27;\n\tWed, 30 Aug 2017 22:31:29 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 127D4C21C27; Wed, 30 Aug 2017 22:31:28 +0000 (UTC)",
            "from mail-pf0-f177.google.com (mail-pf0-f177.google.com\n\t[209.85.192.177])\n\tby lists.denx.de (Postfix) with ESMTPS id 5A782C21C26\n\tfor <u-boot@lists.denx.de>; Wed, 30 Aug 2017 22:31:27 +0000 (UTC)",
            "by mail-pf0-f177.google.com with SMTP id r187so2341325pfr.3\n\tfor <u-boot@lists.denx.de>; Wed, 30 Aug 2017 15:31:27 -0700 (PDT)",
            "from localhost.localdomain\n\t([2600:8800:1300:1c00:a894:22d2:29ef:3774])\n\tby smtp.gmail.com with ESMTPSA id\n\td11sm9674943pgf.21.2017.08.30.15.31.24\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 30 Aug 2017 15:31:25 -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_H2,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no\n\tversion=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nelint.com; s=google;\n\th=from:to:cc:subject:date:message-id;\n\tbh=CkNDh3jz4OROUlUNLA2IAyxQB1NVfmt8r5nCt6riS1Y=;\n\tb=jBHfZsdX18kZmAUH2wTs+zgA+FcGMS1lr8Xbwlr0q8Xdwg14Up1VNfaXdgdrYrR5e1\n\t4rI7vjQft4kof9q3sE+SLc49lruVGoZUILeDyfBCayQbWeqUN0v3mo2RMo6Umo/aeIxl\n\tPYc7xYBWU6gA/vllg643qTgHDPNK3+YRvZkSI=",
        "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=CkNDh3jz4OROUlUNLA2IAyxQB1NVfmt8r5nCt6riS1Y=;\n\tb=n0ECCqwx9z8NTramNGsaPvb2AE20o3Vv8fcrd7idR+1/OISXNUU/XrLx7juqtSLzbL\n\t7p2nydjmjlti/El7zhSrIec5SbV8RvVAAy66AyUGiRvkR907MsNkHNl9yijVOMooAHrC\n\tyYWDffVUjhyPvZi8mvwwhCHsZc/8jl6Y/YO75FaoEfdfMorApO5zYGdLHFC/Wyw+lyNR\n\t/38CWXAJqWz8gwRFQmSfaM7cKayr3/joUUw8m4p5JO+gL7xhdfiuAQZX+jNerfx44W/C\n\tpWXqZwuTmO+0fKd/WFdcyjH2Mw+il3cBCXszJKysXRhLIDO+daCI7VDOYTKWv5TTmXOD\n\tI0cw==",
        "X-Gm-Message-State": "AHYfb5gYXQamZ/GKlNuGlIHQd1+jYIaLfbMln8OIJP0/mGhc55txIbbc\n\t++dCPyzz/OeNqA4PeSo=",
        "X-Received": "by 10.98.139.7 with SMTP id j7mr105848pfe.191.1504132285701;\n\tWed, 30 Aug 2017 15:31:25 -0700 (PDT)",
        "From": "Eric Nelson <eric@nelint.com>",
        "To": "u-boot@lists.denx.de",
        "Date": "Wed, 30 Aug 2017 15:29:22 -0700",
        "Message-Id": "<1504132162-25617-1-git-send-email-eric@nelint.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "Cc": "stefan.agner@toradex.com, adrian.alonso@nxp.com, vanessa.maegima@nxp.com,\n\tfabio.estevam@nxp.com",
        "Subject": "[U-Boot] [PATCH] imx: imx7d: remove CamelCase from ENET_xMHz macros",
        "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": "Update these macros to use all upper-case to avoid checkpatch\nwarnings:\n\n\tENET_25MHz,\n\tENET_50MHz,\n\tENET_125MHz,\n\nSigned-off-by: Eric Nelson <eric@nelint.com>\n---\n arch/arm/include/asm/arch-mx7/clock.h     | 6 +++---\n arch/arm/mach-imx/mx7/clock.c             | 2 +-\n board/freescale/mx7dsabresd/mx7dsabresd.c | 2 +-\n board/technexion/pico-imx7d/pico-imx7d.c  | 2 +-\n board/toradex/colibri_imx7/colibri_imx7.c | 2 +-\n 5 files changed, 7 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/arch/arm/include/asm/arch-mx7/clock.h b/arch/arm/include/asm/arch-mx7/clock.h\nindex 688d236..3b115ad 100644\n--- a/arch/arm/include/asm/arch-mx7/clock.h\n+++ b/arch/arm/include/asm/arch-mx7/clock.h\n@@ -318,9 +318,9 @@ struct clk_root_map {\n };\n \n enum enet_freq {\n-\tENET_25MHz,\n-\tENET_50MHz,\n-\tENET_125MHz,\n+\tENET_25MHZ,\n+\tENET_50MHZ,\n+\tENET_125MHZ,\n };\n \n u32 get_root_clk(enum clk_root_index clock_id);\ndiff --git a/arch/arm/mach-imx/mx7/clock.c b/arch/arm/mach-imx/mx7/clock.c\nindex 2cfde46..423d697 100644\n--- a/arch/arm/mach-imx/mx7/clock.c\n+++ b/arch/arm/mach-imx/mx7/clock.c\n@@ -970,7 +970,7 @@ int set_clk_enet(enum enet_freq type)\n \t\tenet1_ref = ENET1_REF_CLK_ROOT_FROM_PLL_ENET_MAIN_125M_CLK;\n \t\tenet2_ref = ENET2_REF_CLK_ROOT_FROM_PLL_ENET_MAIN_125M_CLK;\n \t\tbreak;\n-\tcase ENET_50MHz:\n+\tcase ENET_50MHZ:\n \t\tenet1_ref = ENET1_REF_CLK_ROOT_FROM_PLL_ENET_MAIN_50M_CLK;\n \t\tenet2_ref = ENET2_REF_CLK_ROOT_FROM_PLL_ENET_MAIN_50M_CLK;\n \t\tbreak;\ndiff --git a/board/freescale/mx7dsabresd/mx7dsabresd.c b/board/freescale/mx7dsabresd/mx7dsabresd.c\nindex a681ece..5819b18 100644\n--- a/board/freescale/mx7dsabresd/mx7dsabresd.c\n+++ b/board/freescale/mx7dsabresd/mx7dsabresd.c\n@@ -260,7 +260,7 @@ static int setup_fec(void)\n \t\t(IOMUXC_GPR_GPR1_GPR_ENET1_TX_CLK_SEL_MASK |\n \t\t IOMUXC_GPR_GPR1_GPR_ENET1_CLK_DIR_MASK), 0);\n \n-\treturn set_clk_enet(ENET_125MHz);\n+\treturn set_clk_enet(ENET_125MHZ);\n }\n \n \ndiff --git a/board/technexion/pico-imx7d/pico-imx7d.c b/board/technexion/pico-imx7d/pico-imx7d.c\nindex b4c9be7..67bab51 100644\n--- a/board/technexion/pico-imx7d/pico-imx7d.c\n+++ b/board/technexion/pico-imx7d/pico-imx7d.c\n@@ -182,7 +182,7 @@ static int setup_fec(void)\n \t\t\t(IOMUXC_GPR_GPR1_GPR_ENET1_TX_CLK_SEL_MASK |\n \t\t\tIOMUXC_GPR_GPR1_GPR_ENET1_CLK_DIR_MASK), 0);\n \n-\treturn set_clk_enet(ENET_125MHz);\n+\treturn set_clk_enet(ENET_125MHZ);\n }\n \n int board_phy_config(struct phy_device *phydev)\ndiff --git a/board/toradex/colibri_imx7/colibri_imx7.c b/board/toradex/colibri_imx7/colibri_imx7.c\nindex 5cb14b4..13b2b57 100644\n--- a/board/toradex/colibri_imx7/colibri_imx7.c\n+++ b/board/toradex/colibri_imx7/colibri_imx7.c\n@@ -280,7 +280,7 @@ static int setup_fec(void)\n \t\t\tIOMUXC_GPR_GPR1_GPR_ENET1_TX_CLK_SEL_MASK);\n #endif\n \n-\treturn set_clk_enet(ENET_50MHz);\n+\treturn set_clk_enet(ENET_50MHZ);\n }\n \n int board_phy_config(struct phy_device *phydev)\n",
    "prefixes": [
        "U-Boot"
    ]
}